summaryrefslogtreecommitdiffstats
path: root/usr.bin/top/Makefile
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2015-06-13 19:20:56 +0000
committersjg <sjg@FreeBSD.org>2015-06-13 19:20:56 +0000
commit008d7c831feeec7a3430b92f009e28762c6740f1 (patch)
tree224d8be23eae518123c5b6db18c9819fe6ac6c62 /usr.bin/top/Makefile
parent9c7d3132bfe16d56cf42cff4126ecc32c4dbc2a9 (diff)
parenta4e18934b74c201653c0142376816d9d840a5ced (diff)
downloadFreeBSD-src-008d7c831feeec7a3430b92f009e28762c6740f1.zip
FreeBSD-src-008d7c831feeec7a3430b92f009e28762c6740f1.tar.gz
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
Diffstat (limited to 'usr.bin/top/Makefile')
-rw-r--r--usr.bin/top/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/top/Makefile b/usr.bin/top/Makefile
index e7ace68..9e62b4f 100644
--- a/usr.bin/top/Makefile
+++ b/usr.bin/top/Makefile
@@ -25,7 +25,8 @@ LIBADD= ncursesw m kvm jail
CLEANFILES= sigdesc.h
SIGCONV_AWK= ${.CURDIR}/../../contrib/top/sigconv.awk
-SIGNAL_H= ${DESTDIR}/usr/include/sys/signal.h
+STAGED_INCLUDE_DIR?= ${DESTDIR}/usr/include
+SIGNAL_H= ${STAGED_INCLUDE_DIR}/sys/signal.h
sigdesc.h: ${SIGCONV_AWK} ${SIGNAL_H}
awk -f ${SIGCONV_AWK} < ${SIGNAL_H} > ${.TARGET}
OpenPOWER on IntegriCloud