7
7
#
8
8
#
9
9
# IDENTIFICATION
10
- # $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.41 1996/10/21 06:56:57 bryanh Exp $
10
+ # $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.42 1996/10/23 07:33:04 scrappy Exp $
11
11
#
12
12
# NOTES
13
13
# This is seen by any Makefiles that include mk/postgres.mk. To
14
14
# override the default setting, create a Makefile.custom in this
15
15
# directory and put your defines there. (Makefile.custom is included
16
- # at the end of this file.)
16
+ # near the end of this file.)
17
17
#
18
18
# If you change any of these defines you probably have to
19
19
# gmake clean; gmake
53
53
# next - Motorola MC68K or Intel x86 on NeXTSTEP 3.2
54
54
# but these are guaranteed not to work as of yet.
55
55
#
56
- # XXX Note that you MUST set PORTNAME here (or on the command line) so
57
- # that port-dependent variables are correctly set within this file.
58
- # Makefile.custom does not take effect (for ifeq purposes)
59
- # until after this file is processed!
56
+ # Note that portname is defined here to be UNDEFINED to remind you
57
+ # to change it in Makefile.custom.
60
58
# make sure that you have no whitespaces after the PORTNAME setting
61
59
# or the makefiles can get confused
62
60
PORTNAME= UNDEFINED
@@ -217,6 +215,17 @@ X11_INCDIR = /usr/include
217
215
X11_LIBDIR = /usr/lib
218
216
X11_LIB = -lX11 -lsocket -lnsl
219
217
218
+ ##############################################################################
219
+ #
220
+ # Customization.
221
+ #
222
+ # This includes your local customizations if Makefile.custom exists
223
+ # in the source directory. This file doesn't exist in the original
224
+ # distribution so that it doesn't get overwritten when you upgrade.
225
+ ifneq ($(wildcard $(MKDIR)/../Makefile.custom), )
226
+ include $(MKDIR)/../Makefile.custom
227
+ endif
228
+
220
229
# include port specific rules and variables. For instance:
221
230
#
222
231
# signal(2) handling - this is here because it affects some of
@@ -238,6 +247,17 @@ X11_LIB = -lX11 -lsocket -lnsl
238
247
#
239
248
-include $(MKDIR)/port/postgres.mk.$(PORTNAME)
240
249
250
+ ##############################################################################
251
+ #
252
+ # Miscellaneous configuration
253
+ #
254
+
255
+ srcdir= $(SRCDIR)
256
+ includedir= $(HEADERDIR)
257
+ objdir= obj
258
+
259
+
260
+ # This goes here so that customization in Makefile.custom is effective
241
261
##############################################################################
242
262
#
243
263
# Flags for CC and LD. (depend on CDEBUG and PROFILE)
@@ -277,24 +297,3 @@ CFLAGS+= $(CFLAGS_BE)
277
297
LDADD+= $(LDADD_BE)
278
298
LDFLAGS+= $(LDFLAGS_BE)
279
299
280
- ##############################################################################
281
- #
282
- # Miscellaneous configuration
283
- #
284
-
285
- srcdir= $(SRCDIR)
286
- includedir= $(HEADERDIR)
287
- objdir= obj
288
-
289
-
290
- ##############################################################################
291
- #
292
- # Customization.
293
- #
294
- # This includes your local customizations if Makefile.custom exists
295
- # in the source directory. This file doesn't exist in the original
296
- # distribution so that it doesn't get overwritten when you upgrade.
297
- ifneq ($(wildcard $(MKDIR)/../Makefile.custom), )
298
- include $(MKDIR)/../Makefile.custom
299
- endif
300
-
0 commit comments