xref: /dragonfly/sys/dev/netif/em/Makefile (revision 3641b7ca)
1#$FreeBSD: src/sys/modules/em/Makefile,v 1.1.2.3 2002/06/18 21:00:56 pdeuskar Exp $
2#$DragonFly: src/sys/dev/netif/em/Makefile,v 1.9 2008/05/02 07:40:32 sephe Exp $
3
4KMOD=	if_em
5SRCS=	if_em.c if_em_hw.c
6SRCS+=	device_if.h bus_if.h pci_if.h
7SRCS+=	opt_polling.h opt_inet.h opt_ktr.h opt_serializer.h opt_ethernet.h
8
9.ifndef BUILDING_WITH_KERNEL
10opt_polling.h:
11	echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET}
12
13opt_inet.h:
14	echo "#define INET 1" > ${.OBJDIR}/${.TARGET}
15
16opt_serializer.h:
17	touch ${.OBJDIR}/${.TARGET}
18
19opt_ethernet.h:
20	touch ${.OBJDIR}/${.TARGET}
21.endif
22
23.include <bsd.kmod.mk>
24