1 2add_definitions( 3 -DNDIS50 4 -D_NTDRIVER_) 5 6include_directories( 7 BEFORE include 8 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/ndisuio) 9 10list(APPEND SOURCE 11 createclose.c 12 ioctl.c 13 main.c 14 misc.c 15 protocol.c 16 readwrite.c 17 ndisuio.h) 18 19add_library(ndisuio MODULE ${SOURCE} ndisuio.rc) 20set_module_type(ndisuio kernelmodedriver) 21add_importlibs(ndisuio ndis ntoskrnl hal) 22add_pch(ndisuio ndisuio.h SOURCE) 23add_cd_file(TARGET ndisuio DESTINATION reactos/system32/drivers FOR all) 24