summaryrefslogtreecommitdiff
path: root/kerberosV/Makefile.inc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-08-07 22:10:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-08-07 22:10:03 +0000
commit7107a460973eb2033a490c9c19ce630b0a211759 (patch)
tree51b844077fe58c13954ead0593859cde8611d1be /kerberosV/Makefile.inc
parent144bc46b1869cb39f73f46b76d945a6595692297 (diff)
Make kerberosV compile entirely on platforms lacking shared libraries,
i.e. hppa, mvme88k and vax. Discussed a lot with hugh@ and (less) with hin@, probably the least ugly patch we could make.
Diffstat (limited to 'kerberosV/Makefile.inc')
-rw-r--r--kerberosV/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/kerberosV/Makefile.inc b/kerberosV/Makefile.inc
index d65614980c9..a2facab9f6f 100644
--- a/kerberosV/Makefile.inc
+++ b/kerberosV/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.5 2001/07/08 17:56:52 brad Exp $
+# $OpenBSD: Makefile.inc,v 1.6 2001/08/07 22:10:02 miod Exp $
KRB5DIR = ${.CURDIR}/${KRBDEPTH}
KRB5SRC = ${.CURDIR}/${KRBDEPTH}/src
@@ -13,6 +13,10 @@ CFLAGS += -DHAVE_CONFIG_H -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\"\
-I${KRB5DIR}/include -I${KRB5SRC}/lib/roken\
-I${KRB5SRC}/include -I${KRB4SRC}/lib/sl
CFLAGS+= -Wall
+.include <bsd.own.mk> # for 'NOPIC' definition
+.if !defined(NOPIC)
+CFLAGS += -DHAVE_DLOPEN
+.endif
LIBROKEN= -L${KRBDEPTH}/lib/roken -lroken
LIBROKEN_PIC= -L${KRBDEPTH}/lib/roken -lroken_pic