1 2include_directories( 3 BEFORE include 4 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers) 5 6list(APPEND SOURCE 7 afd/bind.c 8 afd/connect.c 9 afd/context.c 10 afd/info.c 11 afd/listen.c 12 afd/lock.c 13 afd/main.c 14 afd/read.c 15 afd/select.c 16 afd/tdi.c 17 afd/tdiconn.c 18 afd/write.c 19 include/afd.h) 20 21add_library(afd MODULE ${SOURCE} afd.rc) 22target_link_libraries(afd ${PSEH_LIB}) 23set_module_type(afd kernelmodedriver) 24add_importlibs(afd ntoskrnl hal) 25add_pch(afd include/afd.h SOURCE) 26add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all) 27add_registry_inf(afd_reg.inf) 28