1# $FreeBSD: releng/11.0/sys/modules/wtap/Makefile 297434 2016-03-30 23:50:23Z bdrewery $ 2 3 4# Declare Name of kernel module 5KMOD = wtap 6 7# Enumerate Source files for kernel module 8.PATH: ${.CURDIR}/../../dev/wtap 9SRCS = if_wtap_module.c if_wtap.c if_medium.c 10 11.PATH: ${.CURDIR}/../../dev/wtap/wtap_hal 12SRCS += hal.c 13 14.PATH: ${.CURDIR}/../../dev/wtap/plugins 15SRCS += visibility.c 16 17SRCS += opt_global.h 18 19.if !defined(KERNBUILDDIR) 20CFLAGS+= -include opt_global.h 21 22opt_global.h: 23 echo "#define VIMAGE 1" > ${.TARGET} 24.endif 25 26# Include kernel module makefile 27.include <bsd.kmod.mk> 28