[TCPIP]
[reactos.git] / reactos / lib / drivers / ip / CMakeLists.txt
1
2 add_definitions(-D__NTDRIVER__)
3
4 include_directories(
5 BEFORE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include
6 ${REACTOS_SOURCE_DIR}/lib/drivers/lwip/src/include
7 ${REACTOS_SOURCE_DIR}/lib/drivers/lwip/src/include/ipv4)
8
9 if(ARCH MATCHES i386)
10 list(APPEND SOURCE network/i386/checksum.S)
11 endif()
12
13 list(APPEND SOURCE
14 network/address.c
15 network/arp.c
16 network/checksum.c
17 network/icmp.c
18 network/interface.c
19 network/ip.c
20 network/loopback.c
21 network/neighbor.c
22 network/ports.c
23 network/receive.c
24 network/router.c
25 network/routines.c
26 network/transmit.c
27 transport/datagram/datagram.c
28 transport/rawip/rawip.c
29 transport/tcp/accept.c
30 transport/tcp/event.c
31 transport/tcp/if.c
32 transport/tcp/tcp.c
33 transport/udp/udp.c)
34
35 add_library(ip ${SOURCE})
36 add_pch(ip precomp.h)
37 add_dependencies(ip bugcodes)