summaryrefslogtreecommitdiffstats
path: root/sys/modules/wtap/Makefile
blob: 58f60fb2ef6a24eefecc1fb36e7bfce372472f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $FreeBSD$


# Declare Name of kernel module
KMOD	=  wtap

# Enumerate Source files for kernel module
.PATH:	${.CURDIR}/../../dev/wtap
SRCS	=  if_wtap_module.c if_wtap.c if_medium.c

.PATH:	${.CURDIR}/../../dev/wtap/wtap_hal
SRCS	+= hal.c

.PATH:	${.CURDIR}/../../dev/wtap/plugins
SRCS	+= visibility.c

SRCS	+= opt_global.h

.if !defined(KERNBUILDDIR)
CFLAGS+=        -include opt_global.h

opt_global.h:
	echo "#define VIMAGE 1" > ${.TARGET}
.endif

# Include kernel module makefile
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud