1 # $FreeBSD: src/usr.bin/truss/Makefile,v 1.10.2.2 2002/07/23 09:18:30 ru Exp $
4 SRCS
= main.c setup.c syscalls.c syscalls.h ioctl.c
${MACHINE_ARCH}-fbsd.c
5 .if
(${MACHINE_ARCH} == "i386")
6 SRCS
+= i386-linux.c linux_syscalls.h
9 CFLAGS
+= -I
${.CURDIR
} -I
${.CURDIR
}/..
/..
/sys
10 CFLAGS
+= -I
${.CURDIR
}/..
/..
/sys
/dev
/drm
/include -I.
11 CFLAGS
+= -I
${.CURDIR
}/..
/..
/sys
/contrib
/dev
/acpica
/source
/include
13 CLEANFILES
+=i386l-syscalls.master syscalls.master linux_syscalls.h \
18 i386l-syscalls.master
: ${.CURDIR
}/..
/..
/sys
/emulation
/linux
/i386
/syscalls.master
19 cp
${.ALLSRC
} i386l-syscalls.master
21 linux_syscalls.h
: i386l-syscalls.master
22 /bin
/sh
${.CURDIR
}/..
/..
/sys
/kern
/makesyscalls.sh i386l-syscalls.master \
23 ${.CURDIR
}/i386linux.conf
25 syscalls.master
: ${.CURDIR
}/..
/..
/sys
/kern
/syscalls.master
26 cp
${.ALLSRC
} syscalls.master
28 syscalls.h
: syscalls.master
29 /bin
/sh
${.CURDIR
}/..
/..
/sys
/kern
/makesyscalls.sh syscalls.master \
33 sh
${.CURDIR
}/..
/kdump
/mkioctls
${DESTDIR}/usr
/include ${.CURDIR
} > ${.TARGET
}
35 .
include <bsd.prog.mk
>