Makefile revision 205869
1169249Srwatson# $FreeBSD: head/sys/modules/em/Makefile 205869 2010-03-29 23:36:34Z jfv $ 2181029Sjfv.PATH: ${.CURDIR}/../../dev/e1000 3169240SjfvKMOD = if_em 4184894SbzSRCS = device_if.h bus_if.h pci_if.h opt_inet.h 5205869SjfvSRCS += $(CORE_SRC) $(LEGACY_SRC) 6205869SjfvSRCS += $(COMMON_SHARED) $(LEGACY_SHARED) $(PCIE_SHARED) 7205869SjfvCORE_SRC = if_em.c e1000_osdep.c 8205869Sjfv# This is the Legacy, pre-PCIE source, it can be 9205869Sjfv# undefined when using modular driver if not needed 10205869SjfvLEGACY_SRC += if_lem.c 11205869SjfvCOMMON_SHARED = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 12205869SjfvPCIE_SHARED = e1000_80003es2lan.c e1000_ich8lan.c e1000_82571.c e1000_82575.c 13205869SjfvLEGACY_SHARED = e1000_82540.c e1000_82542.c e1000_82541.c e1000_82543.c 1487189Spdeuskar 15205869SjfvCFLAGS += -I${.CURDIR}/../../dev/e1000 16130258Sobrien 17205869Sjfv# DEVICE_POLLING for a non-interrupt-driven method 18169240Sjfv#CFLAGS += -DDEVICE_POLLING 19130258Sobrien 20169240Sjfvclean: 21177671Santoine rm -f device_if.h bus_if.h pci_if.h setdef* 22169240Sjfv rm -f *.o *.kld *.ko 23169240Sjfv rm -f @ machine 24169240Sjfv rm -f ${CLEANFILES} 25169240Sjfv 2687189Spdeuskar.include <bsd.kmod.mk> 27