freebsd-dev/sbin/dhclient/client/Makefile
Gordon Tetlow 6d1b4a4730 Tweak a couple of utilities so they compile cleanly for /rescue. Mostly
path fixes.

Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-29 18:46:18 +00:00

28 lines
587 B
Makefile

# client
# $FreeBSD$
DIST_DIR= ${.CURDIR}/../../../contrib/isc-dhcp
.PATH: ${DIST_DIR}/client
PROG= dhclient
SRCS= clparse.c dhclient.c
.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
DPADD= ${LIBDHCP} ${LIBRES} ${LIBOMAPI} ${LIBDST}
LDADD= ${LIBDHCP} ${LIBRES} ${LIBOMAPI} ${LIBDST}
SCRIPTS= scripts/freebsd
SCRIPTSNAME= dhclient-script
MAN= dhclient.conf.5 dhclient.leases.5
MAN+= dhclient.8 dhclient-script.8
.include <bsd.prog.mk>