summaryrefslogtreecommitdiff
path: root/src/mk/postgres.mk
diff options
context:
space:
mode:
authorMarc G. Fournier1996-10-04 20:17:11 +0000
committerMarc G. Fournier1996-10-04 20:17:11 +0000
commitf8009e178605d986055d6d7fd9487a69e6d1dd1d (patch)
tree22bac80ef19127b5399ae6c3e3b25296ff538397 /src/mk/postgres.mk
parent312b4dabfee8a490c5c8e8acf708e09a6a551b8c (diff)
The remainder of D'Arcy's changes, most notibly the usage of SIGNAL_ARGS
Diffstat (limited to 'src/mk/postgres.mk')
-rw-r--r--src/mk/postgres.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/mk/postgres.mk b/src/mk/postgres.mk
index a925e07d839..06ac466f50b 100644
--- a/src/mk/postgres.mk
+++ b/src/mk/postgres.mk
@@ -9,7 +9,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.mk,v 1.3 1996/09/23 08:24:11 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.mk,v 1.4 1996/10/04 20:17:11 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -89,6 +89,18 @@ endef
include $(MKDIR)/../Makefile.global
-include $(MKDIR)/port/postgres.mk.$(PORTNAME)
+# The following is used as the arg list for signal handlers. Any ports
+# that take something other than an int argument should change this in
+# the port specific makefile. Note that variable names are required
+# because it is used in both the prototypes as well as the definitions.
+# Note also the long name. We expect that this won't collide with
+# other names causing compiler warnings.
+#ifndef SIGNAL_ARGS
+#define SIGNAL_ARGS int postgres_signal_arg
+#endif
+
+CFLAGS += -DSIGNAL_ARGS=$(SIGNAL_ARGS)
+
CURDIR:= $(shell pwd)
# This is where we put all the .o's and the generated files.