# $NetBSD: Makefile,v 1.14 2003/08/02 05:16:58 lukem Exp $ NOMAN= .include 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: rm -f ${.TARGET} cp ${RSRCDIR}/omapip/${.IMPSRC:T} ${.TARGET} DPSRCS+= ${SRCS:M*.OM.c} CLEANFILES+= ${SRCS:M*.OM.c} .include