summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2003-06-03 09:12:26 +0000
committerHans Insulander <hin@cvs.openbsd.org>2003-06-03 09:12:26 +0000
commit60a70094f0884e56c966aee50b64e618ed9a15f2 (patch)
tree55368f1feab0388eff93fb29b1b31fd3b2920131 /lib
parent97187dbed551787c2b0868e7854c7602c22f3a61 (diff)
Make com_err part of the "new" libkrb5
Diffstat (limited to 'lib')
-rw-r--r--lib/libkrb5/Makefile4
-rw-r--r--lib/libkrb5/Makefile.com_err.inc11
2 files changed, 13 insertions, 2 deletions
diff --git a/lib/libkrb5/Makefile b/lib/libkrb5/Makefile
index 7452a80470d..1c67e8e64a4 100644
--- a/lib/libkrb5/Makefile
+++ b/lib/libkrb5/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2003/05/17 20:07:23 mho Exp $
+# $OpenBSD: Makefile,v 1.8 2003/06/03 09:12:25 hin Exp $
KRB5DIR= ${.CURDIR}/../../kerberosV
GENDIR= ${.CURDIR}/generated
@@ -14,7 +14,7 @@ LIB = krb5
.include "Makefile.kafs.inc"
.include "Makefile.roken.inc"
.include "Makefile.krb5.inc"
-
+.include "Makefile.com_err.inc"
includes:
@test -d ${DESTDIR}/usr/include/kerberosV || \
diff --git a/lib/libkrb5/Makefile.com_err.inc b/lib/libkrb5/Makefile.com_err.inc
new file mode 100644
index 00000000000..03cb446ed5a
--- /dev/null
+++ b/lib/libkrb5/Makefile.com_err.inc
@@ -0,0 +1,11 @@
+# $OpenBSD: Makefile.com_err.inc,v 1.1 2003/06/03 09:12:25 hin Exp $
+
+CFLAGS += -I${KRB5SRC}/lib/com_err
+
+.PATH: ${KRB5SRC}/lib/com_err
+
+SRCS+= com_err.c error.c
+
+foo:
+ echo ${KRB5SRC}/lib/com_err
+