diff options
Diffstat (limited to 'sys/modules/wtap/Makefile')
-rw-r--r-- | sys/modules/wtap/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/modules/wtap/Makefile b/sys/modules/wtap/Makefile new file mode 100644 index 000000000000..0ad01b627b15 --- /dev/null +++ b/sys/modules/wtap/Makefile @@ -0,0 +1,23 @@ + +KMOD= wtap + +.PATH: ${SRCTOP}/sys/dev/wtap +SRCS= if_wtap_module.c if_wtap.c if_medium.c + +.PATH: ${SRCTOP}/sys/dev/wtap/wtap_hal +SRCS+= hal.c + +.PATH: ${SRCTOP}/sys/dev/wtap/plugins +SRCS+= visibility.c + +SRCS+= opt_wlan.h opt_global.h + +.if !defined(KERNBUILDDIR) +.if defined(VIMAGE) +opt_global.h: + echo "#define VIMAGE 1" >> ${.TARGET} +CFLAGS+= -include opt_global.h +.endif +.endif + +.include <bsd.kmod.mk> |