]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/wtap/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / wtap / Makefile
1 # $FreeBSD$
2
3
4 # Declare Name of kernel module
5 KMOD    =  wtap
6
7 # Enumerate Source files for kernel module
8 .PATH:  ${.CURDIR}/../../dev/wtap
9 SRCS    =  if_wtap_module.c if_wtap.c if_medium.c
10
11 .PATH:  ${.CURDIR}/../../dev/wtap/wtap_hal
12 SRCS    += hal.c
13
14 .PATH:  ${.CURDIR}/../../dev/wtap/plugins
15 SRCS    += visibility.c
16
17 SRCS    += opt_global.h
18
19 .if defined(KERNBUILDDIR)
20 MKDEP=          -include ${KERNBUILDDIR}/opt_global.h
21 .else
22 CFLAGS+=        -include opt_global.h
23 MKDEP=          -include opt_global.h
24
25 opt_global.h:
26         echo "#define VIMAGE 1" > ${.TARGET}
27 .endif
28
29 # Include kernel module makefile
30 .include <bsd.kmod.mk>