36 lines
776 B
Makefile
36 lines
776 B
Makefile
# $NetBSD: Makefile,v 1.13 2002/04/26 15:50:49 lukem Exp $
|
|
|
|
NOMAN=
|
|
.include <bsd.own.mk>
|
|
|
|
RSRCDIR= ${NETBSDSRCDIR}/dist/dhcp
|
|
|
|
.PATH: ${RSRCDIR}/client
|
|
|
|
PROG= dhclient
|
|
SRCS= dhclient.c clparse.c
|
|
CPPFLAGS+= -DCLIENT_PATH='"PATH=/usr/bin:/usr/sbin:/bin:/sbin"' \
|
|
-DSMALL -I${RSRCDIR} -I${RSRCDIR}/includes
|
|
|
|
# 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
|
|
|
|
# omapip source
|
|
#
|
|
.PATH: ${RSRCDIR}/omapip
|
|
SRCS+= alloc.OM.c convert.c dispatch.OM.c errwarn.c handle.c hash.c \
|
|
result.c support.c
|
|
|
|
.SUFFIXES: .OM.c
|
|
|
|
.c.OM.c:
|
|
cp ${RSRCDIR}/omapip/$*.c $@
|
|
|
|
CLEANFILES+=${SRCS:M*.OM.c}
|
|
|
|
.include <bsd.prog.mk>
|