Author: akhaldi
Date: Wed Jul 28 14:59:02 2010
New Revision: 48331
URL:
http://svn.reactos.org/svn/reactos?rev=48331&view=rev
Log:
[CMAKE]
- Add ip and oskittcp to build.
Added:
branches/cmake-bringup/lib/drivers/ip/CMakeLists.txt (with props)
branches/cmake-bringup/lib/drivers/oskittcp/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/lib/drivers/CMakeLists.txt
Modified: branches/cmake-bringup/lib/drivers/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/drivers/CMake…
==============================================================================
--- branches/cmake-bringup/lib/drivers/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/drivers/CMakeLists.txt [iso-8859-1] Wed Jul 28 14:59:02
2010
@@ -1,6 +1,6 @@
add_subdirectory(chew)
add_subdirectory(csq)
-#add_subdirectory(ip)
-#add_subdirectory(oskittcp)
+add_subdirectory(ip)
+add_subdirectory(oskittcp)
#add_subdirectory(sound)
Added: branches/cmake-bringup/lib/drivers/ip/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/drivers/ip/CM…
==============================================================================
--- branches/cmake-bringup/lib/drivers/ip/CMakeLists.txt (added)
+++ branches/cmake-bringup/lib/drivers/ip/CMakeLists.txt [iso-8859-1] Wed Jul 28 14:59:02
2010
@@ -1,0 +1,18 @@
+
+add_definitions(-D__NTDRIVER__)
+
+include_directories(BEFORE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include)
+include_directories(BEFORE ${REACTOS_SOURCE_DIR}/lib/drivers/oskittcp/include)
+
+foreach(arg ${defines})
+ set(result_defs "${result_defs} -D${arg}")
+endforeach(arg ${defines})
+
+set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o
<OBJECT> ${result_defs} -D__ASM__ <FLAGS> -c <SOURCE>")
+
+file(GLOB_RECURSE ARCH_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/network/${ARCH}/checksum.S)
+file(GLOB_RECURSE SOURCE "*.c")
+
+add_library(ip ${ARCH_SOURCE} ${SOURCE})
+add_dependencies(ip bugcodes)
+
Propchange: branches/cmake-bringup/lib/drivers/ip/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/lib/drivers/oskittcp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/drivers/oskit…
==============================================================================
--- branches/cmake-bringup/lib/drivers/oskittcp/CMakeLists.txt (added)
+++ branches/cmake-bringup/lib/drivers/oskittcp/CMakeLists.txt [iso-8859-1] Wed Jul 28
14:59:02 2010
@@ -1,0 +1,18 @@
+
+include_directories(BEFORE include/freebsd)
+include_directories(BEFORE include/freebsd/sys/include)
+include_directories(BEFORE include/freebsd/src/sys)
+include_directories(BEFORE include/freebsd/dev/include)
+include_directories(BEFORE include/freebsd/net/include)
+
+include_directories(include)
+
+add_definitions(-D__NTDRIVER__)
+add_definitions(-DKERNEL)
+add_definitions(-DOSKIT)
+
+file(GLOB_RECURSE SOURCE "oskittcp/*.c")
+
+add_library(oskittcp ${SOURCE})
+add_dependencies(oskittcp bugcodes)
+
Propchange: branches/cmake-bringup/lib/drivers/oskittcp/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native