2003-08-02 09:16:56 +04:00
|
|
|
# $NetBSD: Makefile,v 1.14 2003/08/02 05:16:58 lukem Exp $
|
2000-05-13 00:53:21 +04:00
|
|
|
|
2002-04-15 03:44:25 +04:00
|
|
|
NOMAN=
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-04-26 19:50:21 +04:00
|
|
|
RSRCDIR= ${NETBSDSRCDIR}/dist/dhcp
|
2002-04-15 03:44:25 +04:00
|
|
|
|
|
|
|
.PATH: ${RSRCDIR}/client
|
2000-05-13 00:53:21 +04:00
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
PROG= dhclient
|
|
|
|
SRCS= dhclient.c clparse.c
|
|
|
|
CPPFLAGS+= -DCLIENT_PATH='"PATH=/usr/bin:/usr/sbin:/bin:/sbin"' \
|
|
|
|
-DSMALL -I${RSRCDIR} -I${RSRCDIR}/includes
|
2000-05-13 00:53:21 +04:00
|
|
|
|
2002-04-15 03:44:25 +04:00
|
|
|
# common source
|
|
|
|
#
|
|
|
|
.PATH: ${RSRCDIR}/common
|
|
|
|
SRCS+= alloc.c bpf.c comapi.c conflex.c discover.c dispatch.c dns.c \
|
|
|
|
ethernet.c execute.c fddi.c inet.c memory.c options.c packet.c \
|
|
|
|
parse.c print.c socket.c tables.c tree.c
|
2000-05-13 00:53:21 +04:00
|
|
|
|
2002-04-15 03:44:25 +04:00
|
|
|
# omapip source
|
|
|
|
#
|
|
|
|
.PATH: ${RSRCDIR}/omapip
|
|
|
|
SRCS+= alloc.OM.c convert.c dispatch.OM.c errwarn.c handle.c hash.c \
|
|
|
|
result.c support.c
|
2000-05-13 00:53:21 +04:00
|
|
|
|
2003-08-02 09:16:56 +04:00
|
|
|
|
2000-10-18 22:26:00 +04:00
|
|
|
.SUFFIXES: .OM.c
|
2000-05-13 00:53:21 +04:00
|
|
|
|
2000-10-18 22:26:00 +04:00
|
|
|
.c.OM.c:
|
2003-08-02 09:16:56 +04:00
|
|
|
rm -f ${.TARGET}
|
|
|
|
cp ${RSRCDIR}/omapip/${.IMPSRC:T} ${.TARGET}
|
2000-05-13 00:53:21 +04:00
|
|
|
|
2003-08-02 09:16:56 +04:00
|
|
|
DPSRCS+= ${SRCS:M*.OM.c}
|
|
|
|
CLEANFILES+= ${SRCS:M*.OM.c}
|
2000-05-13 00:53:21 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|