2001-01-07 11:00:54 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.16 2001/01/07 08:00:57 enami Exp $
|
2000-11-20 03:24:41 +03:00
|
|
|
|
|
|
|
WARNS?= 1
|
2000-11-21 05:03:26 +03:00
|
|
|
WFORMAT=2
|
2000-11-20 03:24:41 +03:00
|
|
|
|
2001-01-07 11:00:54 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2000-11-20 03:24:41 +03:00
|
|
|
IDIST= ${.CURDIR}/../../../dist/am-utils
|
|
|
|
|
2001-01-07 11:00:54 +03:00
|
|
|
LIBAMUOBJDIR!=cd ${.CURDIR}/../libamu && ${PRINTOBJDIR}
|
2000-11-20 03:24:41 +03:00
|
|
|
|
|
|
|
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST}/libamu \
|
|
|
|
-I${IDIST}/include -I${LIBAMUOBJDIR}
|
1998-04-13 00:45:05 +04:00
|
|
|
|
1998-09-27 20:28:54 +04:00
|
|
|
.if !defined(LIB) || empty(LIB)
|
2000-11-20 03:24:41 +03:00
|
|
|
LDADD+= -L${LIBAMUOBJDIR} -lamu
|
1999-02-13 05:54:17 +03:00
|
|
|
.if ${MKPIC} == "no"
|
2000-11-20 03:24:41 +03:00
|
|
|
DPADD+= ${LIBAMUOBJDIR}/libamu.a
|
1998-04-13 00:45:05 +04:00
|
|
|
.else
|
2000-11-20 03:24:41 +03:00
|
|
|
DPADD+= ${LIBAMUOBJDIR}/libamu_pic.a
|
1998-04-13 00:45:05 +04:00
|
|
|
.endif
|
1998-09-27 20:28:54 +04:00
|
|
|
.endif
|
1997-10-18 10:42:25 +04:00
|
|
|
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.endif
|