e86a0d7fcec59fef577fd167d0e0e86a0244eaa9
[reactos.git] / drivers / network / tcpip / CMakeLists.txt
1
2 include_directories(
3 BEFORE include
4 ${REACTOS_SOURCE_DIR}/lib/drivers/oskittcp/include)
5
6 add_definitions(
7 -DNDIS40
8 -D_NTDRIVER_)
9
10 spec2def(tcpip.sys tcpip.spec)
11
12 list(APPEND SOURCE
13 datalink/lan.c
14 tcpip/ainfo.c
15 tcpip/buffer.c
16 tcpip/dispatch.c
17 tcpip/fileobjs.c
18 tcpip/iinfo.c
19 tcpip/info.c
20 tcpip/lock.c
21 tcpip/main.c
22 tcpip/ninfo.c
23 tcpip/proto.c
24 tcpip/tinfo.c
25 tcpip/wait.c
26 tcpip.rc
27 ${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
28
29 add_library(tcpip SHARED ${CMAKE_CURRENT_BINARY_DIR}/tcpip_precomp.h.gch ${SOURCE})
30
31 target_link_libraries(tcpip
32 ip
33 oskittcp
34 ${PSEH_LIB}
35 chew)
36
37 set_module_type(tcpip kernelmodedriver)
38 add_importlibs(tcpip ndis ntoskrnl hal)
39
40 add_pch(tcpip ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
41
42 add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)