diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1998-01-04 19:13:04 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1998-01-04 19:13:04 +0000 |
| commit | 0aa928764a2beddb000973313214227659ce9293 (patch) | |
| tree | 4e811fd4b807d5b2749dcacfad89cb99a5e2b3f4 /src/tutorial | |
| parent | a65e4484da3f2548883309a7dcf70cad3570d1dd (diff) | |
| download | postgresql-0aa928764a2beddb000973313214227659ce9293.tar.gz | |
Various fixes NETBSD/sparc related
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
Diffstat (limited to 'src/tutorial')
| -rw-r--r-- | src/tutorial/C-code/Makefile | 8 | ||||
| -rw-r--r-- | src/tutorial/Makefile | 10 |
2 files changed, 17 insertions, 1 deletions
diff --git a/src/tutorial/C-code/Makefile b/src/tutorial/C-code/Makefile index 548bfadcfe..ec1fa1f21f 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 32b14b0b6d..c575d040b4 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. # |
