1283421Sdchagin# $FreeBSD: releng/10.3/sys/modules/linux_common/Makefile 293575 2016-01-09 17:29:08Z dchagin $ 2283421Sdchagin 3283421Sdchagin.PATH: ${.CURDIR}/../../compat/linux 4283421Sdchagin 5283421SdchaginKMOD= linux_common 6293528SdchaginSRCS= linux_common.c linux_mib.c linux_util.c linux_emul.c \ 7293575Sdchagin linux.c opt_compat.h device_if.h vnode_if.h bus_if.h 8283421Sdchagin 9283421SdchaginEXPORT_SYMS= 10283421SdchaginEXPORT_SYMS+= linux_emul_path 11283421SdchaginEXPORT_SYMS+= linux_ioctl_register_handler 12283421SdchaginEXPORT_SYMS+= linux_ioctl_unregister_handler 13283421SdchaginEXPORT_SYMS+= linux_get_osname 14283421SdchaginEXPORT_SYMS+= linux_get_osrelease 15283421Sdchagin 16283421Sdchagin.if !defined(KERNBUILDDIR) 17283421Sdchagin.if defined(DEBUG) 18283421SdchaginCFLAGS+=-DDEBUG 19283421Sdchagin.endif 20283421Sdchagin.if defined(KTR) 21283421SdchaginCFLAGS+=-DKTR 22283421Sdchagin.endif 23283421Sdchagin.endif 24283421Sdchagin 25283421Sdchagin.include <bsd.kmod.mk> 26