1
2add_definitions(
3    -DNDIS50_MINIPORT
4    -DNDIS_MINIPORT_DRIVER
5    -DNDIS_LEGACY_MINIPORT)
6
7list(APPEND SOURCE
8    ndis.c
9    hardware.c
10    info.c
11    interrupt.c
12    nic.h
13    e1000hw.h
14    debug.c
15    debug.h)
16
17add_library(e1000 MODULE ${SOURCE} e1000.rc)
18add_pch(e1000 nic.h SOURCE)
19set_module_type(e1000 kernelmodedriver)
20add_importlibs(e1000 ndis ntoskrnl hal)
21add_cd_file(TARGET e1000 DESTINATION reactos/system32/drivers FOR all)
22add_driver_inf(e1000 nete1000.inf)
23