mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 20:18:22 +00:00
[DRIVERS]
* Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62077
This commit is contained in:
parent
11adcc4193
commit
a4a1fab753
56 changed files with 316 additions and 187 deletions
|
@ -1,29 +1,30 @@
|
||||||
|
|
||||||
spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
|
spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
if((ARCH STREQUAL "i386") OR (ARCH STREQUAL "amd64"))
|
||||||
|
list(APPEND SOURCE
|
||||||
|
i386/bootvid.c
|
||||||
|
i386/bootdata.c
|
||||||
|
i386/vga.c)
|
||||||
|
elseif(ARCH STREQUAL "arm")
|
||||||
|
list(APPEND SOURCE
|
||||||
|
arm/bootvid.c
|
||||||
|
arm/bootdata.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND SOURCE precomp.h)
|
||||||
|
|
||||||
|
add_library(bootvid SHARED
|
||||||
|
${SOURCE}
|
||||||
bootvid.rc
|
bootvid.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
|
${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386" OR ARCH STREQUAL "amd64")
|
|
||||||
list(APPEND SOURCE
|
|
||||||
i386/bootvid.c
|
|
||||||
i386/bootdata.c
|
|
||||||
i386/vga.c)
|
|
||||||
elseif(ARCH STREQUAL "arm")
|
|
||||||
list(APPEND SOURCE
|
|
||||||
arm/bootvid.c
|
|
||||||
arm/bootdata.c)
|
|
||||||
endif(ARCH STREQUAL "i386" OR ARCH STREQUAL "amd64")
|
|
||||||
|
|
||||||
add_library(bootvid SHARED ${SOURCE})
|
|
||||||
|
|
||||||
set_entrypoint(bootvid 0)
|
set_entrypoint(bootvid 0)
|
||||||
set_subsystem(bootvid native)
|
set_subsystem(bootvid native)
|
||||||
set_image_base(bootvid 0x00010000)
|
set_image_base(bootvid 0x00010000)
|
||||||
|
|
||||||
add_importlibs(bootvid ntoskrnl hal)
|
add_importlibs(bootvid ntoskrnl hal)
|
||||||
add_pch(bootvid precomp.h)
|
add_pch(bootvid precomp.h SOURCE)
|
||||||
add_dependencies(bootvid psdk bugcodes)
|
add_dependencies(bootvid psdk bugcodes)
|
||||||
add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB FOR all)
|
add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB FOR all)
|
||||||
|
|
||||||
|
|
|
@ -3,13 +3,17 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
||||||
|
|
||||||
## spec2def(condrv.sys condrv.spec ADD_IMPORTLIB)
|
## spec2def(condrv.sys condrv.spec ADD_IMPORTLIB)
|
||||||
|
|
||||||
add_library(condrv SHARED
|
list(APPEND SOURCE
|
||||||
condrv.c
|
condrv.c
|
||||||
control.c
|
control.c
|
||||||
|
condrv.h)
|
||||||
|
|
||||||
|
add_library(condrv SHARED
|
||||||
|
${SOURCE}
|
||||||
condrv.rc)
|
condrv.rc)
|
||||||
# ${CMAKE_CURRENT_BINARY_DIR}/condrv.def)
|
# ${CMAKE_CURRENT_BINARY_DIR}/condrv.def)
|
||||||
|
|
||||||
add_pch(condrv condrv.h)
|
add_pch(condrv condrv.h SOURCE)
|
||||||
|
|
||||||
set_module_type(condrv kernelmodedriver)
|
set_module_type(condrv kernelmodedriver)
|
||||||
target_link_libraries(condrv ${PSEH_LIB})
|
target_link_libraries(condrv ${PSEH_LIB})
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
|
|
||||||
spec2def(kdcom.dll kdcom.spec ADD_IMPORTLIB)
|
spec2def(kdcom.dll kdcom.spec ADD_IMPORTLIB)
|
||||||
|
|
||||||
add_library(kdcom SHARED
|
list(APPEND SOURCE
|
||||||
kdcom.c
|
kdcom.c
|
||||||
kddll.c
|
kddll.c
|
||||||
kdserial.c
|
kdserial.c
|
||||||
|
kddll.h)
|
||||||
|
|
||||||
|
add_library(kdcom SHARED
|
||||||
|
${SOURCE}
|
||||||
kdcom.rc
|
kdcom.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
|
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
|
||||||
|
|
||||||
|
@ -15,5 +19,5 @@ set_image_base(kdcom 0x00010000)
|
||||||
add_importlibs(kdcom ntoskrnl hal)
|
add_importlibs(kdcom ntoskrnl hal)
|
||||||
target_link_libraries(kdcom cportlib)
|
target_link_libraries(kdcom cportlib)
|
||||||
add_dependencies(kdcom psdk bugcodes)
|
add_dependencies(kdcom psdk bugcodes)
|
||||||
|
add_pch(kdcom kddll.h SOURCE)
|
||||||
add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB FOR all)
|
add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB FOR all)
|
||||||
|
|
|
@ -7,7 +7,7 @@ if(ARCH STREQUAL "amd64")
|
||||||
add_definitions(-DWIN64)
|
add_definitions(-DWIN64)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(acpica
|
list(APPEND ACPICA_SOURCE
|
||||||
acpica/dispatcher/dsargs.c
|
acpica/dispatcher/dsargs.c
|
||||||
acpica/dispatcher/dscontrol.c
|
acpica/dispatcher/dscontrol.c
|
||||||
acpica/dispatcher/dsfield.c
|
acpica/dispatcher/dsfield.c
|
||||||
|
@ -122,7 +122,6 @@ add_library(acpica
|
||||||
acpica/utilities/utdecode.c
|
acpica/utilities/utdecode.c
|
||||||
acpica/utilities/utdelete.c
|
acpica/utilities/utdelete.c
|
||||||
acpica/utilities/uteval.c
|
acpica/utilities/uteval.c
|
||||||
acpica/utilities/utglobal.c
|
|
||||||
acpica/utilities/utids.c
|
acpica/utilities/utids.c
|
||||||
acpica/utilities/utinit.c
|
acpica/utilities/utinit.c
|
||||||
acpica/utilities/utlock.c
|
acpica/utilities/utlock.c
|
||||||
|
@ -135,12 +134,18 @@ add_library(acpica
|
||||||
acpica/utilities/utstate.c
|
acpica/utilities/utstate.c
|
||||||
acpica/utilities/uttrack.c
|
acpica/utilities/uttrack.c
|
||||||
acpica/utilities/utxface.c
|
acpica/utilities/utxface.c
|
||||||
acpica/utilities/utxferror.c)
|
acpica/utilities/utxferror.c
|
||||||
|
acpica/include/acpi.h)
|
||||||
|
|
||||||
|
add_library(acpica
|
||||||
|
${ACPICA_SOURCE}
|
||||||
|
acpica/utilities/utglobal.c)
|
||||||
|
|
||||||
|
add_pch(acpica acpica/include/acpi.h ACPICA_SOURCE)
|
||||||
set_target_properties(acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE")
|
set_target_properties(acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE")
|
||||||
add_dependencies(acpica bugcodes)
|
add_dependencies(acpica bugcodes)
|
||||||
|
|
||||||
add_library(acpi SHARED
|
list(APPEND ACPI_SOURCE
|
||||||
busmgr/bus.c
|
busmgr/bus.c
|
||||||
busmgr/button.c
|
busmgr/button.c
|
||||||
busmgr/power.c
|
busmgr/power.c
|
||||||
|
@ -153,11 +158,14 @@ add_library(acpi SHARED
|
||||||
pnp.c
|
pnp.c
|
||||||
power.c
|
power.c
|
||||||
buspdo.c
|
buspdo.c
|
||||||
main.c)
|
main.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(acpi SHARED ${ACPI_SOURCE})
|
||||||
set_module_type(acpi kernelmodedriver)
|
set_module_type(acpi kernelmodedriver)
|
||||||
target_link_libraries(acpi wdmguid acpica ${PSEH_LIB})
|
target_link_libraries(acpi wdmguid acpica ${PSEH_LIB})
|
||||||
add_importlibs(acpi ntoskrnl hal)
|
add_importlibs(acpi ntoskrnl hal)
|
||||||
|
add_pch(acpi precomp.h ACPI_SOURCE)
|
||||||
add_cd_file(TARGET acpi DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET acpi DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
||||||
add_subdirectory(cmbatt)
|
add_subdirectory(cmbatt)
|
||||||
|
|
|
@ -4,15 +4,17 @@ list(APPEND SOURCE
|
||||||
cmexec.c
|
cmexec.c
|
||||||
cmbpnp.c
|
cmbpnp.c
|
||||||
cmbwmi.c
|
cmbwmi.c
|
||||||
|
cmbatt.h)
|
||||||
|
|
||||||
|
add_library(cmbatt SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
cmbatt.rc)
|
cmbatt.rc)
|
||||||
|
|
||||||
add_library(cmbatt SHARED ${SOURCE})
|
|
||||||
|
|
||||||
set_module_type(cmbatt kernelmodedriver)
|
set_module_type(cmbatt kernelmodedriver)
|
||||||
add_importlibs(cmbatt ntoskrnl hal battc wmilib)
|
add_importlibs(cmbatt ntoskrnl hal battc wmilib)
|
||||||
|
|
||||||
add_pch(cmbatt cmbatt.h)
|
add_pch(cmbatt cmbatt.h SOURCE)
|
||||||
|
|
||||||
|
|
||||||
add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -3,14 +3,16 @@ list(APPEND SOURCE
|
||||||
compbatt.c
|
compbatt.c
|
||||||
compmisc.c
|
compmisc.c
|
||||||
comppnp.c
|
comppnp.c
|
||||||
|
compbatt.h)
|
||||||
|
|
||||||
|
add_library(compbatt SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
compbatt.rc)
|
compbatt.rc)
|
||||||
|
|
||||||
add_library(compbatt SHARED ${SOURCE})
|
|
||||||
|
|
||||||
set_module_type(compbatt kernelmodedriver)
|
set_module_type(compbatt kernelmodedriver)
|
||||||
add_importlibs(compbatt ntoskrnl hal battc)
|
add_importlibs(compbatt ntoskrnl hal battc)
|
||||||
|
|
||||||
add_pch(compbatt compbatt.h)
|
add_pch(compbatt compbatt.h SOURCE)
|
||||||
|
|
||||||
add_cd_file(TARGET compbatt DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET compbatt DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
|
|
||||||
add_library(isapnp SHARED
|
list(APPEND SOURCE
|
||||||
isapnp.c
|
isapnp.c
|
||||||
pdo.c
|
pdo.c
|
||||||
fdo.c
|
fdo.c
|
||||||
hardware.c
|
hardware.c
|
||||||
isapnp.rc)
|
isapnp.h)
|
||||||
|
|
||||||
|
add_library(isapnp SHARED ${SOURCE} isapnp.rc)
|
||||||
set_module_type(isapnp kernelmodedriver)
|
set_module_type(isapnp kernelmodedriver)
|
||||||
add_importlibs(isapnp ntoskrnl hal)
|
add_importlibs(isapnp ntoskrnl hal)
|
||||||
add_pch(isapnp isapnp.h)
|
add_pch(isapnp isapnp.h SOURCE)
|
||||||
add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
|
|
||||||
add_library(pci SHARED
|
list(APPEND SOURCE
|
||||||
fdo.c
|
fdo.c
|
||||||
pci.c
|
pci.c
|
||||||
pdo.c
|
pdo.c
|
||||||
pci.rc)
|
pci.h)
|
||||||
|
|
||||||
|
add_library(pci SHARED ${SOURCE} pci.rc)
|
||||||
set_module_type(pci kernelmodedriver)
|
set_module_type(pci kernelmodedriver)
|
||||||
add_importlibs(pci ntoskrnl hal)
|
add_importlibs(pci ntoskrnl hal)
|
||||||
add_pch(pci pci.h)
|
add_pch(pci pci.h SOURCE)
|
||||||
add_cd_file(TARGET pci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET pci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -26,7 +26,6 @@ list(APPEND SOURCE
|
||||||
dispatch.c
|
dispatch.c
|
||||||
enum.c
|
enum.c
|
||||||
fdo.c
|
fdo.c
|
||||||
guid.c
|
|
||||||
hookhal.c
|
hookhal.c
|
||||||
init.c
|
init.c
|
||||||
pcivrify.c
|
pcivrify.c
|
||||||
|
@ -34,14 +33,17 @@ list(APPEND SOURCE
|
||||||
power.c
|
power.c
|
||||||
usage.c
|
usage.c
|
||||||
utils.c
|
utils.c
|
||||||
pci.rc)
|
pci.h)
|
||||||
|
|
||||||
add_library(pcix SHARED ${SOURCE})
|
add_library(pcix SHARED
|
||||||
|
${SOURCE}
|
||||||
|
guid.c
|
||||||
|
pci.rc)
|
||||||
|
|
||||||
set_module_type(pcix kernelmodedriver)
|
set_module_type(pcix kernelmodedriver)
|
||||||
add_importlibs(pcix ntoskrnl hal)
|
add_importlibs(pcix ntoskrnl hal)
|
||||||
|
|
||||||
add_pch(pcix pci.h)
|
add_pch(pcix pci.h SOURCE)
|
||||||
add_dependencies(pcix pciclass)
|
add_dependencies(pcix pciclass)
|
||||||
|
|
||||||
add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
|
|
||||||
add_library(pcmcia SHARED
|
list(APPEND SOURCE
|
||||||
fdo.c
|
fdo.c
|
||||||
pcmcia.c
|
pcmcia.c
|
||||||
pdo.c
|
pdo.c
|
||||||
pcmcia.rc)
|
pcmcia.h)
|
||||||
|
|
||||||
|
add_library(pcmcia SHARED ${SOURCE} pcmcia.rc)
|
||||||
set_module_type(pcmcia kernelmodedriver)
|
set_module_type(pcmcia kernelmodedriver)
|
||||||
add_pch(pcmcia pcmcia.h)
|
add_pch(pcmcia pcmcia.h SOURCE)
|
||||||
add_importlibs(pcmcia ntoskrnl hal)
|
add_importlibs(pcmcia ntoskrnl hal)
|
||||||
add_cd_file(TARGET pcmcia DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET pcmcia DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -15,13 +15,13 @@ list(APPEND SOURCE
|
||||||
misc.c
|
misc.c
|
||||||
rw.c
|
rw.c
|
||||||
volinfo.c
|
volinfo.c
|
||||||
cdfs.rc)
|
cdfs.h)
|
||||||
|
|
||||||
add_library(cdfs SHARED ${SOURCE})
|
add_library(cdfs SHARED ${SOURCE} cdfs.rc)
|
||||||
|
|
||||||
set_module_type(cdfs kernelmodedriver)
|
set_module_type(cdfs kernelmodedriver)
|
||||||
add_importlibs(cdfs ntoskrnl hal)
|
add_importlibs(cdfs ntoskrnl hal)
|
||||||
|
|
||||||
add_pch(cdfs cdfs.h)
|
add_pch(cdfs cdfs.h SOURCE)
|
||||||
|
|
||||||
add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -19,8 +19,9 @@ list(APPEND SOURCE
|
||||||
src/read.c
|
src/read.c
|
||||||
src/cleanup.c
|
src/cleanup.c
|
||||||
src/misc.c
|
src/misc.c
|
||||||
src/shutdown.c)
|
src/shutdown.c
|
||||||
|
inc/ext2fsd.h)
|
||||||
|
|
||||||
add_library(ext2fs SHARED ${SOURCE})
|
add_library(ext2fs SHARED ${SOURCE})
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
|
@ -29,7 +30,7 @@ endif()
|
||||||
|
|
||||||
allow_warnings(ext2fs)
|
allow_warnings(ext2fs)
|
||||||
target_link_libraries(ext2fs ${PSEH_LIB})
|
target_link_libraries(ext2fs ${PSEH_LIB})
|
||||||
add_pch(ext2fs inc/ext2fsd.h)
|
add_pch(ext2fs inc/ext2fsd.h SOURCE)
|
||||||
set_module_type(ext2fs kernelmodedriver)
|
set_module_type(ext2fs kernelmodedriver)
|
||||||
add_importlibs(ext2fs ntoskrnl hal)
|
add_importlibs(ext2fs ntoskrnl hal)
|
||||||
add_cd_file(TARGET ext2fs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET ext2fs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -21,13 +21,13 @@ list(APPEND SOURCE
|
||||||
shutdown.c
|
shutdown.c
|
||||||
string.c
|
string.c
|
||||||
volume.c
|
volume.c
|
||||||
vfatfs.rc)
|
vfat.h)
|
||||||
|
|
||||||
add_library(fastfat SHARED ${SOURCE})
|
add_library(fastfat SHARED ${SOURCE} vfatfs.rc)
|
||||||
|
|
||||||
set_module_type(fastfat kernelmodedriver)
|
set_module_type(fastfat kernelmodedriver)
|
||||||
add_importlibs(fastfat ntoskrnl hal)
|
add_importlibs(fastfat ntoskrnl hal)
|
||||||
|
|
||||||
add_pch(fastfat vfat.h)
|
add_pch(fastfat vfat.h SOURCE)
|
||||||
|
|
||||||
add_cd_file(TARGET fastfat DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET fastfat DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
add_library(fs_rec SHARED
|
list(APPEND SOURCE
|
||||||
blockdev.c
|
blockdev.c
|
||||||
cdfs.c
|
cdfs.c
|
||||||
ext2.c
|
ext2.c
|
||||||
|
@ -7,9 +7,10 @@ add_library(fs_rec SHARED
|
||||||
fs_rec.c
|
fs_rec.c
|
||||||
ntfs.c
|
ntfs.c
|
||||||
udfs.c
|
udfs.c
|
||||||
fs_rec.rc)
|
fs_rec.h)
|
||||||
|
|
||||||
|
add_library(fs_rec SHARED ${SOURCE} fs_rec.rc)
|
||||||
set_module_type(fs_rec kernelmodedriver)
|
set_module_type(fs_rec kernelmodedriver)
|
||||||
add_importlibs(fs_rec ntoskrnl hal)
|
add_importlibs(fs_rec ntoskrnl hal)
|
||||||
add_pch(fs_rec fs_rec.h)
|
add_pch(fs_rec fs_rec.h SOURCE)
|
||||||
add_cd_file(TARGET fs_rec DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET fs_rec DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -5,13 +5,13 @@ list(APPEND SOURCE
|
||||||
fsctrl.c
|
fsctrl.c
|
||||||
msfs.c
|
msfs.c
|
||||||
rw.c
|
rw.c
|
||||||
msfs.rc)
|
msfs.h)
|
||||||
|
|
||||||
add_library(msfs SHARED ${SOURCE})
|
add_library(msfs SHARED ${SOURCE} msfs.rc)
|
||||||
|
|
||||||
set_module_type(msfs kernelmodedriver)
|
set_module_type(msfs kernelmodedriver)
|
||||||
add_importlibs(msfs ntoskrnl hal)
|
add_importlibs(msfs ntoskrnl hal)
|
||||||
|
|
||||||
add_pch(msfs msfs.h)
|
add_pch(msfs msfs.h SOURCE)
|
||||||
|
|
||||||
add_cd_file(TARGET msfs DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET msfs DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
|
|
||||||
add_library(mup SHARED
|
list(APPEND SOURCE
|
||||||
create.c
|
create.c
|
||||||
mup.c
|
mup.c
|
||||||
mup.rc)
|
mup.h)
|
||||||
|
|
||||||
|
add_library(mup SHARED ${SOURCE} mup.rc)
|
||||||
set_module_type(mup kernelmodedriver)
|
set_module_type(mup kernelmodedriver)
|
||||||
add_importlibs(mup ntoskrnl hal)
|
add_importlibs(mup ntoskrnl hal)
|
||||||
add_pch(mup mup.h)
|
add_pch(mup mup.h SOURCE)
|
||||||
add_cd_file(TARGET mup DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET mup DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -19,11 +19,12 @@ list(APPEND SOURCE
|
||||||
volinfo.c
|
volinfo.c
|
||||||
waitsup.c
|
waitsup.c
|
||||||
write.c
|
write.c
|
||||||
writesup.c)
|
writesup.c
|
||||||
|
npfs.h)
|
||||||
|
|
||||||
add_library(npfs SHARED ${SOURCE})
|
add_library(npfs SHARED ${SOURCE})
|
||||||
set_module_type(npfs kernelmodedriver)
|
set_module_type(npfs kernelmodedriver)
|
||||||
target_link_libraries(npfs ${PSEH_LIB})
|
target_link_libraries(npfs ${PSEH_LIB})
|
||||||
add_importlibs(npfs ntoskrnl hal)
|
add_importlibs(npfs ntoskrnl hal)
|
||||||
add_pch(npfs npfs.h)
|
add_pch(npfs npfs.h SOURCE)
|
||||||
add_cd_file(TARGET npfs DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET npfs DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -15,13 +15,13 @@ list(APPEND SOURCE
|
||||||
ntfs.c
|
ntfs.c
|
||||||
rw.c
|
rw.c
|
||||||
volinfo.c
|
volinfo.c
|
||||||
ntfs.rc)
|
ntfs.h)
|
||||||
|
|
||||||
add_library(ntfs SHARED ${SOURCE})
|
add_library(ntfs SHARED ${SOURCE} ntfs.rc)
|
||||||
|
|
||||||
set_module_type(ntfs kernelmodedriver)
|
set_module_type(ntfs kernelmodedriver)
|
||||||
add_importlibs(ntfs ntoskrnl hal)
|
add_importlibs(ntfs ntoskrnl hal)
|
||||||
|
|
||||||
add_pch(ntfs ntfs.h)
|
add_pch(ntfs ntfs.h SOURCE)
|
||||||
|
|
||||||
add_cd_file(TARGET ntfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET ntfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -7,12 +7,12 @@ list(APPEND SOURCE
|
||||||
point.c
|
point.c
|
||||||
symlink.c
|
symlink.c
|
||||||
uniqueid.c
|
uniqueid.c
|
||||||
mountmgr.rc)
|
mntmgr.h)
|
||||||
|
|
||||||
add_library(mountmgr SHARED ${SOURCE})
|
add_library(mountmgr SHARED ${SOURCE} mountmgr.rc)
|
||||||
target_link_libraries(mountmgr wdmguid ioevent)
|
target_link_libraries(mountmgr wdmguid ioevent)
|
||||||
set_module_type(mountmgr kernelmodedriver)
|
set_module_type(mountmgr kernelmodedriver)
|
||||||
add_importlibs(mountmgr ntoskrnl hal)
|
add_importlibs(mountmgr ntoskrnl hal)
|
||||||
add_pch(mountmgr mntmgr.h)
|
add_pch(mountmgr mntmgr.h SOURCE)
|
||||||
add_cd_file(TARGET mountmgr DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET mountmgr DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,14 @@ spec2def(hidclass.sys hidclass.spec ADD_IMPORTLIB)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
fdo.c
|
fdo.c
|
||||||
hidclass.c
|
hidclass.c
|
||||||
hidclass.rc
|
|
||||||
pdo.c
|
pdo.c
|
||||||
guid.c
|
precomp.h)
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/hidclass.def)
|
|
||||||
|
|
||||||
add_library(hidclass SHARED ${SOURCE})
|
add_library(hidclass SHARED
|
||||||
|
${SOURCE}
|
||||||
|
guid.c
|
||||||
|
hidclass.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/hidclass.def)
|
||||||
|
|
||||||
set_entrypoint(hidclass 0)
|
set_entrypoint(hidclass 0)
|
||||||
set_subsystem(hidclass native)
|
set_subsystem(hidclass native)
|
||||||
|
@ -18,5 +20,5 @@ set_target_properties(hidclass PROPERTIES SUFFIX ".sys")
|
||||||
|
|
||||||
add_importlibs(hidclass ntoskrnl hidparse hal)
|
add_importlibs(hidclass ntoskrnl hidparse hal)
|
||||||
add_dependencies(hidclass bugcodes)
|
add_dependencies(hidclass bugcodes)
|
||||||
|
add_pch(hidclass precomp.h SOURCE)
|
||||||
add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
add_library(i8042prt SHARED
|
list(APPEND SOURCE
|
||||||
createclose.c
|
createclose.c
|
||||||
i8042prt.c
|
i8042prt.c
|
||||||
keyboard.c
|
keyboard.c
|
||||||
|
@ -9,10 +9,14 @@ add_library(i8042prt SHARED
|
||||||
ps2pp.c
|
ps2pp.c
|
||||||
readwrite.c
|
readwrite.c
|
||||||
registry.c
|
registry.c
|
||||||
|
i8042prt.h)
|
||||||
|
|
||||||
|
add_library(i8042prt SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
i8042prt.rc)
|
i8042prt.rc)
|
||||||
|
|
||||||
set_module_type(i8042prt kernelmodedriver)
|
set_module_type(i8042prt kernelmodedriver)
|
||||||
add_importlibs(i8042prt ntoskrnl hal)
|
add_importlibs(i8042prt ntoskrnl hal)
|
||||||
add_pch(i8042prt i8042prt.h)
|
add_pch(i8042prt i8042prt.h SOURCE)
|
||||||
add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
|
|
||||||
add_library(kbdclass SHARED
|
list(APPEND SOURCE
|
||||||
kbdclass.c
|
kbdclass.c
|
||||||
misc.c
|
misc.c
|
||||||
|
kbdclass.h)
|
||||||
|
|
||||||
|
add_library(kbdclass SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
kbdclass.rc)
|
kbdclass.rc)
|
||||||
|
|
||||||
set_module_type(kbdclass kernelmodedriver)
|
set_module_type(kbdclass kernelmodedriver)
|
||||||
add_pch(kbdclass kbdclass.h)
|
add_pch(kbdclass kbdclass.h SOURCE)
|
||||||
target_link_libraries(kbdclass ${PSEH_LIB})
|
target_link_libraries(kbdclass ${PSEH_LIB})
|
||||||
add_importlibs(kbdclass ntoskrnl hal)
|
add_importlibs(kbdclass ntoskrnl hal)
|
||||||
add_cd_file(TARGET kbdclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET kbdclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
|
|
||||||
add_library(mouclass SHARED
|
list(APPEND SOURCE
|
||||||
misc.c
|
misc.c
|
||||||
mouclass.c
|
mouclass.c
|
||||||
|
mouclass.h)
|
||||||
|
|
||||||
|
add_library(mouclass SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
mouclass.rc)
|
mouclass.rc)
|
||||||
|
|
||||||
set_module_type(mouclass kernelmodedriver)
|
set_module_type(mouclass kernelmodedriver)
|
||||||
add_pch(mouclass mouclass.h)
|
|
||||||
target_link_libraries(mouclass ${PSEH_LIB})
|
target_link_libraries(mouclass ${PSEH_LIB})
|
||||||
add_importlibs(mouclass ntoskrnl hal)
|
add_importlibs(mouclass ntoskrnl hal)
|
||||||
|
add_pch(mouclass mouclass.h SOURCE)
|
||||||
add_cd_file(TARGET mouclass DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET mouclass DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
add_library(sermouse SHARED
|
list(APPEND SOURCE
|
||||||
createclose.c
|
createclose.c
|
||||||
detect.c
|
detect.c
|
||||||
fdo.c
|
fdo.c
|
||||||
|
@ -7,9 +7,10 @@ add_library(sermouse SHARED
|
||||||
misc.c
|
misc.c
|
||||||
readmouse.c
|
readmouse.c
|
||||||
sermouse.c
|
sermouse.c
|
||||||
sermouse.rc)
|
sermouse.h)
|
||||||
|
|
||||||
|
add_library(sermouse SHARED ${SOURCE} sermouse.rc)
|
||||||
set_module_type(sermouse kernelmodedriver)
|
set_module_type(sermouse kernelmodedriver)
|
||||||
add_pch(sermouse sermouse.h)
|
add_pch(sermouse sermouse.h SOURCE)
|
||||||
add_importlibs(sermouse ntoskrnl hal)
|
add_importlibs(sermouse ntoskrnl hal)
|
||||||
add_cd_file(TARGET sermouse DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET sermouse DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -28,14 +28,17 @@ list(APPEND SOURCE
|
||||||
worker.c
|
worker.c
|
||||||
kcom.c
|
kcom.c
|
||||||
swenum.c
|
swenum.c
|
||||||
ks.rc
|
precomp.h)
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ks.def)
|
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_asm_files(ks_asm msvc.S)
|
add_asm_files(ks_asm msvc.S)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(ks SHARED ${SOURCE} ${ks_asm})
|
add_library(ks SHARED
|
||||||
|
${SOURCE}
|
||||||
|
${ks_asm}
|
||||||
|
ks.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/ks.def)
|
||||||
|
|
||||||
set_target_properties(ks PROPERTIES SUFFIX ".sys")
|
set_target_properties(ks PROPERTIES SUFFIX ".sys")
|
||||||
|
|
||||||
|
@ -44,7 +47,7 @@ set_subsystem(ks native)
|
||||||
set_image_base(ks 0x00010000)
|
set_image_base(ks 0x00010000)
|
||||||
|
|
||||||
target_link_libraries(ks ${PSEH_LIB})
|
target_link_libraries(ks ${PSEH_LIB})
|
||||||
add_pch(ks priv.h)
|
add_pch(ks precomp.h SOURCE)
|
||||||
add_importlibs(ks ntoskrnl hal)
|
add_importlibs(ks ntoskrnl hal)
|
||||||
add_dependencies(ks psdk bugcodes)
|
add_dependencies(ks psdk bugcodes)
|
||||||
add_cd_file(TARGET ks DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET ks DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -16,12 +16,12 @@ list(APPEND SOURCE
|
||||||
afd/tdi.c
|
afd/tdi.c
|
||||||
afd/tdiconn.c
|
afd/tdiconn.c
|
||||||
afd/write.c
|
afd/write.c
|
||||||
afd.rc)
|
include/afd.h)
|
||||||
|
|
||||||
add_library(afd SHARED ${SOURCE})
|
add_library(afd SHARED ${SOURCE} afd.rc)
|
||||||
target_link_libraries(afd ${PSEH_LIB})
|
target_link_libraries(afd ${PSEH_LIB})
|
||||||
|
|
||||||
set_module_type(afd kernelmodedriver)
|
set_module_type(afd kernelmodedriver)
|
||||||
add_importlibs(afd ntoskrnl hal)
|
add_importlibs(afd ntoskrnl hal)
|
||||||
add_pch(afd include/afd.h)
|
add_pch(afd include/afd.h SOURCE)
|
||||||
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -4,10 +4,10 @@ include_directories(BEFORE include)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
ne2000/8390.c
|
ne2000/8390.c
|
||||||
ne2000/main.c
|
ne2000/main.c
|
||||||
ne2000.rc)
|
include/ne2000.h)
|
||||||
|
|
||||||
add_library(ne2000 SHARED ${SOURCE})
|
add_library(ne2000 SHARED ${SOURCE} ne2000.rc)
|
||||||
add_pch(ne2000 include/ne2000.h)
|
add_pch(ne2000 include/ne2000.h SOURCE)
|
||||||
set_module_type(ne2000 kernelmodedriver)
|
set_module_type(ne2000 kernelmodedriver)
|
||||||
add_importlibs(ne2000 ndis ntoskrnl hal)
|
add_importlibs(ne2000 ndis ntoskrnl hal)
|
||||||
add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -8,10 +8,10 @@ add_definitions(
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
pcnet.c
|
pcnet.c
|
||||||
requests.c
|
requests.c
|
||||||
pcnet.rc)
|
pcnet.h)
|
||||||
|
|
||||||
add_library(pcnet SHARED ${SOURCE})
|
add_library(pcnet SHARED ${SOURCE} pcnet.rc)
|
||||||
add_pch(pcnet pcnet.h)
|
add_pch(pcnet pcnet.h SOURCE)
|
||||||
set_module_type(pcnet kernelmodedriver)
|
set_module_type(pcnet kernelmodedriver)
|
||||||
add_importlibs(pcnet ndis ntoskrnl hal)
|
add_importlibs(pcnet ndis ntoskrnl hal)
|
||||||
add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -9,10 +9,10 @@ list(APPEND SOURCE
|
||||||
hardware.c
|
hardware.c
|
||||||
info.c
|
info.c
|
||||||
interrupt.c
|
interrupt.c
|
||||||
rtl8139.rc)
|
nic.h)
|
||||||
|
|
||||||
add_library(rtl8139 SHARED ${SOURCE})
|
add_library(rtl8139 SHARED ${SOURCE} rtl8139.rc)
|
||||||
add_pch(rtl8139 nic.h)
|
add_pch(rtl8139 nic.h SOURCE)
|
||||||
set_module_type(rtl8139 kernelmodedriver)
|
set_module_type(rtl8139 kernelmodedriver)
|
||||||
add_importlibs(rtl8139 ndis ntoskrnl hal)
|
add_importlibs(rtl8139 ndis ntoskrnl hal)
|
||||||
add_cd_file(TARGET rtl8139 DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET rtl8139 DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -32,15 +32,17 @@ list(APPEND SOURCE
|
||||||
ndis/protocol.c
|
ndis/protocol.c
|
||||||
ndis/string.c
|
ndis/string.c
|
||||||
ndis/time.c
|
ndis/time.c
|
||||||
|
include/ndissys.h)
|
||||||
|
|
||||||
|
add_library(ndis SHARED
|
||||||
|
${SOURCE}
|
||||||
ndis.rc
|
ndis.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ndis.def)
|
${CMAKE_CURRENT_BINARY_DIR}/ndis.def)
|
||||||
|
|
||||||
add_library(ndis SHARED ${SOURCE})
|
|
||||||
|
|
||||||
set_module_type(ndis kernelmodedriver)
|
set_module_type(ndis kernelmodedriver)
|
||||||
add_importlibs(ndis ntoskrnl hal)
|
add_importlibs(ndis ntoskrnl hal)
|
||||||
|
|
||||||
add_pch(ndis include/ndissys.h)
|
add_pch(ndis include/ndissys.h SOURCE)
|
||||||
|
|
||||||
add_cd_file(TARGET ndis DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET ndis DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
||||||
|
|
|
@ -7,19 +7,16 @@ include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/include/reactos/drivers/ndisuio)
|
${REACTOS_SOURCE_DIR}/include/reactos/drivers/ndisuio)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
createclose.c
|
createclose.c
|
||||||
ioctl.c
|
ioctl.c
|
||||||
main.c
|
main.c
|
||||||
misc.c
|
misc.c
|
||||||
protocol.c
|
protocol.c
|
||||||
readwrite.c
|
readwrite.c
|
||||||
ndisuio.rc)
|
ndisuio.h)
|
||||||
|
|
||||||
add_library(ndisuio SHARED ${SOURCE})
|
|
||||||
|
|
||||||
|
add_library(ndisuio SHARED ${SOURCE} ndisuio.rc)
|
||||||
set_module_type(ndisuio kernelmodedriver)
|
set_module_type(ndisuio kernelmodedriver)
|
||||||
add_importlibs(ndisuio ndis ntoskrnl hal)
|
add_importlibs(ndisuio ndis ntoskrnl hal)
|
||||||
|
add_pch(ndisuio ndisuio.h SOURCE)
|
||||||
add_pch(ndisuio ndisuio.h)
|
|
||||||
|
|
||||||
add_cd_file(TARGET ndisuio DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET ndisuio DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -24,11 +24,13 @@ list(APPEND SOURCE
|
||||||
tcpip/proto.c
|
tcpip/proto.c
|
||||||
tcpip/tinfo.c
|
tcpip/tinfo.c
|
||||||
tcpip/wait.c
|
tcpip/wait.c
|
||||||
|
include/precomp.h)
|
||||||
|
|
||||||
|
add_library(tcpip SHARED
|
||||||
|
${SOURCE}
|
||||||
tcpip.rc
|
tcpip.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
|
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
|
||||||
|
|
||||||
add_library(tcpip SHARED ${SOURCE})
|
|
||||||
|
|
||||||
target_link_libraries(tcpip
|
target_link_libraries(tcpip
|
||||||
ip
|
ip
|
||||||
lwip
|
lwip
|
||||||
|
@ -38,6 +40,6 @@ target_link_libraries(tcpip
|
||||||
set_module_type(tcpip kernelmodedriver)
|
set_module_type(tcpip kernelmodedriver)
|
||||||
add_importlibs(tcpip ndis ntoskrnl hal)
|
add_importlibs(tcpip ndis ntoskrnl hal)
|
||||||
|
|
||||||
add_pch(tcpip include/precomp.h)
|
add_pch(tcpip include/precomp.h SOURCE)
|
||||||
|
|
||||||
add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -15,15 +15,18 @@ list(APPEND SOURCE
|
||||||
cte/string.c
|
cte/string.c
|
||||||
cte/timer.c
|
cte/timer.c
|
||||||
misc/main.c
|
misc/main.c
|
||||||
misc/tdi.rc
|
|
||||||
tdi/dereg.c
|
tdi/dereg.c
|
||||||
tdi/handler.c
|
tdi/handler.c
|
||||||
tdi/obsolete.c
|
tdi/obsolete.c
|
||||||
tdi/stubs.c
|
tdi/stubs.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(tdi SHARED
|
||||||
|
${SOURCE}
|
||||||
|
misc/tdi.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/tdi.def)
|
${CMAKE_CURRENT_BINARY_DIR}/tdi.def)
|
||||||
|
|
||||||
add_library(tdi SHARED ${SOURCE})
|
add_pch(tdi precomp.h SOURCE)
|
||||||
add_pch(tdi precomp.h)
|
|
||||||
set_module_type(tdi kernelmodedriver)
|
set_module_type(tdi kernelmodedriver)
|
||||||
add_importlibs(tdi ntoskrnl hal)
|
add_importlibs(tdi ntoskrnl hal)
|
||||||
add_cd_file(TARGET tdi DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET tdi DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -2,21 +2,23 @@
|
||||||
include_directories(${REACTOS_SOURCE_DIR})
|
include_directories(${REACTOS_SOURCE_DIR})
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
chanmgr.c
|
chanmgr.c
|
||||||
channel.c
|
channel.c
|
||||||
cmdchan.c
|
cmdchan.c
|
||||||
concmd.c
|
concmd.c
|
||||||
conmgr.c
|
conmgr.c
|
||||||
data.c
|
data.c
|
||||||
dispatch.c
|
dispatch.c
|
||||||
init.c
|
init.c
|
||||||
memory.c
|
memory.c
|
||||||
rawchan.c
|
rawchan.c
|
||||||
util.c
|
util.c
|
||||||
vtutf8chan.c)
|
vtutf8chan.c
|
||||||
|
sacdrv.h)
|
||||||
|
|
||||||
add_library(sacdrv SHARED ${SOURCE} sacdrv.rc)
|
add_library(sacdrv SHARED ${SOURCE} sacdrv.rc)
|
||||||
set_module_type(sacdrv kernelmodedriver)
|
set_module_type(sacdrv kernelmodedriver)
|
||||||
add_importlibs(sacdrv ntoskrnl hal)
|
add_importlibs(sacdrv ntoskrnl hal)
|
||||||
add_dependencies(sacdrv sacmsg)
|
add_dependencies(sacdrv sacmsg)
|
||||||
|
add_pch(sacdrv sacdrv.h SOURCE)
|
||||||
add_cd_file(TARGET sacdrv DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET sacdrv DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,14 +1,18 @@
|
||||||
|
|
||||||
add_library(serenum SHARED
|
list(APPEND SOURCE
|
||||||
detect.c
|
detect.c
|
||||||
fdo.c
|
fdo.c
|
||||||
misc.c
|
misc.c
|
||||||
pdo.c
|
pdo.c
|
||||||
serenum.c
|
serenum.c
|
||||||
|
serenum.h)
|
||||||
|
|
||||||
|
add_library(serenum SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
serenum.rc)
|
serenum.rc)
|
||||||
|
|
||||||
add_pch(serenum serenum.h)
|
add_pch(serenum serenum.h SOURCE)
|
||||||
set_module_type(serenum kernelmodedriver)
|
set_module_type(serenum kernelmodedriver)
|
||||||
add_importlibs(serenum ntoskrnl hal)
|
add_importlibs(serenum ntoskrnl hal)
|
||||||
add_cd_file(TARGET serenum DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET serenum DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
add_library(serial SHARED
|
list(APPEND SOURCE
|
||||||
circularbuffer.c
|
circularbuffer.c
|
||||||
cleanup.c
|
cleanup.c
|
||||||
close.c
|
close.c
|
||||||
|
@ -12,10 +12,14 @@ add_library(serial SHARED
|
||||||
power.c
|
power.c
|
||||||
rw.c
|
rw.c
|
||||||
serial.c
|
serial.c
|
||||||
|
serial.h)
|
||||||
|
|
||||||
|
add_library(serial SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
serial.rc)
|
serial.rc)
|
||||||
|
|
||||||
add_pch(serial serial.h)
|
|
||||||
set_module_type(serial kernelmodedriver)
|
set_module_type(serial kernelmodedriver)
|
||||||
add_importlibs(serial ntoskrnl hal)
|
add_importlibs(serial ntoskrnl hal)
|
||||||
|
add_pch(serial serial.h SOURCE)
|
||||||
add_cd_file(TARGET serial DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET serial DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
||||||
|
|
||||||
add_library(blue SHARED blue.c font.c blue.rc)
|
list(APPEND SOURCE
|
||||||
|
blue.c
|
||||||
|
font.c
|
||||||
|
blue.h)
|
||||||
|
|
||||||
add_pch(blue blue.h)
|
add_library(blue SHARED ${SOURCE} blue.rc)
|
||||||
set_module_type(blue kernelmodedriver)
|
set_module_type(blue kernelmodedriver)
|
||||||
add_importlibs(blue ntoskrnl hal)
|
add_importlibs(blue ntoskrnl hal)
|
||||||
|
add_pch(blue blue.h SOURCE)
|
||||||
add_cd_file(TARGET blue DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET blue DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/class)
|
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/class)
|
||||||
|
|
||||||
add_library(cdrom SHARED cdrom.c findscsi.c cdrom.rc)
|
list(APPEND SOURCE
|
||||||
|
cdrom.c
|
||||||
|
findscsi.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(cdrom SHARED ${SOURCE} cdrom.rc)
|
||||||
|
|
||||||
set_module_type(cdrom kernelmodedriver)
|
set_module_type(cdrom kernelmodedriver)
|
||||||
add_importlibs(cdrom
|
add_importlibs(cdrom
|
||||||
|
@ -10,5 +15,5 @@ add_importlibs(cdrom
|
||||||
ntoskrnl
|
ntoskrnl
|
||||||
hal)
|
hal)
|
||||||
|
|
||||||
add_pch(cdrom precomp.h)
|
add_pch(cdrom precomp.h SOURCE)
|
||||||
add_cd_file(TARGET cdrom DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET cdrom DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -6,7 +6,8 @@ list(APPEND SOURCE
|
||||||
data.c
|
data.c
|
||||||
ioctl.c
|
ioctl.c
|
||||||
mmc.c
|
mmc.c
|
||||||
sec.c)
|
sec.c
|
||||||
|
cdrom.h)
|
||||||
|
|
||||||
add_library(cdrom_new SHARED ${SOURCE})
|
add_library(cdrom_new SHARED ${SOURCE})
|
||||||
|
|
||||||
|
@ -22,3 +23,4 @@ endif()
|
||||||
|
|
||||||
set_module_type(cdrom_new kernelmodedriver)
|
set_module_type(cdrom_new kernelmodedriver)
|
||||||
add_importlibs(cdrom_new classpnp ntoskrnl hal)
|
add_importlibs(cdrom_new classpnp ntoskrnl hal)
|
||||||
|
add_pch(cdrom_new cdrom.h SOURCE)
|
||||||
|
|
|
@ -7,11 +7,10 @@ list(APPEND SOURCE
|
||||||
enum.c
|
enum.c
|
||||||
geometry.c
|
geometry.c
|
||||||
part.c
|
part.c
|
||||||
pnp.c)
|
pnp.c
|
||||||
|
disk.h)
|
||||||
|
|
||||||
add_library(disk_new SHARED
|
add_library(disk_new SHARED ${SOURCE} disk.rc)
|
||||||
${SOURCE}
|
|
||||||
disk.rc)
|
|
||||||
|
|
||||||
target_link_libraries(disk_new libcntpr wdmguid)
|
target_link_libraries(disk_new libcntpr wdmguid)
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
|
@ -24,4 +23,5 @@ endif()
|
||||||
|
|
||||||
set_module_type(disk_new kernelmodedriver)
|
set_module_type(disk_new kernelmodedriver)
|
||||||
add_importlibs(disk_new classpnp ntoskrnl hal)
|
add_importlibs(disk_new classpnp ntoskrnl hal)
|
||||||
|
add_pch(disk_new disk.h SOURCE)
|
||||||
add_cd_file(TARGET disk_new DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET disk_new DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -26,12 +26,13 @@ list(APPEND SOURCE
|
||||||
retry.c
|
retry.c
|
||||||
utils.c
|
utils.c
|
||||||
xferpkt.c
|
xferpkt.c
|
||||||
guid.c
|
classp.h)
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
|
|
||||||
|
|
||||||
add_library(classpnp SHARED
|
add_library(classpnp SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
class.rc)
|
guid.c
|
||||||
|
class.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
||||||
|
@ -40,7 +41,7 @@ if(ARCH STREQUAL "i386")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_pch(classpnp classp.h)
|
add_pch(classpnp classp.h SOURCE)
|
||||||
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
|
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
|
||||||
set_module_type(classpnp kernelmodedriver)
|
set_module_type(classpnp kernelmodedriver)
|
||||||
add_importlibs(classpnp hal ntoskrnl)
|
add_importlibs(classpnp hal ntoskrnl)
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
|
|
||||||
add_library(fdc SHARED
|
list(APPEND SOURCE
|
||||||
fdc.c
|
fdc.c
|
||||||
fdo.c
|
fdo.c
|
||||||
misc.c
|
misc.c
|
||||||
pdo.c
|
pdo.c
|
||||||
fdc.rc)
|
fdc.h)
|
||||||
|
|
||||||
|
add_library(fdc SHARED ${SOURCE} fdc.rc)
|
||||||
set_module_type(fdc kernelmodedriver)
|
set_module_type(fdc kernelmodedriver)
|
||||||
add_importlibs(fdc hal ntoskrnl)
|
add_importlibs(fdc hal ntoskrnl)
|
||||||
|
add_pch(fdc fdc.h SOURCE)
|
||||||
add_cd_file(TARGET fdc DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET fdc DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
|
|
||||||
add_library(floppy SHARED
|
list(APPEND SOURCE
|
||||||
csqrtns.c
|
csqrtns.c
|
||||||
floppy.c
|
floppy.c
|
||||||
hardware.c
|
hardware.c
|
||||||
ioctl.c
|
ioctl.c
|
||||||
readwrite.c
|
readwrite.c
|
||||||
floppy.rc)
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(floppy SHARED ${SOURCE} floppy.rc)
|
||||||
target_link_libraries(floppy csq)
|
target_link_libraries(floppy csq)
|
||||||
add_pch(floppy precomp.h)
|
add_pch(floppy precomp.h SOURCE)
|
||||||
set_module_type(floppy kernelmodedriver)
|
set_module_type(floppy kernelmodedriver)
|
||||||
add_importlibs(floppy hal ntoskrnl)
|
add_importlibs(floppy hal ntoskrnl)
|
||||||
add_cd_file(TARGET floppy DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET floppy DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -7,11 +7,14 @@ list(APPEND SOURCE
|
||||||
misc.c
|
misc.c
|
||||||
pciidex.c
|
pciidex.c
|
||||||
pdo.c
|
pdo.c
|
||||||
|
pciidex.h)
|
||||||
|
|
||||||
|
add_library(pciidex SHARED
|
||||||
|
${SOURCE}
|
||||||
pciidex.rc
|
pciidex.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/pciidex.def)
|
${CMAKE_CURRENT_BINARY_DIR}/pciidex.def)
|
||||||
|
|
||||||
add_library(pciidex SHARED ${SOURCE})
|
add_pch(pciidex pciidex.h SOURCE)
|
||||||
add_pch(pciidex pciidex.h)
|
|
||||||
set_module_type(pciidex kernelmodedriver)
|
set_module_type(pciidex kernelmodedriver)
|
||||||
add_importlibs(pciidex ntoskrnl)
|
add_importlibs(pciidex ntoskrnl)
|
||||||
add_cd_file(TARGET pciidex DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET pciidex DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -15,7 +15,8 @@ list(APPEND SOURCE
|
||||||
id_probe.cpp
|
id_probe.cpp
|
||||||
id_queue.cpp
|
id_queue.cpp
|
||||||
id_sata.cpp
|
id_sata.cpp
|
||||||
ros_glue/ros_glue.cpp)
|
ros_glue/ros_glue.cpp
|
||||||
|
stdafx.h)
|
||||||
|
|
||||||
add_library(uniata SHARED ${SOURCE} idedma.rc)
|
add_library(uniata SHARED ${SOURCE} idedma.rc)
|
||||||
|
|
||||||
|
@ -26,7 +27,7 @@ if(NOT MSVC)
|
||||||
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error -Wno-unused-but-set-variable -Wno-narrowing")
|
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error -Wno-unused-but-set-variable -Wno-narrowing")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_pch(uniata stdafx.h)
|
add_pch(uniata stdafx.h SOURCE)
|
||||||
set_module_type(uniata kernelmodedriver)
|
set_module_type(uniata kernelmodedriver)
|
||||||
add_importlibs(uniata scsiport ntoskrnl hal)
|
add_importlibs(uniata scsiport ntoskrnl hal)
|
||||||
add_cd_file(TARGET uniata DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET uniata DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -4,11 +4,14 @@ spec2def(scsiport.sys scsiport.spec ADD_IMPORTLIB)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
scsiport.c
|
scsiport.c
|
||||||
stubs.c
|
stubs.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(scsiport SHARED
|
||||||
|
${SOURCE}
|
||||||
scsiport.rc
|
scsiport.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
|
${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
|
||||||
|
|
||||||
add_library(scsiport SHARED ${SOURCE})
|
add_pch(scsiport precomp.h SOURCE)
|
||||||
add_pch(scsiport precomp.h)
|
|
||||||
set_module_type(scsiport kernelmodedriver)
|
set_module_type(scsiport kernelmodedriver)
|
||||||
add_importlibs(scsiport ntoskrnl hal)
|
add_importlibs(scsiport ntoskrnl hal)
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,23 @@ add_definitions(-DDEBUG_MODE)
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
||||||
|
|
||||||
add_library(usbccgp SHARED descriptor.c fdo.c function.c misc.c pdo.c usbccgp.c guid.c usbccgp.rc)
|
list(APPEND SOURCE
|
||||||
|
descriptor.c
|
||||||
|
fdo.c
|
||||||
|
function.c
|
||||||
|
misc.c
|
||||||
|
pdo.c
|
||||||
|
usbccgp.c
|
||||||
|
usbccgp.h)
|
||||||
|
|
||||||
|
add_library(usbccgp SHARED
|
||||||
|
${SOURCE}
|
||||||
|
guid.c
|
||||||
|
usbccgp.rc)
|
||||||
|
|
||||||
target_link_libraries(usbccgp ${PSEH_LIB})
|
target_link_libraries(usbccgp ${PSEH_LIB})
|
||||||
|
|
||||||
set_module_type(usbccgp kernelmodedriver)
|
set_module_type(usbccgp kernelmodedriver)
|
||||||
add_importlibs(usbccgp ntoskrnl hal usbd)
|
add_importlibs(usbccgp ntoskrnl hal usbd)
|
||||||
|
add_pch(usbccgp usbccgp.h SOURCE)
|
||||||
add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -11,10 +11,11 @@ list(APPEND SOURCE
|
||||||
usb_request.cpp
|
usb_request.cpp
|
||||||
usb_queue.cpp
|
usb_queue.cpp
|
||||||
hardware.cpp
|
hardware.cpp
|
||||||
guid.cpp)
|
usbehci.h)
|
||||||
|
|
||||||
add_library(usbehci SHARED
|
add_library(usbehci SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
guid.cpp
|
||||||
usbehci.rc)
|
usbehci.rc)
|
||||||
|
|
||||||
target_link_libraries(usbehci
|
target_link_libraries(usbehci
|
||||||
|
@ -25,5 +26,5 @@ target_link_libraries(usbehci
|
||||||
|
|
||||||
set_module_type(usbehci kernelmodedriver)
|
set_module_type(usbehci kernelmodedriver)
|
||||||
add_importlibs(usbehci ntoskrnl hal usbd)
|
add_importlibs(usbehci ntoskrnl hal usbd)
|
||||||
|
add_pch(usbehci usbehci.h SOURCE)
|
||||||
add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -3,11 +3,22 @@ add_definitions(-DDEBUG_MODE)
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
||||||
|
|
||||||
add_library(usbhub SHARED fdo.c misc.c pdo.c hub_fdo.c usbhub.c guid.c usbhub.rc)
|
list(APPEND SOURCE
|
||||||
|
fdo.c
|
||||||
|
hub_fdo.c
|
||||||
|
misc.c
|
||||||
|
pdo.c
|
||||||
|
usbhub.c
|
||||||
|
usbhub.h)
|
||||||
|
|
||||||
|
add_library(usbhub SHARED
|
||||||
|
${SOURCE}
|
||||||
|
guid.c
|
||||||
|
usbhub.rc)
|
||||||
|
|
||||||
target_link_libraries(usbhub ${PSEH_LIB})
|
target_link_libraries(usbhub ${PSEH_LIB})
|
||||||
|
|
||||||
set_module_type(usbhub kernelmodedriver)
|
set_module_type(usbhub kernelmodedriver)
|
||||||
add_importlibs(usbhub ntoskrnl hal usbd)
|
add_importlibs(usbhub ntoskrnl hal usbd)
|
||||||
|
add_pch(usbhub usbhub.h SOURCE)
|
||||||
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -11,10 +11,11 @@ list(APPEND SOURCE
|
||||||
usb_request.cpp
|
usb_request.cpp
|
||||||
usb_queue.cpp
|
usb_queue.cpp
|
||||||
hardware.cpp
|
hardware.cpp
|
||||||
guid.cpp)
|
usbohci.h)
|
||||||
|
|
||||||
add_library(usbohci SHARED
|
add_library(usbohci SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
guid.cpp
|
||||||
usbohci.rc)
|
usbohci.rc)
|
||||||
|
|
||||||
target_link_libraries(usbohci
|
target_link_libraries(usbohci
|
||||||
|
@ -25,5 +26,5 @@ target_link_libraries(usbohci
|
||||||
|
|
||||||
set_module_type(usbohci kernelmodedriver)
|
set_module_type(usbohci kernelmodedriver)
|
||||||
add_importlibs(usbohci ntoskrnl hal usbd)
|
add_importlibs(usbohci ntoskrnl hal usbd)
|
||||||
|
add_pch(usbohci usbohci.h SOURCE)
|
||||||
add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -3,9 +3,24 @@ add_definitions(-DDEBUG_MODE)
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
||||||
|
|
||||||
add_library(usbstor SHARED descriptor.c disk.c fdo.c misc.c pdo.c queue.c error.c scsi.c usbstor.c guid.c usbstor.rc)
|
list(APPEND SOURCE
|
||||||
|
descriptor.c
|
||||||
|
disk.c
|
||||||
|
fdo.c
|
||||||
|
misc.c
|
||||||
|
pdo.c
|
||||||
|
queue.c
|
||||||
|
error.c
|
||||||
|
scsi.c
|
||||||
|
usbstor.c
|
||||||
|
usbstor.h)
|
||||||
|
|
||||||
|
add_library(usbstor SHARED
|
||||||
|
${SOURCE}
|
||||||
|
guid.c
|
||||||
|
usbstor.rc)
|
||||||
|
|
||||||
set_module_type(usbstor kernelmodedriver)
|
set_module_type(usbstor kernelmodedriver)
|
||||||
add_importlibs(usbstor ntoskrnl hal usbd)
|
add_importlibs(usbstor ntoskrnl hal usbd)
|
||||||
|
add_pch(usbstor usbstor.h SOURCE)
|
||||||
add_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -12,10 +12,11 @@ list(APPEND SOURCE
|
||||||
usb_request.cpp
|
usb_request.cpp
|
||||||
usb_queue.cpp
|
usb_queue.cpp
|
||||||
hardware.cpp
|
hardware.cpp
|
||||||
guid.cpp)
|
usbuhci.h)
|
||||||
|
|
||||||
add_library(usbuhci SHARED
|
add_library(usbuhci SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
guid.cpp
|
||||||
usbuhci.rc)
|
usbuhci.rc)
|
||||||
|
|
||||||
target_link_libraries(usbuhci
|
target_link_libraries(usbuhci
|
||||||
|
@ -26,5 +27,5 @@ target_link_libraries(usbuhci
|
||||||
|
|
||||||
set_module_type(usbuhci kernelmodedriver)
|
set_module_type(usbuhci kernelmodedriver)
|
||||||
add_importlibs(usbuhci ntoskrnl hal usbd)
|
add_importlibs(usbuhci ntoskrnl hal usbd)
|
||||||
|
add_pch(usbuhci usbuhci.h SOURCE)
|
||||||
add_cd_file(TARGET usbuhci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbuhci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -47,18 +47,19 @@ list(APPEND SOURCE
|
||||||
undoc.cpp
|
undoc.cpp
|
||||||
unregister.cpp
|
unregister.cpp
|
||||||
version.cpp
|
version.cpp
|
||||||
guid.cpp
|
private.hpp)
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/portcls.def)
|
|
||||||
|
|
||||||
add_library(portcls SHARED
|
add_library(portcls SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
portcls.rc)
|
guid.cpp
|
||||||
|
portcls.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/portcls.def)
|
||||||
|
|
||||||
target_link_libraries(portcls
|
target_link_libraries(portcls
|
||||||
libcntpr
|
libcntpr
|
||||||
${PSEH_LIB})
|
${PSEH_LIB})
|
||||||
|
|
||||||
set_module_type(portcls kernelmodedriver ENTRYPOINT 0 )
|
set_module_type(portcls kernelmodedriver ENTRYPOINT 0 )
|
||||||
add_pch(portcls private.hpp)
|
add_pch(portcls private.hpp SOURCE)
|
||||||
add_importlibs(portcls ntoskrnl ks drmk hal)
|
add_importlibs(portcls ntoskrnl ks drmk hal)
|
||||||
add_cd_file(TARGET portcls DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET portcls DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/libsamplerate)
|
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/libsamplerate)
|
||||||
|
|
||||||
add_library(kmixer SHARED
|
list(APPEND SOURCE
|
||||||
kmixer.c
|
kmixer.c
|
||||||
filter.c
|
filter.c
|
||||||
pin.c)
|
pin.c
|
||||||
|
kmixer.h)
|
||||||
|
|
||||||
|
add_library(kmixer SHARED ${SOURCE})
|
||||||
set_module_type(kmixer kernelmodedriver)
|
set_module_type(kmixer kernelmodedriver)
|
||||||
|
|
||||||
target_link_libraries(kmixer
|
target_link_libraries(kmixer
|
||||||
libcntpr
|
libcntpr
|
||||||
libsamplerate)
|
libsamplerate)
|
||||||
|
|
||||||
add_pch(kmixer kmixer.h)
|
add_pch(kmixer kmixer.h SOURCE)
|
||||||
add_importlibs(kmixer ntoskrnl ks hal)
|
add_importlibs(kmixer ntoskrnl ks hal)
|
||||||
add_cd_file(TARGET kmixer DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET kmixer DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -5,20 +5,21 @@ include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/lib/drivers/sound/mmixer
|
${REACTOS_SOURCE_DIR}/lib/drivers/sound/mmixer
|
||||||
${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
|
||||||
|
|
||||||
add_library(wdmaud SHARED
|
list(APPEND SOURCE
|
||||||
control.c
|
control.c
|
||||||
deviface.c
|
deviface.c
|
||||||
entry.c
|
entry.c
|
||||||
mmixer.c
|
mmixer.c
|
||||||
sup.c
|
sup.c
|
||||||
wdmaud.rc)
|
wdmaud.h)
|
||||||
|
|
||||||
|
add_library(wdmaud SHARED ${SOURCE} wdmaud.rc)
|
||||||
set_module_type(wdmaud kernelmodedriver)
|
set_module_type(wdmaud kernelmodedriver)
|
||||||
|
|
||||||
target_link_libraries(wdmaud
|
target_link_libraries(wdmaud
|
||||||
mmixer
|
mmixer
|
||||||
libcntpr)
|
libcntpr)
|
||||||
|
|
||||||
add_pch(wdmaud wdmaud.h)
|
add_pch(wdmaud wdmaud.h SOURCE)
|
||||||
add_importlibs(wdmaud ntoskrnl ks hal)
|
add_importlibs(wdmaud ntoskrnl ks hal)
|
||||||
add_cd_file(TARGET wdmaud DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET wdmaud DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
|
|
||||||
add_definitions(-D_COMDDK_)
|
add_definitions(-D_COMDDK_)
|
||||||
|
|
||||||
add_library(sysaudio SHARED
|
list(APPEND SOURCE
|
||||||
control.c
|
control.c
|
||||||
deviface.c
|
deviface.c
|
||||||
dispatcher.c
|
dispatcher.c
|
||||||
main.c
|
main.c
|
||||||
pin.c
|
pin.c
|
||||||
sysaudio.rc)
|
sysaudio.h)
|
||||||
|
|
||||||
add_pch(sysaudio sysaudio.h)
|
add_library(sysaudio SHARED ${SOURCE} sysaudio.rc)
|
||||||
set_module_type(sysaudio kernelmodedriver)
|
set_module_type(sysaudio kernelmodedriver)
|
||||||
target_link_libraries(sysaudio libcntpr)
|
target_link_libraries(sysaudio libcntpr)
|
||||||
add_importlibs(sysaudio ntoskrnl ks hal)
|
add_importlibs(sysaudio ntoskrnl ks hal)
|
||||||
|
add_pch(sysaudio sysaudio.h SOURCE)
|
||||||
add_cd_file(TARGET sysaudio DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET sysaudio DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
Loading…
Reference in a new issue