22 lines
575 B
Makefile
22 lines
575 B
Makefile
# $NetBSD: Makefile.inc,v 1.11 1998/09/27 16:28:54 christos 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
|
|
.if !defined(LIB) || empty(LIB)
|
|
LDADD += -L${LIBAMU} -lamu -lrpcsvc -ll
|
|
.if defined(NOPIC)
|
|
DPADD += ${LIBAMU}/libamu.a
|
|
.else
|
|
DPADD += ${LIBAMU}/libamu_pic.a
|
|
.endif
|
|
DPADD += ${LIBRPCSVC} ${LIBL}
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|