freebsd-src/sbin/dhclient/Makefile

25 lines
742 B
Makefile
Raw Normal View History

1999-08-28 01:22:10 +01:00
# $FreeBSD$
1999-02-10 20:51:22 +00:00
DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
.PATH: ${DIST_DIR}/client ${DIST_DIR}/common
1999-02-10 20:51:22 +00:00
PROG= dhclient
SRCS= clparse.c dhclient.c
1999-06-24 09:13:21 +01: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 \
parse.c print.c raw.c socket.c tables.c tree.c upf.c
1999-02-10 20:51:22 +00:00
CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn
1999-02-10 20:51:22 +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
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${DIST_DIR}/client/scripts/freebsd \
${DESTDIR}${BINDIR}/dhclient-script
1999-02-10 20:51:22 +00:00
.include <bsd.prog.mk>