aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-02-10 20:51:22 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-02-10 20:51:22 +0000
commit914345e310a13f1c0614611297cf27576ada48e9 (patch)
treed2f37546027ac82b13b11b0ef7dfdb43ccc13904
parent836b9b624358bc4a0dc93d3cdafb28b28a987fcf (diff)
downloadsrc-914345e310a13f1c0614611297cf27576ada48e9.tar.gz
src-914345e310a13f1c0614611297cf27576ada48e9.zip
bmake framework for ISC-DHCP client
Notes
Notes: svn path=/vendor/OpenBSD/dist/; revision=43855
-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 000000000000..3148ea8f0bc5
--- /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>