2010-09-19 11:19:16 +00:00
|
|
|
|
|
|
|
include_directories(BEFORE include)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/oskittcp/include)
|
|
|
|
|
|
|
|
add_definitions(-DNDIS40)
|
|
|
|
add_definitions(-D_NTDRIVER_)
|
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
spec2def(tcpip.sys tcpip.spec)
|
2010-09-19 11:19:16 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
datalink/lan.c
|
|
|
|
tcpip/ainfo.c
|
|
|
|
tcpip/buffer.c
|
|
|
|
tcpip/dispatch.c
|
|
|
|
tcpip/fileobjs.c
|
|
|
|
tcpip/iinfo.c
|
|
|
|
tcpip/info.c
|
|
|
|
tcpip/lock.c
|
|
|
|
tcpip/main.c
|
|
|
|
tcpip/ninfo.c
|
|
|
|
tcpip/proto.c
|
|
|
|
tcpip/tinfo.c
|
|
|
|
tcpip/wait.c
|
2010-10-30 16:08:19 +00:00
|
|
|
tcpip.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
|
2010-09-19 11:19:16 +00:00
|
|
|
|
|
|
|
add_library(tcpip SHARED ${CMAKE_CURRENT_BINARY_DIR}/tcpip_precomp.h.gch ${SOURCE})
|
|
|
|
|
2010-10-24 21:19:00 +00:00
|
|
|
set_module_type(tcpip kernelmodedriver)
|
2010-09-19 11:19:16 +00:00
|
|
|
|
|
|
|
target_link_libraries(tcpip
|
|
|
|
ip
|
|
|
|
oskittcp
|
|
|
|
pseh
|
|
|
|
chew
|
|
|
|
-lndis
|
|
|
|
-lntoskrnl
|
|
|
|
-lhal)
|
|
|
|
|
|
|
|
add_pch(tcpip ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
|
2010-10-30 16:08:19 +00:00
|
|
|
add_dependencies(tcpip psdk bugcodes buildno_header)
|
2010-10-24 21:19:00 +00:00
|
|
|
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(tcpip 2)
|