1PROG= truss 2SRCS= main.c setup.c i386-fbsd.c i386-linux.c \ 3 syscalls.c linux_syscalls.h syscalls.h ioctl.c 4CFLAGS+= -I${.CURDIR} -I. 5CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \ 6 syscalls.h ioctl.c 7 8.SUFFIXES: .master 9 10i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master 11 cp ${.ALLSRC} i386l-syscalls.master 12 13linux_syscalls.h: i386l-syscalls.master 14 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \ 15 ${.CURDIR}/i386linux.conf 16 17syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master 18 cp ${.ALLSRC} syscalls.master 19 20syscalls.h: syscalls.master 21 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \ 22 ${.CURDIR}/i386.conf 23 24ioctl.c: ${.CURDIR}/../../usr.bin/kdump/mkioctls 25 /bin/sh ${.CURDIR}/../../usr.bin/kdump/mkioctls > ioctl.c 26 27.include <bsd.prog.mk> 28