Deleted Added
full compact
Makefile (111178) Makefile (115886)
1# $FreeBSD: head/usr.bin/truss/Makefile 111178 2003-02-20 15:09:52Z ru $
1# $FreeBSD: head/usr.bin/truss/Makefile 115886 2003-06-06 05:38:09Z marcel $
2
3PROG= truss
4SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c ${MACHINE_ARCH}-fbsd.c
5.if ${MACHINE_ARCH} == "i386"
6SRCS+= i386-linux.c linux_syscalls.h
7.endif
8
9CFLAGS+= -I${.CURDIR} -I.
10CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \
11 syscalls.h ioctl.c
12
13.SUFFIXES: .master
14
15i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master
2
3PROG= truss
4SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c ${MACHINE_ARCH}-fbsd.c
5.if ${MACHINE_ARCH} == "i386"
6SRCS+= i386-linux.c linux_syscalls.h
7.endif
8
9CFLAGS+= -I${.CURDIR} -I.
10CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \
11 syscalls.h ioctl.c
12
13.SUFFIXES: .master
14
15i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master
16 cp ${.ALLSRC} i386l-syscalls.master
16 cat ${.ALLSRC} > i386l-syscalls.master
17
18linux_syscalls.h: i386l-syscalls.master
19 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
20 ${.CURDIR}/i386linux.conf
21
22syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
17
18linux_syscalls.h: i386l-syscalls.master
19 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
20 ${.CURDIR}/i386linux.conf
21
22syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
23 cp ${.ALLSRC} syscalls.master
23 cat ${.ALLSRC} > syscalls.master
24
25syscalls.h: syscalls.master
26 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
27 ${.CURDIR}/i386.conf
28
29ioctl.c: ${.CURDIR}/../kdump/mkioctls
30 sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
31
32.include <bsd.prog.mk>
24
25syscalls.h: syscalls.master
26 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
27 ${.CURDIR}/i386.conf
28
29ioctl.c: ${.CURDIR}/../kdump/mkioctls
30 sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
31
32.include <bsd.prog.mk>