mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 08:43:28 +00:00
0e69cd8f27
- Improve drivers' libs. svn path=/branches/cmake-bringup/; revision=49489
35 lines
791 B
CMake
35 lines
791 B
CMake
|
|
add_definitions(-D__NTDRIVER__)
|
|
|
|
include_directories(
|
|
BEFORE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include
|
|
${REACTOS_SOURCE_DIR}/lib/drivers/oskittcp/include)
|
|
|
|
if(ARCH MATCHES i386)
|
|
list(APPEND SOURCE network/i386/checksum.S)
|
|
endif()
|
|
|
|
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)
|
|
|
|
add_library(ip ${SOURCE})
|
|
add_dependencies(ip bugcodes)
|