diff options
Diffstat (limited to 'lib/libkrb5/Makefile.common.inc')
-rw-r--r-- | lib/libkrb5/Makefile.common.inc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/libkrb5/Makefile.common.inc b/lib/libkrb5/Makefile.common.inc new file mode 100644 index 00000000000..06e5f5c1fdd --- /dev/null +++ b/lib/libkrb5/Makefile.common.inc @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile.common.inc,v 1.1 2003/05/14 09:05:59 hin Exp $ + +KRB5SRC = ${KRB5DIR}/src + +KRB4DIR = ${KRB5DIR}/../kerberosIV +KRB4SRC = ${KRB4DIR}/src + +CFLAGS += -DHAVE_CONFIG_H -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\"\ + -DLIBEXECDIR=\"/usr/libexec\" -DSYSCONFDIR=\"/etc/kerberosV\" \ + -I${DESTDIR}/usr/include/kerberosV \ + -I${DESTDIR}/usr/include/kerberosIV \ + -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 + +.PATH: ${KRB5SRC}/man + +COM_ERR= -lcom_err_pic |