summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/dhclient
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 06:25:32 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 06:25:32 +0000
commit2294c99c2a1bc351c19879b3bb2e366a8b070e38 (patch)
treefb8e1e563999fea9420111d21f113f509349b9cc /usr.sbin/dhcp/dhclient
parentadea637ba2ffdae4f3941cdd150a7cda541c73d5 (diff)
optimize build time. based on PR 2715
Diffstat (limited to 'usr.sbin/dhcp/dhclient')
-rw-r--r--usr.sbin/dhcp/dhclient/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/dhcp/dhclient/Makefile b/usr.sbin/dhcp/dhclient/Makefile
index 865977b68de..bfd998ebff1 100644
--- a/usr.sbin/dhcp/dhclient/Makefile
+++ b/usr.sbin/dhcp/dhclient/Makefile
@@ -33,13 +33,16 @@
.include <bsd.own.mk>
SUBDIR= scripts
-SRCS = dhclient.c clparse.c
-PROG = dhclient
-MAN = dhclient.8 dhclient.conf.5 dhclient.leases.5 dhclient-script.8
+SRCS= dhclient.c clparse.c
+PROG= dhclient
+MAN= dhclient.8 dhclient.conf.5 dhclient.leases.5 dhclient-script.8
# XXX
BINDIR?= /sbin
LDSTATIC?= -static
+LDADD+= -L${COMMONDIR} -ldhcp
+DPADD+= ${COMMONDIR}/libdhcp.a
+
.include <bsd.prog.mk>
.include <bsd.subdir.mk>