summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss/Makefile
diff options
context:
space:
mode:
authorsef <sef@FreeBSD.org>1997-12-06 05:23:12 +0000
committersef <sef@FreeBSD.org>1997-12-06 05:23:12 +0000
commit9e9a114f06c905e161ecc38cc4dc8af9b94ebb1e (patch)
tree700ff37c19e14441400de713fc6c2d0bce947daf /usr.bin/truss/Makefile
parentbfd5e43c20b17aed3a09d69833c3db05c8a68609 (diff)
downloadFreeBSD-src-9e9a114f06c905e161ecc38cc4dc8af9b94ebb1e.zip
FreeBSD-src-9e9a114f06c905e161ecc38cc4dc8af9b94ebb1e.tar.gz
Truss program. Requires procfs.
Diffstat (limited to 'usr.bin/truss/Makefile')
-rw-r--r--usr.bin/truss/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile
new file mode 100644
index 0000000..a34501a0
--- /dev/null
+++ b/usr.bin/truss/Makefile
@@ -0,0 +1,23 @@
+PROG= truss
+SRCS= main.c setup.c i386-fbsd.c i386-linux.c \
+ syscalls.c linux_syscalls.h syscalls.h
+CFLAGS+= -I${.CURDIR} -I.
+CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h syscalls.h
+
+.SUFFIXES: .master
+
+i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master
+ cp ${.ALLSRC} i386l-syscalls.master
+
+linux_syscalls.h: i386l-syscalls.master
+ /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
+ ${.CURDIR}/i386linux.conf
+
+syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
+ cp ${.ALLSRC} syscalls.master
+
+syscalls.h: syscalls.master
+ /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
+ ${.CURDIR}/i386.conf
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud