2003-09-25 05:02:03 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.19 2003/09/25 01:02:03 mycroft Exp $
|
1997-03-30 03:09:00 +04:00
|
|
|
|
2002-06-10 04:30:33 +04:00
|
|
|
WARNS?= 1
|
1997-10-18 10:42:25 +04:00
|
|
|
|
2001-01-07 11:00:54 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/dist/dhcp
|
2001-08-03 18:13:55 +04:00
|
|
|
.PATH: ${DIST}/${DHCPSRCDIR}
|
|
|
|
|
2001-01-07 11:00:54 +03:00
|
|
|
COBJDIR!=cd $(.CURDIR)/../common && ${PRINTOBJDIR}
|
|
|
|
OMOBJDIR!=cd $(.CURDIR)/../omapip && ${PRINTOBJDIR}
|
|
|
|
MROBJDIR!=cd $(.CURDIR)/../minires && ${PRINTOBJDIR}
|
2001-04-03 05:00:03 +04:00
|
|
|
DSTOBJDIR!=cd $(.CURDIR)/../dst && ${PRINTOBJDIR}
|
1997-03-30 03:09:00 +04:00
|
|
|
|
2002-06-17 01:40:03 +04:00
|
|
|
CPPFLAGS+= -I${DIST} -I${DIST}/includes -Wno-unused
|
2001-08-03 18:13:55 +04:00
|
|
|
LDADD+= ${COBJDIR}/libdhcp.a ${MROBJDIR}/libminires.a
|
|
|
|
LDADD+= ${OMOBJDIR}/libomapi.a ${DSTOBJDIR}/libdst.a
|
2003-09-25 05:02:03 +04:00
|
|
|
LDADD+= -lipsec
|
2001-08-03 18:13:55 +04:00
|
|
|
DPADD+= ${COBJDIR}/libdhcp.a ${MROBJDIR}/libminires.a
|
|
|
|
DPADD+= ${OMOBJDIR}/libomapi.a ${DSTOBJDIR}/libdst.a
|
2003-09-25 05:02:03 +04:00
|
|
|
DPADD+= ${LIBIPSEC}
|
1997-03-30 16:00:33 +04:00
|
|
|
|
1997-10-18 10:42:25 +04:00
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
1997-03-30 16:00:33 +04:00
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
1997-10-18 10:42:25 +04:00
|
|
|
.endif
|