mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
9cfd8dd918
* [TCPIP] Rename lwip library to lwipcore
* [TCPIP] Remove ReactOS-specific code from LWIP library
* [TCPIP] Synchronize LWIP code to 1.4.1
Update to LWIP 1.4.1 should have been done by bd3b0e8ef4
However, I was unable to find the exact revision used in this commit.
So, do the following
- take code from STABLE-1_4_1 commit on https://git.savannah.gnu.org/git/lwip.git
- cherry-pick LWIP 32aa9a41e2013e5ee6eee09317a848647e37badf (CORE-8978)
- cherry-pick LWIP c0b534e5318baf870e2152c70d4d11a3a86181f3
- add a ReactOS-specific change in src/api/tcpip.c (missing include)
- add ReactOS specific file CMakeLists.txt
NOTE: Changes are mostly in unit test files (not used) and CHANGELOG file.
CORE-7140
40 lines
902 B
CMake
40 lines
902 B
CMake
|
|
if(ARCH STREQUAL "i386")
|
|
add_asm_files(ip_asm network/i386/checksum.S)
|
|
endif()
|
|
|
|
list(APPEND SOURCE
|
|
lwip_glue/ip.c
|
|
lwip_glue/memory.c
|
|
lwip_glue/sys_arch.c
|
|
lwip_glue/tcp.c
|
|
network/address.c
|
|
network/arp.c
|
|
network/checksum.c
|
|
network/icmp.c
|
|
network/interface.c
|
|
network/ip.c
|
|
network/loopback.c
|
|
network/neighbor.c
|
|
network/ports.c
|
|
network/receive.c
|
|
network/router.c
|
|
network/routines.c
|
|
network/transmit.c
|
|
transport/datagram/datagram.c
|
|
transport/rawip/rawip.c
|
|
transport/tcp/accept.c
|
|
transport/tcp/event.c
|
|
transport/tcp/if.c
|
|
transport/tcp/tcp.c
|
|
transport/udp/udp.c)
|
|
|
|
add_library(ip OBJECT ${SOURCE} ${ip_asm})
|
|
|
|
target_link_libraries(ip lwipcore)
|
|
|
|
target_include_directories(ip BEFORE
|
|
PRIVATE ${LWIP_INCLUDE_DIRS}
|
|
PRIVATE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include)
|
|
|
|
add_pch(ip precomp.h SOURCE)
|