- Add input drivers (i8042prt, kbdclass, mouclass and sermouse) to build.

svn path=/branches/cmake-bringup/; revision=48664
This commit is contained in:
Amine Khaldi 2010-08-31 14:05:07 +00:00
parent b28db78efe
commit d84e219b0b
6 changed files with 82 additions and 0 deletions

View file

@ -1,2 +1,3 @@
add_subdirectory(base)
add_subdirectory(input)

View file

@ -0,0 +1,5 @@
add_subdirectory(i8042prt)
add_subdirectory(kbdclass)
add_subdirectory(mouclass)
add_subdirectory(sermouse)

View file

@ -0,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)

View file

@ -0,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)

View file

@ -0,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)

View file

@ -0,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)