diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-16 07:49:09 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-16 07:49:09 +0000 |
commit | 8b2378a16bd14494c347a6adb2199965d6aec807 (patch) | |
tree | a837b6d60dc0e65971ace08fb8261c4dda2abd19 /kerberosIV/Makefile.inc | |
parent | 6a6084f5c2dd73b6d7a51f3bde13905227382910 (diff) |
I know, i don't like it either...
Diffstat (limited to 'kerberosIV/Makefile.inc')
-rw-r--r-- | kerberosIV/Makefile.inc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kerberosIV/Makefile.inc b/kerberosIV/Makefile.inc index e685ddb0781..7abf567d195 100644 --- a/kerberosIV/Makefile.inc +++ b/kerberosIV/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.2 1996/06/02 14:41:57 niklas Exp $ +# $OpenBSD: Makefile.inc,v 1.3 1996/07/16 07:49:08 pefo Exp $ CFLAGS+=-I${.CURDIR}/../include BINDIR?=/usr/sbin @@ -21,8 +21,14 @@ COMPILE_ET=${.CURDIR}/../compile_et/${__objdir}/compile_et COMPILE_ET=${.CURDIR}/../compile_et/compile_et .endif +.if (${MACHINE_ARCH} != "mips") +COM_ERR_PIC= -lcom_err_pic +.else +COM_ERR_PIC= -lcom_err +.endif + .if exists(${.CURDIR}/../com_err/${__objdir}) -COM_ERR=-L${.CURDIR}/../com_err/${__objdir} -lcom_err_pic +COM_ERR=-L${.CURDIR}/../com_err/${__objdir} ${COM_ERR_PIC} .else -COM_ERR=-L${.CURDIR}/../com_err -lcom_err_pic +COM_ERR=-L${.CURDIR}/../com_err ${COM_ERR_PIC} .endif |