summaryrefslogtreecommitdiff
path: root/contrib/Makefile.global
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Makefile.global')
-rw-r--r--contrib/Makefile.global44
1 files changed, 44 insertions, 0 deletions
diff --git a/contrib/Makefile.global b/contrib/Makefile.global
new file mode 100644
index 00000000000..43cbf853b8a
--- /dev/null
+++ b/contrib/Makefile.global
@@ -0,0 +1,44 @@
+
+#-------------------------------------------------------------------------
+#
+# Makefile.global
+# Build and install PostgreSQL contrib.
+#
+# Portions Copyright (c) 1999-2000, PostgreSQL, Inc
+#
+#
+# IDENTIFICATION
+# $Header: /cvsroot/pgsql/contrib/Attic/Makefile.global,v 1.1 2000/06/15 19:04:37 momjian Exp $
+#
+#-------------------------------------------------------------------------
+
+SRCDIR = $(TOPDIR)/src
+include $(SRCDIR)/Makefile.global
+
+### ---------------------------------------------------------
+### DELETE THIS PART if ../src/Makefile.global is standardize
+### (has define all next definitions itself)
+
+DOCDIR=$(POSTDOCDIR)
+
+# not $PGDATA, but anything like '/usr/local/pgsql/share'
+DATADIR=$(LIBDIR)
+
+### ----------------------------------------------------------
+
+# execute-able
+CONTRIB_BINDIR = $(BINDIR)
+# *.so
+CONTRIB_MODDIR = $(LIBDIR)/modules
+# *.doc
+CONTRIB_DOCDIR = $(DOCDIR)/contrib
+# *.sql
+CONTRIB_SQLDIR = $(DATADIR)/sql
+# *.examples
+CONTRIB_EXAMPLESDIR = $(CONTRIB_DOCDIR)/examples
+
+
+RM = rm -f
+SED = sed
+
+