1c2c66affSColin Finck 2c2c66affSColin Finckinclude_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include) 3c2c66affSColin Finckadd_definitions(-D_VIDEOPORT_) 4c2c66affSColin Finckspec2def(videoprt.sys videoprt.spec ADD_IMPORTLIB) 5c2c66affSColin Finck 6*c8d07514SJérôme Gardou# Embed RTC libs 7*c8d07514SJérôme Gardouif (STACK_PROTECTOR) 8*c8d07514SJérôme Gardou target_sources(libvideoprt PRIVATE $<TARGET_OBJECTS:gcc_ssp_videoprt>) 9*c8d07514SJérôme Gardouendif() 10*c8d07514SJérôme Gardou 11c2c66affSColin Fincklist(APPEND SOURCE 12c2c66affSColin Finck agp.c 13c2c66affSColin Finck child.c 14c2c66affSColin Finck ddc.c 15c2c66affSColin Finck dispatch.c 16c2c66affSColin Finck dma.c 17c2c66affSColin Finck event.c 18c2c66affSColin Finck funclist.c 19c2c66affSColin Finck int10.c 20c2c66affSColin Finck interrupt.c 21c2c66affSColin Finck registry.c 22c2c66affSColin Finck resource.c 23c2c66affSColin Finck services.c 24c2c66affSColin Finck spinlock.c 25c2c66affSColin Finck stubs.c 26c2c66affSColin Finck timer.c 27139a3d66SAmine Khaldi videoprt.c) 28139a3d66SAmine Khaldi 29139a3d66SAmine Khaldilist(APPEND PCH_SKIP_SOURCE 30139a3d66SAmine Khaldi guid.c) 31c2c66affSColin Finck 3223373acbSJérôme Gardouadd_library(videoprt MODULE 33c2c66affSColin Finck ${SOURCE} 34139a3d66SAmine Khaldi ${PCH_SKIP_SOURCE} 35c2c66affSColin Finck videoprt.rc 36c2c66affSColin Finck ${CMAKE_CURRENT_BINARY_DIR}/videoprt.def) 37c2c66affSColin Finck 38c2c66affSColin Finckset_module_type(videoprt kernelmodedriver) 390ad65796SHermès Bélusca-Maïtotarget_link_libraries(videoprt ${PSEH_LIB}) 40c2c66affSColin Finckadd_importlibs(videoprt ntoskrnl hal) 41139a3d66SAmine Khaldiadd_pch(videoprt videoprt.h "${PCH_SKIP_SOURCE}") 42c2c66affSColin Finckadd_cd_file(TARGET videoprt DESTINATION reactos/system32/drivers FOR all) 43