summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+