include_directories(
BEFORE include
- ${REACTOS_SOURCE_DIR}/lib/drivers/oskittcp/include)
+ ${REACTOS_SOURCE_DIR}/lib/drivers/lwip/src/include
+ ${REACTOS_SOURCE_DIR}/lib/drivers/lwip/src/include/ipv4)
add_definitions(
-DNDIS40
datalink/lan.c
tcpip/ainfo.c
tcpip/buffer.c
+ tcpip/cinfo.c
tcpip/dispatch.c
tcpip/fileobjs.c
tcpip/iinfo.c
tcpip/proto.c
tcpip/tinfo.c
tcpip/wait.c
+ include/precomp.h)
+
+add_library(tcpip SHARED
+ ${SOURCE}
tcpip.rc
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
-add_library(tcpip SHARED ${SOURCE})
-
target_link_libraries(tcpip
ip
- oskittcp
+ lwip
${PSEH_LIB}
chew)
set_module_type(tcpip kernelmodedriver)
add_importlibs(tcpip ndis ntoskrnl hal)
-add_pch(tcpip include/precomp.h)
+add_pch(tcpip include/precomp.h SOURCE)
add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)