Makefile (0a5779d45bf5cbb474e004524b8788e796db914c) Makefile (b9ad8c8635daa61851dae229097979424d740268)
1# $FreeBSD$
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
1# $FreeBSD$
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
16SCRIPTS= scripts/freebsd
17SCRIPTSNAME= dhclient-script
18
16MAN= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
17MAN+= dhclient.8 dhclient-script.8
18
19MAN= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
20MAN+= dhclient.8 dhclient-script.8
21
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>
22.include <bsd.prog.mk>