Revert r64621.
[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/dispatch.c
18 tcpip/fileobjs.c
19 tcpip/iinfo.c
20 tcpip/info.c
21 tcpip/lock.c
22 tcpip/main.c
23 tcpip/ninfo.c
24 tcpip/proto.c
25 tcpip/tinfo.c
26 tcpip/wait.c
27 include/precomp.h)
28
29 add_library(tcpip SHARED
30 ${SOURCE}
31 tcpip.rc
32 ${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
33
34 target_link_libraries(tcpip
35 ip
36 lwip
37 ${PSEH_LIB}
38 chew)
39
40 set_module_type(tcpip kernelmodedriver)
41 add_importlibs(tcpip ndis ntoskrnl hal)
42
43 add_pch(tcpip include/precomp.h SOURCE)
44
45 add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)