summaryrefslogtreecommitdiff
path: root/kerberosV/lib
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-06-22 16:01:03 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-06-22 16:01:03 +0000
commita1e5ff9e04a722419639dcbaf9b5c735f9a268c7 (patch)
tree3d154169a67cb763fa14b6059b8834cf8c287eda /kerberosV/lib
parent1aefff2570b0f9ac87dc8e852ccc557a6cdb9473 (diff)
- Don't link against other libraries.
- Pull in some stuff from libroken into libkrb5 to make libkrb5 linkable without libroken.
Diffstat (limited to 'kerberosV/lib')
-rw-r--r--kerberosV/lib/krb5/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/kerberosV/lib/krb5/Makefile b/kerberosV/lib/krb5/Makefile
index 56051c3ec95..77fe4afc5b5 100644
--- a/kerberosV/lib/krb5/Makefile
+++ b/kerberosV/lib/krb5/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2001/06/05 10:38:36 hin Exp $
+# $OpenBSD: Makefile,v 1.4 2001/06/22 16:01:02 hin Exp $
KRBDEPTH=../..
.include <${.CURDIR}/../../Makefile.inc>
@@ -51,6 +51,7 @@ SRCS= add_et_list.c \
crypto.c \
data.c \
expand_hostname.c \
+ eai_to_heim_errno.c \
fcache.c \
free.c \
free_host_realm.c \
@@ -120,19 +121,26 @@ SRCS= add_et_list.c \
krb5_err.c \
heim_err.c
+# These are files in libroken that are needed in libkrb5 to make it independant
+# from libroken.
+SRCS+= strupr.c \
+ strlwr.c \
+ issuid.c \
+ roken_gethostby.c \
+ parse_time.c \
+ parse_units.c
+
CLEANFILES+= krb5_err.[ch] heim_err.[ch]
-.PATH: ${KRB5SRC}/lib/krb5
+.PATH: ${KRB5SRC}/lib/krb5 ${KRB5SRC}/lib/roken
CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/ \
-I${KRB5SRC}/lib/asn1 -I../asn1 -I. \
-DSHA1_CTX=SHA_CTX
-LDADD+= -lc -L../asn1 -lasn1_pic ${LIBROKEN_PIC} -lcrypto
-
krb5_err.c krb5_err.h: ${KRB5SRC}/lib/krb5/krb5_err.et
compile_et ${KRB5SRC}/lib/krb5/krb5_err.et
heim_err.c heim_err.h: ${KRB5SRC}/lib/krb5/heim_err.et
compile_et ${KRB5SRC}/lib/krb5/heim_err.et
-.include <bsd.lib.mk> \ No newline at end of file
+.include <bsd.lib.mk>