freebsd-dev/sys/modules/wtap/Makefile
Bjoern A. Zeeb d1f5aa5633 wtap: cleanup module Makefile
Remove comments and change whitespace.
Cleanup the opt_* and -nclude opt_global.h bits to avoid various warnings.
2022-08-01 19:49:59 +00:00

25 lines
414 B
Makefile

# $FreeBSD$
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>