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