Bring in changes so that PORTNAME is UNDEFINED by default, and error/halt

happens if it isn't changed

Disable READLINE by default
This commit is contained in:
Marc G. Fournier 1996-10-25 09:23:42 +00:00
parent 5d90a0037e
commit f69b84641a
2 changed files with 8 additions and 3 deletions

View File

@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.2 1996/08/20 04:10:35 scrappy Exp $ # $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.3 1996/10/25 09:23:42 scrappy Exp $
# #
# NOTES # NOTES
# objdir - location of the objects and generated files (eg. obj) # objdir - location of the objects and generated files (eg. obj)
@ -26,6 +26,11 @@ ETAGS = etags
XARGS = xargs XARGS = xargs
.DEFAULT all: .DEFAULT all:
@if test $(PORTNAME) = UNDEFINED; then \
echo You must set the PORTNAME value in Makefile.global before ;\
echo you can build Postgres. ;\
false ;\
fi
$(MAKE) -C backend $@ $(MAKE) -C backend $@
$(MAKE) -C libpq $@ $(MAKE) -C libpq $@
ifeq ($(USE_TCL), true) ifeq ($(USE_TCL), true)

View File

@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.19.2.10 1996/10/11 03:06:28 scrappy Exp $ # $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.19.2.11 1996/10/25 09:23:41 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
@ -60,7 +60,7 @@
# make sure that you have no whitespaces after the PORTNAME setting # make sure that you have no whitespaces after the PORTNAME setting
# or the makefiles can get confused # or the makefiles can get confused
# #
PORTNAME= BSD44_derived PORTNAME= UNDEFINED
# SRCDIR specifies where the source files are. # SRCDIR specifies where the source files are.
SRCDIR= /home/tools/postgres95-1.02/src SRCDIR= /home/tools/postgres95-1.02/src