1# $FreeBSD: head/usr.bin/truss/Makefile 175980 2008-02-05 08:52:36Z des $
| 1# $FreeBSD: head/usr.bin/truss/Makefile 179051 2008-05-16 15:34:06Z jhb $
|
2 3WARNS?= 6 4NO_WERROR= 5PROG= truss 6SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c ${MACHINE_ARCH}-fbsd.c
| 2 3WARNS?= 6 4NO_WERROR= 5PROG= truss 6SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c ${MACHINE_ARCH}-fbsd.c
|
7.if ${MACHINE_ARCH} == "i386" 8SRCS+= i386-linux.c linux_syscalls.h 9.endif
| |
10 11CFLAGS+= -I${.CURDIR} -I.
| 7 8CFLAGS+= -I${.CURDIR} -I.
|
12CLEANFILES=i386l-syscalls.master syscalls.master linux_syscalls.h \ 13 syscalls.h ioctl.c
| 9CLEANFILES= syscalls.master syscalls.h ioctl.c
|
14 15.SUFFIXES: .master 16
| 10 11.SUFFIXES: .master 12
|
17i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master 18 cat ${.ALLSRC} > i386l-syscalls.master 19 20linux_syscalls.h: i386l-syscalls.master 21 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \ 22 ${.CURDIR}/i386linux.conf 23
| |
24syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master 25 cat ${.ALLSRC} > syscalls.master 26 27syscalls.h: syscalls.master 28 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \ 29 ${.CURDIR}/i386.conf 30 31ioctl.c: ${.CURDIR}/../kdump/mkioctls 32 sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET} 33
| 13syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master 14 cat ${.ALLSRC} > syscalls.master 15 16syscalls.h: syscalls.master 17 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \ 18 ${.CURDIR}/i386.conf 19 20ioctl.c: ${.CURDIR}/../kdump/mkioctls 21 sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET} 22
|
| 23.if ${MACHINE_ARCH} == "i386" 24SRCS+= i386-linux.c linux_syscalls.h 25CLEANFILES+=i386l-syscalls.master linux_syscalls.h 26 27i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master 28 cat ${.ALLSRC} > ${.TARGET} 29 30linux_syscalls.h: i386l-syscalls.master 31 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh ${.ALLSRC} \ 32 ${.CURDIR}/i386linux.conf 33.endif 34 35.if ${MACHINE_ARCH} == "amd64" 36SRCS+= amd64-linux32.c linux32_syscalls.h 37CLEANFILES+=amd64l32-syscalls.master linux32_syscalls.h 38 39amd64l32-syscalls.master: ${.CURDIR}/../../sys/amd64/linux32/syscalls.master 40 cat ${.ALLSRC} > ${.TARGET} 41 42linux32_syscalls.h: amd64l32-syscalls.master 43 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh ${.ALLSRC} \ 44 ${.CURDIR}/amd64linux32.conf 45 46SRCS+= amd64-fbsd32.c freebsd32_syscalls.h 47CLEANFILES+=fbsd32-syscalls.master freebsd32_syscalls.h 48 49fbsd32-syscalls.master: ${.CURDIR}/../../sys/compat/freebsd32/syscalls.master 50 cat ${.ALLSRC} > ${.TARGET} 51 52freebsd32_syscalls.h: fbsd32-syscalls.master 53 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh ${.ALLSRC} \ 54 ${.CURDIR}/fbsd32.conf 55.endif 56
|
34.include <bsd.prog.mk>
| 57.include <bsd.prog.mk>
|