2a56dfc0698b84bf4399f56ecfbdf2591c262786
[reactos.git] / drivers / network / afd / CMakeLists.txt
1
2 include_directories(BEFORE include)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
4
5 list(APPEND SOURCE
6 afd/bind.c
7 afd/connect.c
8 afd/context.c
9 afd/info.c
10 afd/listen.c
11 afd/lock.c
12 afd/main.c
13 afd/read.c
14 afd/select.c
15 afd/tdi.c
16 afd/tdiconn.c
17 afd/write.c
18 afd.rc)
19
20 add_library(afd SHARED ${CMAKE_CURRENT_BINARY_DIR}/afd_afd.h.gch ${SOURCE})
21
22 set_module_type(afd kernelmodedriver)
23
24 target_link_libraries(afd
25 pseh
26 -lntoskrnl
27 -lhal)
28
29 add_pch(afd ${CMAKE_CURRENT_SOURCE_DIR}/include/afd.h ${SOURCE})
30 add_dependencies(afd psdk bugcodes buildno_header)
31
32 add_livecd_target(afd reactos/system32/drivers)