1# $FreeBSD: head/sys/modules/en/Makefile 118553 2003-08-06 16:01:32Z harti $
| 1# $FreeBSD: head/sys/modules/en/Makefile 151350 2005-10-14 23:30:17Z yar $
|
2 3.PATH: ${.CURDIR}/../../dev/en 4 5KMOD= if_en 6SRCS= if_en_pci.c midway.c device_if.h bus_if.h pci_if.h 7SRCS+= opt_inet.h opt_natm.h opt_ddb.h 8CFLAGS+= -DENABLE_BPF 9# CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DEN_DEBUG=0 10
| 2 3.PATH: ${.CURDIR}/../../dev/en 4 5KMOD= if_en 6SRCS= if_en_pci.c midway.c device_if.h bus_if.h pci_if.h 7SRCS+= opt_inet.h opt_natm.h opt_ddb.h 8CFLAGS+= -DENABLE_BPF 9# CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DEN_DEBUG=0 10
|
| 11.if !defined(KERNBUILDDIR)
|
11opt_inet.h: 12 echo "#define INET 1" > ${.TARGET} 13 14opt_natm.h: 15 echo "#define NATM 1" > ${.TARGET} 16 17# opt_ddb.h: 18# echo "#define DDB 1" > ${.TARGET}
| 12opt_inet.h: 13 echo "#define INET 1" > ${.TARGET} 14 15opt_natm.h: 16 echo "#define NATM 1" > ${.TARGET} 17 18# opt_ddb.h: 19# echo "#define DDB 1" > ${.TARGET}
|
| 20.endif
|
19 20.include <bsd.kmod.mk>
| 21 22.include <bsd.kmod.mk>
|