From: maja Date: Mon, 27 Mar 2000 12:53:41 +0000 (+0000) Subject: readd libcom_err support. ok with hin@ -moj. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f27b35707977ce251d582f1f0c45d4370b5e1b33;p=openbsd readd libcom_err support. ok with hin@ -moj. --- diff --git a/kerberosIV/Makefile.inc b/kerberosIV/Makefile.inc index 406cc68515b..00e4691a5c5 100644 --- a/kerberosIV/Makefile.inc +++ b/kerberosIV/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.9 2000/02/25 16:35:23 hin Exp $ +# $OpenBSD: Makefile.inc,v 1.10 2000/03/27 12:53:41 maja Exp $ KRBVERSION = "krb4-1.0" @@ -17,3 +17,8 @@ LIBSL = -L${KRBDEPTH}/lib/sl -lsl COMPILE_ET = /usr/bin/compile_et +.if (${MACHINE_ARCH} != "mips") +COM_ERR= -lcom_err_pic +.else +COM_ERR= -lcom_err +.endif diff --git a/kerberosIV/lib/krb/Makefile b/kerberosIV/lib/krb/Makefile index f3d8e693e54..7f4dafe105a 100644 --- a/kerberosIV/lib/krb/Makefile +++ b/kerberosIV/lib/krb/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2000/02/25 16:35:25 hin Exp $ +# $OpenBSD: Makefile,v 1.2 2000/03/27 12:55:13 maja Exp $ LIB = krb @@ -125,4 +125,5 @@ MLINKS+=krb_sendauth.3 krb_recvauth.3 krb_sendauth.3 krb_net_write.3 \ MLINKS+=tf_util.3 tf_init.3 tf_util.3 tf_get_pname.3 tf_util.3 tf_get_pinst.3 \ tf_util.3 tf_get_cred.3 tf_util.3 tf_close.3 +LDADD+= ${COM_ERR} .include