24 lines
731 B
Makefile
24 lines
731 B
Makefile
# $NetBSD: Makefile.inc,v 1.17 2002/06/16 21:40:03 augustss Exp $
|
|
|
|
WARNS?= 1
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${.CURDIR}/../../../dist/dhcp
|
|
.PATH: ${DIST}/${DHCPSRCDIR}
|
|
|
|
COBJDIR!=cd $(.CURDIR)/../common && ${PRINTOBJDIR}
|
|
OMOBJDIR!=cd $(.CURDIR)/../omapip && ${PRINTOBJDIR}
|
|
MROBJDIR!=cd $(.CURDIR)/../minires && ${PRINTOBJDIR}
|
|
DSTOBJDIR!=cd $(.CURDIR)/../dst && ${PRINTOBJDIR}
|
|
|
|
CPPFLAGS+= -I${DIST} -I${DIST}/includes -Wno-unused
|
|
LDADD+= ${COBJDIR}/libdhcp.a ${MROBJDIR}/libminires.a
|
|
LDADD+= ${OMOBJDIR}/libomapi.a ${DSTOBJDIR}/libdst.a
|
|
DPADD+= ${COBJDIR}/libdhcp.a ${MROBJDIR}/libminires.a
|
|
DPADD+= ${OMOBJDIR}/libomapi.a ${DSTOBJDIR}/libdst.a
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|