Commit 2a23c4e7 authored by Marc G. Fournier's avatar Marc G. Fournier

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
parent 0eac5b0e
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile,v 1.7 1996/10/07 23:53:47 scrappy Exp $ # $Header: /cvsroot/pgsql/src/Makefile,v 1.8 1996/10/19 06:33:52 scrappy Exp $
# #
# NOTES # NOTES
# objdir - location of the objects and generated files (eg. obj) # objdir - location of the objects and generated files (eg. obj)
...@@ -28,6 +28,9 @@ XARGS = xargs ...@@ -28,6 +28,9 @@ XARGS = xargs
.DEFAULT all: .DEFAULT all:
$(MAKE) -C backend $@ $(MAKE) -C backend $@
$(MAKE) -C libpq $@ $(MAKE) -C libpq $@
ifeq ($(HAVE_Cplusplus), true)
$(MAKE) -C libpq++ $@
endif
ifeq ($(USE_TCL), true) ifeq ($(USE_TCL), true)
$(MAKE) -C libpgtcl $@ $(MAKE) -C libpgtcl $@
endif endif
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.39 1996/10/13 13:46:20 momjian Exp $ # $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.40 1996/10/19 06:33:55 scrappy Exp $
# #
# NOTES # NOTES
# This is seen by any Makefiles that include mk/postgres.mk. To # This is seen by any Makefiles that include mk/postgres.mk. To
...@@ -130,6 +130,8 @@ CFLAGS+= -DNAMEDATALEN=$(NAMEDATALEN) -DOIDNAMELEN=$(OIDNAMELEN) ...@@ -130,6 +130,8 @@ CFLAGS+= -DNAMEDATALEN=$(NAMEDATALEN) -DOIDNAMELEN=$(OIDNAMELEN)
# To disable a feature, comment out the entire definition # To disable a feature, comment out the entire definition
# (that is, prepend '#', don't set it to "0" or "no"). # (that is, prepend '#', don't set it to "0" or "no").
HAVE_Cplusplus= false
# Comment out CDEBUG to turn off debugging and sanity-checking. # Comment out CDEBUG to turn off debugging and sanity-checking.
# #
# XXX on MIPS, use -g3 if you want to compile with -O # XXX on MIPS, use -g3 if you want to compile with -O
...@@ -152,7 +154,7 @@ ENFORCE_ALIGNMENT= true ...@@ -152,7 +154,7 @@ ENFORCE_ALIGNMENT= true
# and READLINE_LIBDIR to reflect the location of the readline and history # and READLINE_LIBDIR to reflect the location of the readline and history
# headers and libraries. # headers and libraries.
# #
USE_READLINE= true USE_READLINE= false
# directories for the readline and history libraries. # directories for the readline and history libraries.
READLINE_INC= -I/home/tools/include READLINE_INC= -I/home/tools/include
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment