1999-04-03 07:09:59 +00:00
|
|
|
# $Id: Makefile,v 1.3 1999/02/18 18:56:58 obrien Exp $
|
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
|
|
|
|
SRCS+= alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.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
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
|
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>
|