diff options
author | 2002-07-04 21:19:49 +0000 | |
---|---|---|
committer | 2002-07-04 21:19:49 +0000 | |
commit | 6b76c134fd9e54130d413fd633393351ddf08eb6 (patch) | |
tree | d5885a4773658eb71bd1f17a30350ee36d63cd33 | |
parent | ep at isapnp works (dma on isapnp is still non-working). (diff) | |
download | wireguard-openbsd-6b76c134fd9e54130d413fd633393351ddf08eb6.tar.xz wireguard-openbsd-6b76c134fd9e54130d413fd633393351ddf08eb6.zip |
support non-"objdir" build. From: David Krause <openbsd@davidkrause.com>
-rw-r--r-- | usr.sbin/dhcp/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/dhcp/Makefile.inc b/usr.sbin/dhcp/Makefile.inc index a8e5e4dfe38..5a1958fe98b 100644 --- a/usr.sbin/dhcp/Makefile.inc +++ b/usr.sbin/dhcp/Makefile.inc @@ -41,7 +41,11 @@ CPPFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../includes \ -DCLIENT_PATH=${CLIENT_PATH} -Wall -Werror COMMONDIR0!= cd ${.CURDIR}/../common; pwd +.if exists(${COMMONDIR0}/${__objdir}) COMMONDIR= ${COMMONDIR0}/${__objdir} +.else +COMMONDIR= ${COMMONDIR0} +.endif .if exists(${.CURDIR}/../../Makefile.inc) .include "${.CURDIR}/../../Makefile.inc" |