12bfc1108f8698d6cd53dcbc3c39ae435cf65ce4
[dragonfly.git] / sys / dev / netif / emx / Makefile
1 KMOD=   if_emx
2 SRCS=   if_emx.c
3 SRCS+=  device_if.h bus_if.h pci_if.h
4 SRCS+=  opt_polling.h opt_ktr.h opt_serializer.h opt_emx.h opt_rss.h
5
6 KMODDEPS = ig_hal
7
8 .ifndef BUILDING_WITH_KERNEL
9
10 opt_polling.h:
11         echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET}
12
13 opt_serializer.h:
14         touch ${.OBJDIR}/${.TARGET}
15
16 opt_emx.h:
17         touch ${.OBJDIR}/${.TARGET}
18
19 opt_rss.h:
20         touch ${.OBJDIR}/${.TARGET}
21
22 .endif
23
24 .include <bsd.kmod.mk>