summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-02-10 20:51:22 +0000
committerobrien <obrien@FreeBSD.org>1999-02-10 20:51:22 +0000
commit6dcf170bc462eff6a5a17366f4b62f8b6e570439 (patch)
tree2bbfc3ee22258bb6dd259ab3c90f571d97552954 /sbin/dhclient
parentebe9ad428e44cc096aaf97a81b73bc17ab32e411 (diff)
downloadFreeBSD-src-6dcf170bc462eff6a5a17366f4b62f8b6e570439.zip
FreeBSD-src-6dcf170bc462eff6a5a17366f4b62f8b6e570439.tar.gz
bmake framework for ISC-DHCP client
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/sbin/dhclient/Makefile b/sbin/dhclient/Makefile
new file mode 100644
index 0000000..3148ea8
--- /dev/null
+++ b/sbin/dhclient/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+#
+# @(#)Makefile 1.0 (obrien) 2/6/99
+# $Id$
+#
+# Copyright (c) 1999 by David O'Brien
+# This file is under a "FreeBSD" copyright. See /usr/src/sys/sys/copyright.h
+# for the terms of the copyright.
+#
+
+.PATH: ${.CURDIR}/../../contrib/isc-dhcp/client ${.CURDIR}/../../contrib/isc-dhcp/common
+
+PROG= dhclient
+MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
+MAN8= dhclient.8 dhclient-script.8
+
+SRCS= dhclient.c clparse.c
+SRCS+= raw.c parse.c nit.c icmp.c dispatch.c conflex.c upf.c bpf.c \
+ socket.c packet.c memory.c print.c options.c inet.c convert.c \
+ tree.c tables.c hash.c alloc.c errwarn.c inet_addr.c
+
+CFLAGS+= -I${.CURDIR}/../../contrib/isc-dhcp/includes \
+ -I${.CURDIR}/../../contrib/isc-dhcp
+
+afterinstall:
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${.CURDIR}/../../contrib/isc-dhcp/client/scripts/freebsd \
+ ${BINDIR}/dhclient-script
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud