dma: allow empty sender in queue files
[dragonfly.git] / usr.bin / truss / Makefile
blob553f1dacc5d22c7fd970305da87005bad6237ce3
1 # $FreeBSD: src/usr.bin/truss/Makefile,v 1.10.2.2 2002/07/23 09:18:30 ru Exp $
2 # $DragonFly: src/usr.bin/truss/Makefile,v 1.8 2007/08/27 16:51:00 pavalos Exp $
4 PROG= truss
5 SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c
6 .if (${MACHINE_ARCH} == "i386")
7 SRCS+= i386-fbsd.c i386-linux.c linux_syscalls.h
8 .endif
10 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../sys -I.
12 CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \
13 syscalls.h ioctl.c
15 .SUFFIXES: .master
17 i386l-syscalls.master: ${.CURDIR}/../../sys/emulation/linux/i386/syscalls.master
18 cp ${.ALLSRC} i386l-syscalls.master
20 linux_syscalls.h: i386l-syscalls.master
21 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
22 ${.CURDIR}/i386linux.conf
24 syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
25 cp ${.ALLSRC} syscalls.master
27 syscalls.h: syscalls.master
28 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
29 ${.CURDIR}/i386.conf
31 ioctl.c: ${.CURDIR}/../kdump/mkioctls
32 sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
34 .include <bsd.prog.mk>