Change default install directories to /usr/local/pgsql

Add CFLAGS+= -Wall -Werror (should only affect developers, not users)
This commit is contained in:
Marc G. Fournier 1996-11-03 06:54:10 +00:00
parent 6fac4602ae
commit 3cf53c1d8a
1 changed files with 8 additions and 4 deletions

View File

@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.50 1996/11/02 09:49:57 bryanh Exp $ # $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.51 1996/11/03 06:54:10 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
@ -59,7 +59,7 @@
# to change it in Makefile.custom. # to change it in Makefile.custom.
# 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= UNDEFINED PORTNAME= BSD44_derived
# Ignore LINUX_ELF if you're not using Linux. But if you are, and you're # Ignore LINUX_ELF if you're not using Linux. But if you are, and you're
# compiling to a.out (which means you're using the dld dynamic loading # compiling to a.out (which means you're using the dld dynamic loading
@ -71,13 +71,13 @@ LINUX_ELF= 1
ifdef SRCDIR ifdef SRCDIR
MKDIR= $(SRCDIR)/mk MKDIR= $(SRCDIR)/mk
else else
SRCDIR= /usr/local/postgres95/src SRCDIR= /usr/local/pgsql/src
endif endif
# For convenience, POSTGRESDIR is where DATADIR, BINDIR, and LIBDIR # For convenience, POSTGRESDIR is where DATADIR, BINDIR, and LIBDIR
# and other target destinations are rooted. Of course, each of these is # and other target destinations are rooted. Of course, each of these is
# changable separately. # changable separately.
POSTGRESDIR= /usr/local/postgres95 POSTGRESDIR= /usr/local/pgsql
# POSTGRESLOGIN is the login name of the user who gets special # POSTGRESLOGIN is the login name of the user who gets special
# privileges within the database. By default it is "postgres", but # privileges within the database. By default it is "postgres", but
@ -861,9 +861,13 @@ includedir= $(HEADERDIR)
# #
# Flags for CC and LD. (depend on CDEBUG and PROFILE) # Flags for CC and LD. (depend on CDEBUG and PROFILE)
# #
# PostgreSQL should *always* compile with -Wall -Werror enabled
CFLAGS+= -Wall -Werror
# Globally pass debugging/optimization/profiling flags based # Globally pass debugging/optimization/profiling flags based
# on the options selected above. # on the options selected above.
ifdef CDEBUG ifdef CDEBUG
CFLAGS+= $(CDEBUG) CFLAGS+= $(CDEBUG)
LDFLAGS+= $(CDEBUG) LDFLAGS+= $(CDEBUG)