2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
|
|
|
add_definitions(-D_VIDEOPORT_)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(videoprt.sys videoprt.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
agp.c
|
2012-03-12 03:29:36 +00:00
|
|
|
child.c
|
2011-05-16 13:12:07 +00:00
|
|
|
ddc.c
|
|
|
|
dispatch.c
|
|
|
|
dma.c
|
|
|
|
event.c
|
|
|
|
funclist.c
|
|
|
|
int10.c
|
|
|
|
interrupt.c
|
2013-11-16 18:40:24 +00:00
|
|
|
registry.c
|
2011-05-16 13:12:07 +00:00
|
|
|
resource.c
|
|
|
|
services.c
|
|
|
|
spinlock.c
|
|
|
|
stubs.c
|
|
|
|
timer.c
|
|
|
|
videoprt.c
|
2014-02-09 22:52:01 +00:00
|
|
|
videoprt.h)
|
|
|
|
|
|
|
|
add_library(videoprt SHARED
|
|
|
|
${SOURCE}
|
2014-02-04 17:15:06 +00:00
|
|
|
guid.c
|
2011-05-16 13:12:07 +00:00
|
|
|
videoprt.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/videoprt.def)
|
|
|
|
|
|
|
|
set_module_type(videoprt kernelmodedriver)
|
|
|
|
add_importlibs(videoprt ntoskrnl hal)
|
2014-02-09 22:52:01 +00:00
|
|
|
add_pch(videoprt videoprt.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET videoprt DESTINATION reactos/system32/drivers FOR all)
|