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
|
2011-05-07 19:53:38 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/lib/drivers/lwip/src/include
|
|
|
|
${REACTOS_SOURCE_DIR}/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")
|
2011-01-07 12:11:46 +00:00
|
|
|
list(APPEND SOURCE 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
|
|
|
|
transport/udp/udp.c)
|
2010-07-28 14:59:02 +00:00
|
|
|
|
2010-11-05 17:29:01 +00:00
|
|
|
add_library(ip ${SOURCE})
|
2011-07-28 16:16:18 +00:00
|
|
|
add_pch(ip precomp.h)
|
2010-11-05 17:29:01 +00:00
|
|
|
add_dependencies(ip bugcodes)
|