1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../compat/linux 4 5KMOD= linux_common 6SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \ 7 linux.c opt_compat.h device_if.h vnode_if.h bus_if.h 8 9EXPORT_SYMS= 10EXPORT_SYMS+= linux_emul_path 11EXPORT_SYMS+= linux_ioctl_register_handler 12EXPORT_SYMS+= linux_ioctl_unregister_handler 13EXPORT_SYMS+= linux_get_osname 14EXPORT_SYMS+= linux_get_osrelease 15 16.if !defined(KERNBUILDDIR) 17.if defined(DEBUG) 18CFLAGS+=-DDEBUG 19.endif 20.if defined(KTR) 21CFLAGS+=-DKTR 22.endif 23.endif 24 25.include <bsd.kmod.mk> 26