PIC systems no longer build libamu.a; depend them on libamu_pic.a.

This commit is contained in:
tv 1998-04-12 20:45:05 +00:00
parent ee34020134
commit 5321eb363d

View File

@ -1,10 +1,18 @@
# $NetBSD: Makefile.inc,v 1.8 1997/10/26 00:24:43 christos Exp $
# $NetBSD: Makefile.inc,v 1.9 1998/04/12 20:45:05 tv Exp $
.include <bsd.own.mk>
WARNS ?= 1
LIBAMU != cd ${.CURDIR}/../libamu;\
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
CPPFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
LDADD += -L${LIBAMU} -lamu -lrpcsvc -ll
DPADD += ${LIBAMU}/libamu.a ${LIBRPCSVC} ${LIBL}
.if defined(NOPIC)
DPADD += ${LIBAMU}/libamu.a
.else
DPADD += ${LIBAMU}/libamu_pic.a
.endif
DPADD += ${LIBRPCSVC} ${LIBL}
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"