summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-09-14 18:53:08 +0000
committerjkh <jkh@FreeBSD.org>2000-09-14 18:53:08 +0000
commiteeb064d69ce03414f67fa4bfbc006e2187f8ca07 (patch)
tree05a729ddc5ba9614ddd12ca2e264a7d8d473f2f6 /usr.bin/truss
parentdbe9e49ef5dafdbdb71a8dcb769404718b7dc57d (diff)
downloadFreeBSD-src-eeb064d69ce03414f67fa4bfbc006e2187f8ca07.zip
FreeBSD-src-eeb064d69ce03414f67fa4bfbc006e2187f8ca07.tar.gz
cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../.. Fix ioctl.c creation to deal with the depend case more properly.
Submitted by: Ruslan Ermilov <ru@sunbay.com>
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile
index 9dc6bba..9b43792 100644
--- a/usr.bin/truss/Makefile
+++ b/usr.bin/truss/Makefile
@@ -28,7 +28,11 @@ syscalls.h: syscalls.master
/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
${.CURDIR}/i386.conf
-ioctl.c:
- sh ${.CURDIR}/../../usr.bin/kdump/mkioctls ${DESTDIR}/usr/include > ioctl.c
+.if make(depend)
+ioctl.c: .PHONY
+.else
+ioctl.c: ${.CURDIR}/../kdump/mkioctls
+.endif
+ sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud