mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
a0a19c60d0
Reduce unnecessary stuff in LwIP itself.
42 lines
857 B
CMake
42 lines
857 B
CMake
|
|
add_subdirectory(lwip)
|
|
add_subdirectory(ip)
|
|
|
|
add_definitions(
|
|
-DNDIS40
|
|
-D_NTDRIVER_)
|
|
|
|
spec2def(tcpip.sys tcpip.spec)
|
|
|
|
list(APPEND SOURCE
|
|
chew/workqueue.c
|
|
datalink/lan.c
|
|
tcpip/ainfo.c
|
|
tcpip/buffer.c
|
|
tcpip/cinfo.c
|
|
tcpip/dispatch.c
|
|
tcpip/fileobjs.c
|
|
tcpip/icmp.c
|
|
tcpip/iinfo.c
|
|
tcpip/info.c
|
|
tcpip/lock.c
|
|
tcpip/main.c
|
|
tcpip/ninfo.c
|
|
tcpip/proto.c
|
|
tcpip/tinfo.c
|
|
tcpip/wait.c
|
|
include/precomp.h)
|
|
|
|
add_library(tcpip MODULE
|
|
${SOURCE}
|
|
tcpip.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
|
|
|
|
target_include_directories(tcpip BEFORE
|
|
PRIVATE include)
|
|
|
|
target_link_libraries(tcpip ip ${PSEH_LIB})
|
|
set_module_type(tcpip kernelmodedriver)
|
|
add_importlibs(tcpip ndis ntoskrnl hal)
|
|
add_pch(tcpip include/precomp.h SOURCE)
|
|
add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)
|