1# $FreeBSD: head/sbin/dhclient/Makefile 74815 2001-03-26 14:33:27Z ru $
2
3DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
4
5.PATH: ${DIST_DIR}/client ${DIST_DIR}/common
6
7PROG= dhclient
8SRCS= clparse.c dhclient.c
9SRCS+= alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c ethernet.c \
10 hash.c icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
11 parse.c print.c raw.c socket.c tables.c tree.c upf.c
12
13CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
14CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn
15
16MAN= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
17MAN+= dhclient.8 dhclient-script.8
18
19beforeinstall:
20 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
21 ${DIST_DIR}/client/scripts/freebsd \
22 ${DESTDIR}${BINDIR}/dhclient-script
23
24.include <bsd.prog.mk>
2
3DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
4
5.PATH: ${DIST_DIR}/client ${DIST_DIR}/common
6
7PROG= dhclient
8SRCS= clparse.c dhclient.c
9SRCS+= alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c ethernet.c \
10 hash.c icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
11 parse.c print.c raw.c socket.c tables.c tree.c upf.c
12
13CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
14CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn
15
16MAN= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
17MAN+= dhclient.8 dhclient-script.8
18
19beforeinstall:
20 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
21 ${DIST_DIR}/client/scripts/freebsd \
22 ${DESTDIR}${BINDIR}/dhclient-script
23
24.include <bsd.prog.mk>