#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Makefile,v 1.8 1996/10/19 06:33:52 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/Makefile,v 1.9 1996/10/21 06:56:55 bryanh Exp $
#
# NOTES
# objdir - location of the objects and generated files (eg. obj)
XARGS = xargs
.DEFAULT all:
+ @if test $(PORTNAME) = UNDEFINED; then \
+ echo You must set the PORTNAME value in Makefile.global before \
+ you can build Postgres. ;\
+ false ;\
+ fi
$(MAKE) -C backend $@
$(MAKE) -C libpq $@
ifeq ($(HAVE_Cplusplus), true)
ifneq ($(wildcard $(MKDIR)/../../doc), )
$(MAKE) -C ../doc $@
endif
- @-chown -R $(POSTGRESLOGIN) $(POSTGRESDIR) 2>/dev/null
@if test $@. = all. -o $@. = .; then \
echo All of Postgres95 is successfully made. Ready to install. ;\
fi
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.40 1996/10/19 06:33:55 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.41 1996/10/21 06:56:57 bryanh Exp $
#
# NOTES
# This is seen by any Makefiles that include mk/postgres.mk. To
# until after this file is processed!
# make sure that you have no whitespaces after the PORTNAME setting
# or the makefiles can get confused
-PORTNAME= BSD44_derived
+PORTNAME= UNDEFINED
# SRCDIR specifies where the source files are.
SRCDIR= /usr/local/postgres95/src
#
# NOTE also that databases with different NAMEDATALEN's cannot interoperate!
#
+# THERE ARE REDUNDANT DEFINITIONS OF THESE VALUES IN config.h.
+# Don't change anything here without changing it there too.
+
NAMEDATALEN = 32
# OIDNAMELEN should be set to NAMEDATALEN + sizeof(Oid)
OIDNAMELEN = 36
-CFLAGS+= -DNAMEDATALEN=$(NAMEDATALEN) -DOIDNAMELEN=$(OIDNAMELEN)
-
##############################################################################
#
# FEATURES