1# $FreeBSD$ 2 3SYSDIR?= ${.CURDIR}/../../.. 4 5.PATH: ${SYSDIR}/cddl/dev/systrace 6 7.if ${MACHINE} == "amd64" 8KMOD= systrace_linux32 9.else 10KMOD= systrace_linux 11.endif 12 13SRCS= systrace.c 14SRCS+= vnode_if.h 15 16CFLAGS+= -I${SYSDIR}/cddl/compat/opensolaris \ 17 -I${SYSDIR}/cddl/contrib/opensolaris/uts/common \ 18 -I${SYSDIR} -DLINUX_SYSTRACE 19 20.include <bsd.kmod.mk> 21 22CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h 23