提交 f3a58f26 编写于 作者: B Bruce Momjian

Makefile cleanup.

上级 df7a4355
......@@ -7,19 +7,20 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.1 1997/08/16 20:56:28 scrappy Exp $
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.2 1997/09/16 18:47:16 momjian Exp $
#
#-------------------------------------------------------------------------
#include ../Makefile.global
SRCDIR= ..
include $(SRCDIR)/Makefile.global
.DEFAULT all:
$(MAKE) -C libpq $@
ifeq ($(HAVE_Cplusplus), true)
$(MAKE) -C libpq++ $@
else
echo $(HAVE_Cplusplus): No C++
endif
ifeq ($(USE_TCL), true)
$(MAKE) -C libpgtcl $@
endif
......
......@@ -7,16 +7,16 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.13 1997/09/14 23:34:13 momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.14 1997/09/16 18:47:19 momjian Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ../..
include ../../Makefile.global
:nclude $(SRCDIR)/Makefile.global
INCLUDE_OPT= \
-I../../backend \
-I../../include \
-I$(SRCDIR)/backend \
-I$(SRCDIR)/include \
-I$(LIBPQDIR) \
-I$(TCL_INCDIR)
......
......@@ -7,13 +7,13 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.8 1997/04/04 10:42:43 scrappy Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.9 1997/09/16 18:47:23 momjian Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ..
include ../Makefile.global
SRCHEADERDIR = ../include
SRCDIR= ../..
include $(SRCDIR)/Makefile.global
SRCHEADERDIR = $(SRCDIR)/include
LIBPQHEADERDIR = $(SRCHEADERDIR)/libpq
LIBNAME= libpq++
......@@ -25,7 +25,7 @@ LIBNAME= libpq++
CXXFLAGS= $(CFLAGS) -Wno-error
INCLUDE_OPT= \
-I../backend \
-I$(SRCDIR)/backend \
-I$(SRCHEADERDIR) \
-I$(LIBPQDIR)
......
......@@ -2,8 +2,8 @@
# Makefile for example programs
#
SRCDIR= ../..
include ../../Makefile.global
SRCDIR= ../../..
include ../../../Makefile.global
LIBNAME= libpq++
......@@ -15,8 +15,8 @@ CXXFLAGS= $(CFLAGS) -Wno-error
INCLUDE_OPT= \
-I.. \
-I../../backend \
-I../../include \
-I../../../backend \
-I../../../include \
-I$(LIBPQDIR) \
-I$(HEADERDIR)
CXXFLAGS+= $(INCLUDE_OPT)
......
......@@ -4,12 +4,12 @@
# Makefile for doc directory to install man pages
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/man/Attic/Makefile,v 1.2 1997/01/08 07:32:58 scrappy Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/man/Attic/Makefile,v 1.3 1997/09/16 18:47:36 momjian Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ../..
include ../../Makefile.global
SRCDIR= ../../..
include ../../../Makefile.global
install:
-mkdir -p $(POSTMANDIR)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册