mxge: Unify firmware handling with the rest of the system.
[dragonfly.git] / usr.bin / truss / Makefile
blob37e02ccd0f91b0741e83cbd3cda4ae885889ed28
1 # $FreeBSD: src/usr.bin/truss/Makefile,v 1.10.2.2 2002/07/23 09:18:30 ru Exp $
3 PROG= truss
4 SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c ${MACHINE_ARCH}-fbsd.c
6 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../sys
7 CFLAGS+= -I${.CURDIR}/../../sys/dev/drm/include -I.
8 CFLAGS+= -I${.CURDIR}/../../sys/contrib/dev/acpica/source/include
10 CLEANFILES+=syscalls.master syscalls.h ioctl.c
12 .SUFFIXES: .master
14 syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
15 cp ${.ALLSRC} syscalls.master
17 syscalls.h: syscalls.master
18 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
19 ${.CURDIR}/i386.conf
21 ioctl.c!
22 sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include ${.CURDIR} > ${.TARGET}
24 .include <bsd.prog.mk>