Deleted Added
full compact
Makefile (211725) Makefile (211935)
1# $FreeBSD: head/usr.bin/truss/Makefile 211725 2010-08-23 22:24:11Z imp $
1# $FreeBSD: head/usr.bin/truss/Makefile 211935 2010-08-28 15:04:53Z nwhitehorn $
2
3NO_WERROR=
4PROG= truss
2
3NO_WERROR=
4PROG= truss
5SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c ${MACHINE_CPUARCH}-fbsd.c
5SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c
6
6
7.if exists(${.CURDIR}/${MACHINE_ARCH}-fbsd.c)
8SRCS+= ${MACHINE_ARCH}-fbsd.c
9.else
10SRCS+= ${MACHINE_CPUARCH}-fbsd.c
11.endif
12
7CFLAGS+= -I${.CURDIR} -I.
8CLEANFILES= syscalls.master syscalls.h ioctl.c
9
10.SUFFIXES: .master
11
12syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
13 cat ${.ALLSRC} > syscalls.master
14

--- 33 unchanged lines hidden (view full) ---

48fbsd32-syscalls.master: ${.CURDIR}/../../sys/compat/freebsd32/syscalls.master
49 cat ${.ALLSRC} > ${.TARGET}
50
51freebsd32_syscalls.h: fbsd32-syscalls.master
52 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh ${.ALLSRC} \
53 ${.CURDIR}/fbsd32.conf
54.endif
55
13CFLAGS+= -I${.CURDIR} -I.
14CLEANFILES= syscalls.master syscalls.h ioctl.c
15
16.SUFFIXES: .master
17
18syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
19 cat ${.ALLSRC} > syscalls.master
20

--- 33 unchanged lines hidden (view full) ---

54fbsd32-syscalls.master: ${.CURDIR}/../../sys/compat/freebsd32/syscalls.master
55 cat ${.ALLSRC} > ${.TARGET}
56
57freebsd32_syscalls.h: fbsd32-syscalls.master
58 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh ${.ALLSRC} \
59 ${.CURDIR}/fbsd32.conf
60.endif
61
62.if ${MACHINE_ARCH} == "powerpc64"
63SRCS+= powerpc-fbsd.c freebsd32_syscalls.h
64CLEANFILES+=fbsd32-syscalls.master freebsd32_syscalls.h
65
66fbsd32-syscalls.master: ${.CURDIR}/../../sys/compat/freebsd32/syscalls.master
67 cat ${.ALLSRC} > ${.TARGET}
68
69freebsd32_syscalls.h: fbsd32-syscalls.master
70 /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh ${.ALLSRC} \
71 ${.CURDIR}/fbsd32.conf
72.endif
73
56.include <bsd.prog.mk>
74.include <bsd.prog.mk>