Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2a23c4e

Browse files
committed
Not quite the cleanest way to do it, but add an option to Makefile.global
that allows one to compile libpq++ this should be set on a port-by-port basis
1 parent 0eac5b0 commit 2a23c4e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile,v 1.7 1996/10/07 23:53:47 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile,v 1.8 1996/10/19 06:33:52 scrappy Exp $
1111
#
1212
# NOTES
1313
# objdir - location of the objects and generated files (eg. obj)
@@ -28,6 +28,9 @@ XARGS = xargs
2828
.DEFAULT all:
2929
$(MAKE) -C backend $@
3030
$(MAKE) -C libpq $@
31+
ifeq ($(HAVE_Cplusplus), true)
32+
$(MAKE) -C libpq++ $@
33+
endif
3134
ifeq ($(USE_TCL), true)
3235
$(MAKE) -C libpgtcl $@
3336
endif

src/Makefile.global

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.39 1996/10/13 13:46:20 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.40 1996/10/19 06:33:55 scrappy Exp $
1111
#
1212
# NOTES
1313
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -130,6 +130,8 @@ CFLAGS+= -DNAMEDATALEN=$(NAMEDATALEN) -DOIDNAMELEN=$(OIDNAMELEN)
130130
# To disable a feature, comment out the entire definition
131131
# (that is, prepend '#', don't set it to "0" or "no").
132132

133+
HAVE_Cplusplus= false
134+
133135
# Comment out CDEBUG to turn off debugging and sanity-checking.
134136
#
135137
# XXX on MIPS, use -g3 if you want to compile with -O
@@ -152,7 +154,7 @@ ENFORCE_ALIGNMENT= true
152154
# and READLINE_LIBDIR to reflect the location of the readline and history
153155
# headers and libraries.
154156
#
155-
USE_READLINE= true
157+
USE_READLINE= false
156158

157159
# directories for the readline and history libraries.
158160
READLINE_INC= -I/home/tools/include

0 commit comments

Comments
 (0)