]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/truss/Makefile
This commit was generated by cvs2svn to compensate for changes in r170256,
[FreeBSD/FreeBSD.git] / usr.bin / truss / Makefile
1 # $FreeBSD$
2
3 WARNS?= 6       
4 NO_WERROR=
5 PROG=   truss
6 SRCS=   main.c setup.c syscalls.c syscalls.h ioctl.c ${MACHINE_ARCH}-fbsd.c
7 .if ${MACHINE_ARCH} == "i386"
8 SRCS+=  i386-linux.c linux_syscalls.h
9 .endif
10
11 CFLAGS+= -I${.CURDIR} -I.
12 CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \
13         syscalls.h ioctl.c
14
15 .SUFFIXES: .master
16
17 i386l-syscalls.master:  ${.CURDIR}/../../sys/i386/linux/syscalls.master
18         cat ${.ALLSRC} > i386l-syscalls.master
19
20 linux_syscalls.h:       i386l-syscalls.master
21         /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
22                 ${.CURDIR}/i386linux.conf
23
24 syscalls.master:        ${.CURDIR}/../../sys/kern/syscalls.master
25         cat ${.ALLSRC} > syscalls.master
26
27 syscalls.h:     syscalls.master
28         /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
29                 ${.CURDIR}/i386.conf
30
31 ioctl.c: ${.CURDIR}/../kdump/mkioctls
32         sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
33
34 .include <bsd.prog.mk>