summaryrefslogtreecommitdiff
path: root/src/utils/Makefile
diff options
context:
space:
mode:
authorBryan Henderson1996-11-11 13:51:57 +0000
committerBryan Henderson1996-11-11 13:51:57 +0000
commitbf80f41ec1b8b7fb16cf3ac695b2e1436ba1e619 (patch)
tree1e4d83190cf63ea0d32a6452aa553315b9394eb1 /src/utils/Makefile
parent6f708e42d1f80d4905ee75358dbd47cd9753251f (diff)
Add utils directory for cross-subsystem tools to keep make files from having
to be sleazy and reach into other subsystems' directories. First entry in this directory is the PG_VERSION file interface, which must be used by the backend and also the pg_version program (which is used by initdb).
Diffstat (limited to 'src/utils/Makefile')
-rw-r--r--src/utils/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/utils/Makefile b/src/utils/Makefile
new file mode 100644
index 0000000000..45ff0cc34a
--- /dev/null
+++ b/src/utils/Makefile
@@ -0,0 +1,29 @@
+#-------------------------------------------------------------------------
+#
+# Makefile--
+# Makefile for utils
+#
+# IDENTIFICATION
+# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.1 1996/11/11 13:51:55 bryanh Exp $
+#
+#-------------------------------------------------------------------------
+
+SRCDIR = ..
+include ../Makefile.global
+
+INCLUDE_OPT = -I../include
+
+CFLAGS+=$(INCLUDE_OPT)
+
+all: version.o
+
+depend dep:
+ $(CC) -MM $(INCLUDE_OPT) *.c >depend
+
+clean:
+ rm -f version.o
+
+ifeq (depend,$(wildcard depend))
+include depend
+endif
+