Author: akhaldi
Date: Tue Aug 31 14:05:07 2010
New Revision: 48664
URL:
http://svn.reactos.org/svn/reactos?rev=48664&view=rev
Log:
[CMAKE]
- Add input drivers (i8042prt, kbdclass, mouclass and sermouse) to build.
Added:
branches/cmake-bringup/drivers/input/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/input/i8042prt/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/input/kbdclass/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/input/mouclass/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/input/sermouse/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/drivers/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/CMakeList…
==============================================================================
--- branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] Tue Aug 31 14:05:07 2010
@@ -1,2 +1,3 @@
add_subdirectory(base)
+add_subdirectory(input)
Added: branches/cmake-bringup/drivers/input/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/input/CMa…
==============================================================================
--- branches/cmake-bringup/drivers/input/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/input/CMakeLists.txt [iso-8859-1] Tue Aug 31 14:05:07
2010
@@ -1,0 +1,5 @@
+
+add_subdirectory(i8042prt)
+add_subdirectory(kbdclass)
+add_subdirectory(mouclass)
+add_subdirectory(sermouse)
Propchange: branches/cmake-bringup/drivers/input/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/input/i8042prt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/input/i80…
==============================================================================
--- branches/cmake-bringup/drivers/input/i8042prt/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/input/i8042prt/CMakeLists.txt [iso-8859-1] Tue Aug 31
14:05:07 2010
@@ -1,0 +1,23 @@
+
+set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
+
+add_library(i8042prt SHARED
+ createclose.c
+ i8042prt.c
+ keyboard.c
+ misc.c
+ mouse.c
+ pnp.c
+ ps2pp.c
+ readwrite.c
+ registry.c
+ setup.c
+ i8042prt.rc)
+
+set_target_properties(i8042prt PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols" SUFFIX ".sys")
+
+target_link_libraries(i8042prt
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ ${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
+
+add_dependencies(i8042prt psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/input/i8042prt/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/input/kbdclass/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/input/kbd…
==============================================================================
--- branches/cmake-bringup/drivers/input/kbdclass/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/input/kbdclass/CMakeLists.txt [iso-8859-1] Tue Aug 31
14:05:07 2010
@@ -1,0 +1,17 @@
+
+set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
+
+add_library(kbdclass SHARED
+ kbdclass.c
+ misc.c
+ setup.c
+ kbdclass.rc)
+
+set_target_properties(kbdclass PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols" SUFFIX ".sys")
+
+target_link_libraries(kbdclass
+ pseh
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ ${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
+
+add_dependencies(kbdclass psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/input/kbdclass/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/input/mouclass/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/input/mou…
==============================================================================
--- branches/cmake-bringup/drivers/input/mouclass/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/input/mouclass/CMakeLists.txt [iso-8859-1] Tue Aug 31
14:05:07 2010
@@ -1,0 +1,16 @@
+
+set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
+
+add_library(mouclass SHARED
+ misc.c
+ mouclass.c
+ mouclass.rc)
+
+set_target_properties(mouclass PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols" SUFFIX ".sys")
+
+target_link_libraries(mouclass
+ pseh
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ ${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
+
+add_dependencies(mouclass psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/input/mouclass/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/input/sermouse/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/input/ser…
==============================================================================
--- branches/cmake-bringup/drivers/input/sermouse/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/input/sermouse/CMakeLists.txt [iso-8859-1] Tue Aug 31
14:05:07 2010
@@ -1,0 +1,20 @@
+
+set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
+
+add_library(sermouse SHARED
+ createclose.c
+ detect.c
+ fdo.c
+ internaldevctl.c
+ misc.c
+ readmouse.c
+ sermouse.c
+ sermouse.rc)
+
+set_target_properties(sermouse PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols" SUFFIX ".sys")
+
+target_link_libraries(sermouse
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ ${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
+
+add_dependencies(sermouse psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/input/sermouse/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native