summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/statmsg
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/statmsg
parentadea637ba2ffdae4f3941cdd150a7cda541c73d5 (diff)
optimize build time. based on PR 2715
Diffstat (limited to 'usr.sbin/dhcp/statmsg')
-rw-r--r--usr.sbin/dhcp/statmsg/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/dhcp/statmsg/Makefile b/usr.sbin/dhcp/statmsg/Makefile
index 336bbc8b943..618c60546d4 100644
--- a/usr.sbin/dhcp/statmsg/Makefile
+++ b/usr.sbin/dhcp/statmsg/Makefile
@@ -30,8 +30,11 @@
# OF THE POSSIBILITY OF SUCH DAMAGE.
#
-SRCS = main.c
-PROG = statmsg
-MAN = statmsg.8
+SRCS= main.c
+PROG= statmsg
+MAN= statmsg.8
+
+LDADD+= -L${COMMONDIR} -ldhcp
+DPADD+= ${COMMONDIR}/libdhcp.a
.include <bsd.prog.mk>