7
7
#
8
8
#
9
9
# IDENTIFICATION
10
- # $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.50 1996/11/02 09:49:57 bryanh Exp $
10
+ # $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.51 1996/11/03 06:54:10 scrappy Exp $
11
11
#
12
12
# NOTES
13
13
# This is seen by any Makefiles that include mk/postgres.mk. To
59
59
# to change it in Makefile.custom.
60
60
# make sure that you have no whitespaces after the PORTNAME setting
61
61
# or the makefiles can get confused
62
- PORTNAME= UNDEFINED
62
+ PORTNAME= BSD44_derived
63
63
64
64
# Ignore LINUX_ELF if you're not using Linux. But if you are, and you're
65
65
# compiling to a.out (which means you're using the dld dynamic loading
@@ -71,13 +71,13 @@ LINUX_ELF= 1
71
71
ifdef SRCDIR
72
72
MKDIR= $(SRCDIR)/mk
73
73
else
74
- SRCDIR= /usr/local/postgres95 /src
74
+ SRCDIR= /usr/local/pgsql /src
75
75
endif
76
76
77
77
# For convenience, POSTGRESDIR is where DATADIR, BINDIR, and LIBDIR
78
78
# and other target destinations are rooted. Of course, each of these is
79
79
# changable separately.
80
- POSTGRESDIR= /usr/local/postgres95
80
+ POSTGRESDIR= /usr/local/pgsql
81
81
82
82
# POSTGRESLOGIN is the login name of the user who gets special
83
83
# privileges within the database. By default it is "postgres", but
@@ -861,9 +861,13 @@ includedir= $(HEADERDIR)
861
861
#
862
862
# Flags for CC and LD. (depend on CDEBUG and PROFILE)
863
863
#
864
+ # PostgreSQL should *always* compile with -Wall -Werror enabled
865
+ CFLAGS+= -Wall -Werror
864
866
865
867
# Globally pass debugging/optimization/profiling flags based
866
868
# on the options selected above.
869
+
870
+
867
871
ifdef CDEBUG
868
872
CFLAGS+= $(CDEBUG)
869
873
LDFLAGS+= $(CDEBUG)
0 commit comments