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 14add_library(rtl8139 MODULE ${SOURCE} rtl8139.rc) 15add_pch(rtl8139 nic.h SOURCE) 16set_module_type(rtl8139 kernelmodedriver) 17add_importlibs(rtl8139 ndis ntoskrnl hal) 18add_cd_file(TARGET rtl8139 DESTINATION reactos/system32/drivers FOR all) 19add_driver_inf(rtl8139 netrtl.inf) 20