Makefile revision 87703
1# $FreeBSD: head/usr.bin/truss/Makefile 87703 2001-12-11 23:34:02Z markm $ 2 3PROG= truss 4SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c 5.if (${MACHINE_ARCH} == "alpha") 6SRCS+= alpha-fbsd.c 7.elif (${MACHINE_ARCH} == "i386") 8SRCS+= i386-fbsd.c i386-linux.c linux_syscalls.h 9.endif 10 11WARNS?= 1 12NO_WERROR=yes 13 14CFLAGS+= -I${.CURDIR} -I. 15CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \ 16 syscalls.h ioctl.c 17 18.SUFFIXES: .master 19 20i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master 21 cp ${.ALLSRC} i386l-syscalls.master 22 23linux_syscalls.h: i386l-syscalls.master 24 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \ 25 ${.CURDIR}/i386linux.conf 26 27syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master 28 cp ${.ALLSRC} syscalls.master 29 30syscalls.h: syscalls.master 31 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \ 32 ${.CURDIR}/i386.conf 33 34.if make(depend) 35ioctl.c: .PHONY 36.else 37ioctl.c: ${.CURDIR}/../kdump/mkioctls 38.endif 39 sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET} 40 41.include <bsd.prog.mk> 42