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    send.c)
17
18add_library(e1000 MODULE ${SOURCE} e1000.rc)
19add_pch(e1000 nic.h SOURCE)
20set_module_type(e1000 kernelmodedriver)
21add_importlibs(e1000 ndis ntoskrnl hal)
22add_cd_file(TARGET e1000 DESTINATION reactos/system32/drivers FOR all)
23add_driver_inf(e1000 nete1000.inf)
24