summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-02-18 09:38:18 +0000
committerobrien <obrien@FreeBSD.org>1999-02-18 09:38:18 +0000
commit0606aa56dcb7874054ed99e4facd2247ce7029cd (patch)
tree361f693253d0be487b795f72f59c247bbcfdf5cc /sbin/dhclient
parent0f4e134c5fcb01df6f34344b415b2fbcbcfe454b (diff)
downloadFreeBSD-src-0606aa56dcb7874054ed99e4facd2247ce7029cd.zip
FreeBSD-src-0606aa56dcb7874054ed99e4facd2247ce7029cd.tar.gz
bde suggests not to trust ${COPY} to always be defined.
also fix style bugs submitted by Bruce
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/Makefile30
1 files changed, 13 insertions, 17 deletions
diff --git a/sbin/dhclient/Makefile b/sbin/dhclient/Makefile
index 3148ea8..95496a7 100644
--- a/sbin/dhclient/Makefile
+++ b/sbin/dhclient/Makefile
@@ -1,30 +1,26 @@
-# 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.
+# $Id: Makefile,v 1.1.1.1 1999/02/10 20:51:22 obrien Exp $
#
-.PATH: ${.CURDIR}/../../contrib/isc-dhcp/client ${.CURDIR}/../../contrib/isc-dhcp/common
+DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
+
+.PATH: ${DIST_DIR}/client ${DIST_DIR}/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
+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} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/../../contrib/isc-dhcp/client/scripts/freebsd \
- ${BINDIR}/dhclient-script
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${DIST_DIR}/client/scripts/freebsd ${BINDIR}/dhclient-script
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud