reactos/drivers/network/tcpip/CMakeLists.txt
Hermès Bélusca-Maïto e1ef078741 Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line):

/DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible.
/DEBUGPORT=FOO  --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...)
/DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port.

svn path=/branches/kd++/; revision=58883
2013-04-28 13:26:45 +00:00

44 lines
847 B
CMake

include_directories(
BEFORE include
${REACTOS_SOURCE_DIR}/lib/drivers/lwip/src/include
${REACTOS_SOURCE_DIR}/lib/drivers/lwip/src/include/ipv4)
add_definitions(
-DNDIS40
-D_NTDRIVER_)
spec2def(tcpip.sys tcpip.spec)
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
tcpip.rc
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
add_library(tcpip SHARED ${SOURCE})
target_link_libraries(tcpip
ip
lwip
${PSEH_LIB}
chew)
set_module_type(tcpip kernelmodedriver)
add_importlibs(tcpip ndis ntoskrnl hal)
add_pch(tcpip include/precomp.h)
add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)