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