diff options
-rw-r--r-- | kerberosV/Makefile | 14 | ||||
-rw-r--r-- | kerberosV/Makefile.inc | 33 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kerberosV/Makefile b/kerberosV/Makefile new file mode 100644 index 00000000000..11f011748fc --- /dev/null +++ b/kerberosV/Makefile @@ -0,0 +1,14 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:24:12 hin Exp $ + +SUBDIR = usr.bin/asn1_compile lib usr.bin libexec usr.sbin + +build: + ( cd lib/roken && ${MAKE} ) + ( cd usr.bin/asn1_compile && ${MAKE} && ${MAKE} install ) + ${MAKE} includes + ${MAKE} depend + ( cd lib && ${MAKE} && ${MAKE} install ) + ${MAKE} + ${MAKE} install + +.include <bsd.subdir.mk> diff --git a/kerberosV/Makefile.inc b/kerberosV/Makefile.inc new file mode 100644 index 00000000000..6b4385168af --- /dev/null +++ b/kerberosV/Makefile.inc @@ -0,0 +1,33 @@ +# $OpenBSD: Makefile.inc,v 1.1 2001/05/25 08:24:13 hin Exp $ + +CFLAGS+= -g +LDFLAGS+= -g + +KRB5VERSION = "heimdal-0.3b" + +KRB5DIR = ${.CURDIR}/${KRBDEPTH} +KRB5SRC = ${.CURDIR}/${KRBDEPTH}/src + +KRB4DIR = ${KRB5DIR}/../kerberosIV +KRB4SRC = ${KRB4DIR}/src + +CFLAGS += -DHAVE_CONFIG_H -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\"\ + -DLIBEXECDIR=\"/usr/libexec\" \ + -I${DESTDIR}/usr/include/kerberosV \ + -I${DESTDIR}/usr/include/kerberosIV \ + -I${KRB5DIR}/include -I${KRB5SRC}/lib/roken\ + -I${KRB5SRC}/include -I${KRB4SRC}/lib/sl + +LIBROKEN= -L${KRBDEPTH}/lib/roken -lroken +LIBROKEN_PIC= -L${KRBDEPTH}/lib/roken -lroken_pic +LIBSL= -L${KRBDEPTH}/../kerberosIV/lib/sl -lsl + +.PATH: ${KRB5SRC}/man + +COMPILE_ET = /usr/bin/compile_et + +.if (${MACHINE_ARCH} != "mips") +COM_ERR= -lcom_err_pic +.else +COM_ERR= -lcom_err +.endif |