summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/Makefile
blob: 95496a7fe83b55a64508d63ef80e0817631a0944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# $Id: Makefile,v 1.1.1.1 1999/02/10 20:51:22 obrien Exp $
#

DIST_DIR=	${.CURDIR}/../../contrib/isc-dhcp

.PATH:		${DIST_DIR}/client ${DIST_DIR}/common

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

CFLAGS+= 	-I${.CURDIR}/../../contrib/isc-dhcp/includes \
		-I${.CURDIR}/../../contrib/isc-dhcp

MAN5=		dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN8=		dhclient.8 dhclient-script.8

afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${DIST_DIR}/client/scripts/freebsd ${BINDIR}/dhclient-script

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud