1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
|
1999-02-18 09:38:18 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
.PATH: ${DIST_DIR}/client ${DIST_DIR}/common
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
PROG= dhclient
|
|
|
|
SRCS= clparse.c dhclient.c
|
1999-06-24 08:13:21 +00:00
|
|
|
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 \
|
1999-02-18 18:56:58 +00:00
|
|
|
parse.c print.c raw.c socket.c tables.c tree.c upf.c
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
|
2000-07-20 10:11:22 +00:00
|
|
|
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin"'
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
|
|
|
|
MAN8= dhclient.8 dhclient-script.8
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
beforeinstall:
|
1999-02-18 09:38:18 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1999-04-03 07:09:59 +00:00
|
|
|
${DIST_DIR}/client/scripts/freebsd \
|
|
|
|
${DESTDIR}${BINDIR}/dhclient-script
|
1999-02-10 20:51:22 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|