4 # Declare Name of kernel module
7 # Enumerate Source files for kernel module
8 .PATH: ${.CURDIR}/../../dev/wtap
9 SRCS = if_wtap_module.c if_wtap.c if_medium.c
11 .PATH: ${.CURDIR}/../../dev/wtap/wtap_hal
14 .PATH: ${.CURDIR}/../../dev/wtap/plugins
19 .if defined(KERNBUILDDIR)
20 MKDEP= -include ${KERNBUILDDIR}/opt_global.h
22 CFLAGS+= -include opt_global.h
23 MKDEP= -include opt_global.h
26 echo "#define VIMAGE 1" > ${.TARGET}
29 # Include kernel module makefile
30 .include <bsd.kmod.mk>