summaryrefslogtreecommitdiffstats
path: root/sys/modules/en/Makefile
blob: 42909facad40596475290d4ebb920298ca57d71c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $FreeBSD$

.PATH: ${.CURDIR}/../../dev/en

KMOD=	if_en
SRCS=	if_en_pci.c midway.c device_if.h bus_if.h pci_if.h
SRCS+=	opt_inet.h opt_natm.h opt_ddb.h
CFLAGS+= -DENABLE_BPF
# CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DEN_DEBUG=0

opt_inet.h:
	echo "#define INET 1" > ${.TARGET}

opt_natm.h:
	echo "#define NATM 1" > ${.TARGET}

# opt_ddb.h:
# 	echo "#define DDB 1" > ${.TARGET}

.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud