freebsd-nq/sbin/dhclient/Makefile
David E. O'Brien 2d68bf45bf Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +00:00

24 lines
649 B
Makefile

# $FreeBSD$
DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
.PATH: ${DIST_DIR}/client ${DIST_DIR}/common
PROG= dhclient
SRCS= clparse.c dhclient.c
SRCS+= alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c ethernet.c \
hash.c icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
parse.c print.c raw.c socket.c tables.c tree.c upf.c
CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn
WARNS= 0
SCRIPTS= scripts/freebsd
SCRIPTSNAME= dhclient-script
MAN= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN+= dhclient.8 dhclient-script.8
.include <bsd.prog.mk>