diff options
Diffstat (limited to 'usr.bin/truss/Makefile')
-rw-r--r-- | usr.bin/truss/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile index 63172a8..8db1458 100644 --- a/usr.bin/truss/Makefile +++ b/usr.bin/truss/Makefile @@ -1,6 +1,11 @@ PROG= truss -SRCS= main.c setup.c i386-fbsd.c i386-linux.c \ - syscalls.c linux_syscalls.h syscalls.h ioctl.c +SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c +.if (${MACHINE} == "alpha") +SRCS+= alpha-fbsd.c +.elif (${MACHINE} == "i386") +SRCS+= i386-fbsd.c i386-linux.c linux_syscalls.h +.endif + CFLAGS+= -I${.CURDIR} -I. CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \ syscalls.h ioctl.c |