freebsd-nq/sys/modules/en/Makefile
Hartmut Brandt 57112b8d4a Repo-copy of sys/pci/if_en_pci.c to the rest of the midway driver (sys/dev/en)
so that all of the driver sources are in one place. Adjust the configuration
files and the module build.
2003-06-16 15:25:51 +00:00

21 lines
385 B
Makefile

# $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+= -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>