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