]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/en/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / en / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/en
4
5 KMOD=   if_en
6 SRCS=   if_en_pci.c midway.c device_if.h bus_if.h pci_if.h
7 SRCS+=  opt_inet.h opt_natm.h opt_ddb.h
8 CFLAGS+= -DENABLE_BPF
9 # CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DEN_DEBUG=0
10
11 .if !defined(KERNBUILDDIR)
12 opt_inet.h:
13         echo "#define INET 1" > ${.TARGET}
14
15 opt_natm.h:
16         echo "#define NATM 1" > ${.TARGET}
17
18 # opt_ddb.h:
19 #       echo "#define DDB 1" > ${.TARGET}
20 .endif
21
22 .include <bsd.kmod.mk>