aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global14
-rw-r--r--src/bin/psql/Makefile8
2 files changed, 11 insertions, 11 deletions
diff --git a/src/Makefile.global b/src/Makefile.global
index 6b52d5adb7a..95d7ce26e89 100644
--- a/src/Makefile.global
+++ b/src/Makefile.global
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.21 1996/08/19 13:50:41 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.22 1996/08/20 05:04:06 scrappy Exp $
#
# NOTES
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -59,7 +59,7 @@
# until after this file is processed!
# make sure that you have no whitespaces after the PORTNAME setting
# or the makefiles can get confused
-PORTNAME= svr4
+PORTNAME= BSD44_derived
# SRCDIR specifies where the source files are.
SRCDIR= /home/tools/postgres95-1.02/src
@@ -157,10 +157,12 @@ EUROPEAN_DATES = 1
USE_READLINE= true
# directories for the readline and history libraries.
-READLINE_INCDIR= /home/tools/include
-HISTORY_INCDIR= /home/tools/include -I/home/tools/include/readline
-READLINE_LIBDIR= /home/tools/lib
-HISTORY_LIBDIR= /home/tools/lib
+READLINE_INCDIR= -I/home/tools/include
+READLINE_LIBDIR= -L/home/tools/lib
+
+# use the following if your readline has a separate history lib
+#HISTORY_INCDIR= -I/home/tools/include -I/home/tools/include/readline
+#HISTORY_LIBDIR= -L/home/tools/lib
# If you do not plan to use Host based authentication,
# comment out the following line
diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile
index 567eb79202c..5d632e4f37d 100644
--- a/src/bin/psql/Makefile
+++ b/src/bin/psql/Makefile
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.4 1996/07/25 20:01:51 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.5 1996/08/20 05:04:13 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -22,7 +22,7 @@ include ../Makefile.global
#
ifeq ($(USE_READLINE), true)
- CFLAGS += -I$(READLINE_INCDIR) -I$(HISTORY_INCDIR)
+ CFLAGS += $(READLINE_INC) $(HISTORY_INC)
# if you are using an older readline that uses #include "readline.h" instead
# of #include <readline/readline.h>,
@@ -30,9 +30,7 @@ ifeq ($(USE_READLINE), true)
# CFLAGS += -DOLD_READLINE
LIBCURSES= -lcurses
- LD_ADD += -L$(READLINE_LIBDIR) -L$(HISTORY_LIBDIR) -lreadline -lhistory $(LIBCURSES)
-# use the following if your readline has no separate history lib
-# LD_ADD += -L$(READLINE_LIBDIR) -lreadline $(LIBCURSES)
+ LD_ADD += $(READLINE_LIB) $(HISTORY_LIB) $(LIBCURSES)
ifeq ($(PORTNAME), ultrix4)
LD_ADD += -ltermcap