summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-05-25 08:24:14 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-05-25 08:24:14 +0000
commit7e2aa17057a968a29ce7296c2c04f56b2acc031e (patch)
tree7886de7e3a257a3c1d25027a75650b600207c2b7
parentc2601bdd4a0774cf8db85ce4c54ee948bc3c7970 (diff)
krb5 main Makefile.
Set 'KERBEROS5=Yes' in /etc/mk.conf to enable the experimental kerberos5 support.
-rw-r--r--kerberosV/Makefile14
-rw-r--r--kerberosV/Makefile.inc33
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