diff options
Diffstat (limited to 'usr.bin/top')
-rw-r--r-- | usr.bin/top/Makefile | 7 | ||||
-rw-r--r-- | usr.bin/top/Makefile.depend | 31 |
2 files changed, 35 insertions, 3 deletions
diff --git a/usr.bin/top/Makefile b/usr.bin/top/Makefile index 67ab20d8d79a..9e62b4fa6eac 100644 --- a/usr.bin/top/Makefile +++ b/usr.bin/top/Makefile @@ -25,13 +25,14 @@ 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} CLEANFILES+= top.local.h top.x -.SUFFIXES: .X .x .H .h -.X.x .H.h: +.SUFFIXES: .xs .x .hs .h +.xs.x .hs.h: @${ECHO} Making ${.TARGET} from ${.IMPSRC} @sed -e's,%LoadMax%,5.0,g' \ -e's,%TableSize%,20011,g' \ diff --git a/usr.bin/top/Makefile.depend b/usr.bin/top/Makefile.depend new file mode 100644 index 000000000000..9d6b4edca3e3 --- /dev/null +++ b/usr.bin/top/Makefile.depend @@ -0,0 +1,31 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + bin/cat.host \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libjail \ + lib/libkvm \ + lib/msun \ + lib/ncurses/ncursesw \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +commands.o: sigdesc.h +commands.po: sigdesc.h +display.o: top.local.h +display.po: top.local.h +top.o: top.local.h +top.po: top.local.h +username.o: top.local.h +username.po: top.local.h +.endif |