summaryrefslogtreecommitdiff
path: root/src/tutorial/Makefile
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-03-28 02:49:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-03-28 02:49:19 +0000
commit1f7ba1ebaf613f4ef3542ba4f6340b8b76deeebf (patch)
tree105c1b01adfcc2e3dd5f483d8bfc405a212bded5 /src/tutorial/Makefile
parent081cba45e684bd7cac26f4052ab30fd0f55432bd (diff)
Fix some bogosity in the tutorial examples.
Diffstat (limited to 'src/tutorial/Makefile')
-rw-r--r--src/tutorial/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/tutorial/Makefile b/src/tutorial/Makefile
index acd63117270..9ba5096f0a1 100644
--- a/src/tutorial/Makefile
+++ b/src/tutorial/Makefile
@@ -4,22 +4,14 @@
# Makefile for tutorial
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/tutorial/Makefile,v 1.8 1998/03/01 04:52:55 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/tutorial/Makefile,v 1.9 2000/03/28 02:49:19 tgl Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ..
-include ../Makefile.global
+include $(SRCDIR)/Makefile.global
-CFLAGS+= -I$(LIBPQDIR) -I../../include
-
-#
-# And where libpq goes, so goes the authentication stuff...
-#
-ifdef KRBVERS
-LDFLAGS+= $(KRBLIBS)
-CFLAGS+= $(KRBFLAGS)
-endif
+CFLAGS+= -I$(SRCDIR)/include $(CFLAGS_SL)
#
# DLOBJS is the dynamically-loaded object files. The "funcs" queries
@@ -42,7 +34,5 @@ all: $(DLOBJS) $(QUERIES)
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" \
-e "s/_USER_/$$USER/g" < $< > $@
-funcs.sql: $(DLOBJS)
-
clean:
rm -f $(DLOBJS) $(QUERIES)