From: bdrewery Date: Wed, 28 Oct 2015 16:31:04 +0000 (+0000) Subject: Include libutil's headers directly from src to avoid recording a dirdeps X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=78fa4cdb3ca68cc791d70aa1e7194666ce617958;p=people%2Fjulieng%2Ffreebsd.git Include libutil's headers directly from src to avoid recording a dirdeps dependency for META MODE. --- diff --git a/usr.sbin/mpsutil/Makefile b/usr.sbin/mpsutil/Makefile index 9f93215b2bb7..b559b7f64d0b 100644 --- a/usr.sbin/mpsutil/Makefile +++ b/usr.sbin/mpsutil/Makefile @@ -11,7 +11,8 @@ LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil MLINKS= mpsutil.8 mprutil.8 CFLAGS+= -I${.CURDIR}/../../sys -I. -DUSE_MPT_IOCTLS - +# Avoid dirdep dependency on libutil +CFLAGS+= -I${SRCTOP}/lib/libutil # Here be dragons .ifdef DEBUG diff --git a/usr.sbin/mpsutil/Makefile.depend b/usr.sbin/mpsutil/Makefile.depend index 58f9a3347b00..3646e2e2b1af 100644 --- a/usr.sbin/mpsutil/Makefile.depend +++ b/usr.sbin/mpsutil/Makefile.depend @@ -9,7 +9,6 @@ DIRDEPS = \ lib/${CSU_DIR} \ lib/libc \ lib/libcompiler_rt \ - lib/libutil \ .include