aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'src/tutorial')
-rw-r--r--src/tutorial/C-code/Makefile8
-rw-r--r--src/tutorial/Makefile10
2 files changed, 17 insertions, 1 deletions
diff --git a/src/tutorial/C-code/Makefile b/src/tutorial/C-code/Makefile
index 548bfadcfe3..ec1fa1f21f5 100644
--- a/src/tutorial/C-code/Makefile
+++ b/src/tutorial/C-code/Makefile
@@ -3,6 +3,14 @@ include ../../Makefile.global
CFLAGS+= -I../../include -I$(LIBPQDIR)
+#
+# And where libpq goes, so goes the authentication stuff...
+#
+ifdef KRBVERS
+LDFLAGS+= $(KRBLIBS)
+CFLAGS+= $(KRBFLAGS)
+endif
+
all: complex$(DLSUFFIX) funcs$(DLSUFFIX)
clean:
diff --git a/src/tutorial/Makefile b/src/tutorial/Makefile
index 32b14b0b6d6..c575d040b49 100644
--- a/src/tutorial/Makefile
+++ b/src/tutorial/Makefile
@@ -4,7 +4,7 @@
# Makefile for tutorial
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/tutorial/Makefile,v 1.5 1997/01/05 21:17:45 bryanh Exp $
+# $Header: /cvsroot/pgsql/src/tutorial/Makefile,v 1.6 1998/01/04 19:12:55 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -14,6 +14,14 @@ include ../Makefile.global
CFLAGS+= -I$(LIBPQDIR) -I../../include
#
+# And where libpq goes, so goes the authentication stuff...
+#
+ifdef KRBVERS
+LDFLAGS+= $(KRBLIBS)
+CFLAGS+= $(KRBFLAGS)
+endif
+
+#
# DLOBJS is the dynamically-loaded object files. The "funcs" queries
# include CREATE FUNCTIONs that load routines from these files.
#