summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-02-18 18:56:58 +0000
committerobrien <obrien@FreeBSD.org>1999-02-18 18:56:58 +0000
commitcaf1c39505cf2e3c99f4635a6c9244634b23f562 (patch)
treed17f866ceb023b296abcb40033373cd49d63beb1 /sbin
parent8703f5287c6d9c525795c53a8adb1fd869d1fa26 (diff)
downloadFreeBSD-src-caf1c39505cf2e3c99f4635a6c9244634b23f562.zip
FreeBSD-src-caf1c39505cf2e3c99f4635a6c9244634b23f562.tar.gz
More style fixes to bring this almost to bde's suggested version.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dhclient/Makefile30
1 files changed, 13 insertions, 17 deletions
diff --git a/sbin/dhclient/Makefile b/sbin/dhclient/Makefile
index 95496a7..0fc8b1c 100644
--- a/sbin/dhclient/Makefile
+++ b/sbin/dhclient/Makefile
@@ -1,26 +1,22 @@
-#
-# $Id: Makefile,v 1.1.1.1 1999/02/10 20:51:22 obrien Exp $
-#
+# $Id$
-DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
+DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
-.PATH: ${DIST_DIR}/client ${DIST_DIR}/common
+.PATH: ${DIST_DIR}/client ${DIST_DIR}/common
-PROG= dhclient
+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
-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${DIST_DIR}/includes -I${DIST_DIR}
-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
-MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
-MAN8= dhclient.8 dhclient-script.8
-
-afterinstall:
+beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${DIST_DIR}/client/scripts/freebsd ${BINDIR}/dhclient-script
+ ${DIST_DIR}/client/scripts/freebsd ${BINDIR}/dhclient-script
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud