summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/Makefile.inc
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/Makefile.inc
parentadea637ba2ffdae4f3941cdd150a7cda541c73d5 (diff)
optimize build time. based on PR 2715
Diffstat (limited to 'usr.sbin/dhcp/Makefile.inc')
-rw-r--r--usr.sbin/dhcp/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/dhcp/Makefile.inc b/usr.sbin/dhcp/Makefile.inc
index 537075a53bb..a8e5e4dfe38 100644
--- a/usr.sbin/dhcp/Makefile.inc
+++ b/usr.sbin/dhcp/Makefile.inc
@@ -36,13 +36,13 @@
CLIENT_PATH = '"PATH=/usr/bin:/usr/sbin:/bin:/sbin"'
-SRCS += alloc.c dispatch.c hash.c memory.c print.c bpf.c icmp.c options.c \
- tree.c conflex.c errwarn.c inet.c packet.c socket.c convert.c \
- ethernet.c tables.c parse.c
CPPFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../includes \
-DCLIENT_PATH=${CLIENT_PATH} -Wall -Werror
+COMMONDIR0!= cd ${.CURDIR}/../common; pwd
+COMMONDIR= ${COMMONDIR0}/${__objdir}
+
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif