2003-04-25 16:14:03 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-06-16 15:25:51 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/en
|
2003-04-25 16:14:03 +00:00
|
|
|
|
|
|
|
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
|
2003-08-06 16:01:32 +00:00
|
|
|
# CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DEN_DEBUG=0
|
2003-04-25 16:14:03 +00:00
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2003-04-25 16:14:03 +00:00
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > ${.TARGET}
|
|
|
|
|
|
|
|
opt_natm.h:
|
|
|
|
echo "#define NATM 1" > ${.TARGET}
|
|
|
|
|
|
|
|
# opt_ddb.h:
|
|
|
|
# echo "#define DDB 1" > ${.TARGET}
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2003-04-25 16:14:03 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|