1 # $NetBSD: Makefile,v 1.15 2006/11/23 13:22:18 martin Exp $
6 RSRCDIR
= ${NETBSDSRCDIR}/dist/dhcp
8 .PATH
: ${RSRCDIR}/client
11 SRCS
= dhclient.c clparse.c
12 CPPFLAGS
+= -DCLIENT_PATH
='"PATH=/usr/bin:/usr/sbin:/bin:/sbin"' \
13 -DSMALL
-I
${RSRCDIR} -I
${RSRCDIR}/includes
15 .if defined
(HAVE_GCC
) && ${HAVE_GCC} == 4
16 CPPFLAGS
+= -fno-strict-aliasing
21 .PATH
: ${RSRCDIR}/common
22 SRCS
+= alloc.c bpf.c comapi.c conflex.c discover.c dispatch.c dns.c \
23 ethernet.c execute.c fddi.c inet.c memory.c options.c packet.c \
24 parse.c
print.c socket.c tables.c tree.c
28 .PATH
: ${RSRCDIR}/omapip
29 SRCS
+= alloc.OM.c convert.c dispatch.OM.c errwarn.c handle.c hash.c \
37 cp
${RSRCDIR}/omapip
/${.IMPSRC
:T
} ${.TARGET
}
39 DPSRCS
+= ${SRCS
:M
*.OM.c
}
40 CLEANFILES
+= ${SRCS
:M
*.OM.c
}
42 .
include <bsd.prog.mk
>