2002-02-19 12:57:18 +00:00
|
|
|
# client
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
DIST_DIR= ${.CURDIR}/../../../contrib/isc-dhcp
|
|
|
|
|
|
|
|
.PATH: ${DIST_DIR}/client
|
|
|
|
|
|
|
|
PROG= dhclient
|
|
|
|
SRCS= clparse.c dhclient.c
|
|
|
|
|
2003-06-29 18:46:18 +00:00
|
|
|
.if defined(RESCUE)
|
|
|
|
CFLAGS+= -DCLIENT_PATH='"PATH=/rescue:/sbin:/bin:/usr/sbin:/usr/bin"'
|
|
|
|
.else
|
|
|
|
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"'
|
|
|
|
.endif
|
|
|
|
CFLAGS+= -Dwarn=dhcp_warn
|
2002-02-19 12:57:18 +00:00
|
|
|
|
2002-02-19 22:23:49 +00:00
|
|
|
DPADD= ${LIBDHCP} ${LIBRES} ${LIBOMAPI} ${LIBDST}
|
|
|
|
LDADD= ${LIBDHCP} ${LIBRES} ${LIBOMAPI} ${LIBDST}
|
2002-02-19 12:57:18 +00:00
|
|
|
|
|
|
|
SCRIPTS= scripts/freebsd
|
|
|
|
SCRIPTSNAME= dhclient-script
|
|
|
|
|
|
|
|
MAN= dhclient.conf.5 dhclient.leases.5
|
|
|
|
MAN+= dhclient.8 dhclient-script.8
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|