2010-11-05 17:29:01 +00:00
|
|
|
|
2010-07-28 14:59:02 +00:00
|
|
|
add_definitions(-D__NTDRIVER__)
|
|
|
|
|
2010-11-05 17:29:01 +00:00
|
|
|
include_directories(
|
|
|
|
BEFORE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/lwip/src/include
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/lwip/src/include/ipv4)
|
2010-07-28 14:59:02 +00:00
|
|
|
|
2012-08-27 18:58:27 +00:00
|
|
|
if(ARCH STREQUAL "i386")
|
2014-01-04 10:11:02 +00:00
|
|
|
add_asm_files(ip_asm network/i386/checksum.S)
|
2010-11-05 17:29:01 +00:00
|
|
|
endif()
|
2010-07-28 14:59:02 +00:00
|
|
|
|
2010-11-05 17:29:01 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
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
|
2014-02-09 21:43:42 +00:00
|
|
|
transport/udp/udp.c
|
|
|
|
precomp.h)
|
2010-07-28 14:59:02 +00:00
|
|
|
|
2014-01-04 10:11:02 +00:00
|
|
|
add_library(ip ${SOURCE} ${ip_asm})
|
2014-02-09 21:43:42 +00:00
|
|
|
add_pch(ip precomp.h SOURCE)
|
2015-09-07 10:05:42 +00:00
|
|
|
add_dependencies(ip asm)
|