summaryrefslogtreecommitdiff
path: root/src/tutorial/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/tutorial/Makefile')
-rw-r--r--src/tutorial/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/tutorial/Makefile b/src/tutorial/Makefile
new file mode 100644
index 00000000000..5a29b1468d8
--- /dev/null
+++ b/src/tutorial/Makefile
@@ -0,0 +1,39 @@
+#-------------------------------------------------------------------------
+#
+# Makefile--
+# Makefile for tutorial/C-code
+#
+# Copyright (c) 1994, Regents of the University of California
+#
+#
+# IDENTIFICATION
+# $Header: /cvsroot/pgsql/src/tutorial/Makefile,v 1.1.1.1 1996/07/09 06:22:33 scrappy Exp $
+#
+#-------------------------------------------------------------------------
+
+MKDIR= ../mk
+include $(MKDIR)/postgres.mk
+
+VPATH:= $(VPATH):C-code
+
+#
+# build dynamically-loaded object files
+#
+DLOBJS= complex$(SLSUFF) funcs$(SLSUFF)
+
+#
+# ... plus test query inputs
+#
+CREATEFILES= $(DLOBJS:%=$(objdir)/%) \
+ advanced.sql basics.sql complex.sql funcs.sql syscat.sql
+
+include $(MKDIR)/postgres.user.mk
+
+CFLAGS+= -I$(srcdir)/backend
+
+CLEANFILES+= $(notdir $(CREATEFILES))
+
+all:: $(CREATEFILES)
+
+
+