1 2add_definitions( 3 -DNDIS_MINIPORT_DRIVER 4 -DNDIS51_MINIPORT=1) 5 6list(APPEND SOURCE 7 backoff.c 8 debug.h 9 init.c 10 interrupt.c 11 nic.c 12 nic.h 13 nvnet.c 14 nvnet.h 15 phy.c 16 phyreg.h 17 requests.c 18 send.c) 19 20add_library(nvnet MODULE ${SOURCE} nvnet.rc) 21add_pch(nvnet nvnet.h SOURCE) 22set_module_type(nvnet kernelmodedriver) 23add_importlibs(nvnet ndis ntoskrnl hal) 24add_cd_file(TARGET nvnet DESTINATION reactos/system32/drivers FOR all) 25add_driver_inf(nvnet netnv.inf) 26