1c2c66affSColin Finck 2c2c66affSColin Finckinclude_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl) 3c2c66affSColin Finckadd_rpc_files(client ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winspool.idl) 4c2c66affSColin Finckspec2def(winspool.drv winspool.spec ADD_IMPORTLIB) 5c2c66affSColin Finck 6c2c66affSColin Fincklist(APPEND SOURCE 7f3ea8225SColin Finck ../marshalling.c 8c2c66affSColin Finck devmode.c 946b91659SColin Finck forms.c 10c2c66affSColin Finck jobs.c 11c2c66affSColin Finck main.c 12c2c66affSColin Finck monitors.c 13c2c66affSColin Finck ports.c 14c2c66affSColin Finck printerdata.c 15c2c66affSColin Finck printerdrivers.c 16c2c66affSColin Finck printers.c 17c2c66affSColin Finck printprocessors.c 18c2c66affSColin Finck printproviders.c 19*7bffb703SJames Tabor spoolfile.c 20d90beaeeSDoug Lyons utils.c 21c2c66affSColin Finck ${CMAKE_CURRENT_BINARY_DIR}/winspool_c.c) 22c2c66affSColin Finck 23139a3d66SAmine Khaldilist(APPEND PCH_SKIP_SOURCE 24139a3d66SAmine Khaldi ${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c) 25139a3d66SAmine Khaldi 2623373acbSJérôme Gardouadd_library(winspool MODULE 27c2c66affSColin Finck ${SOURCE} 28139a3d66SAmine Khaldi ${PCH_SKIP_SOURCE} 29c2c66affSColin Finck winspool.rc 30c2c66affSColin Finck ${CMAKE_CURRENT_BINARY_DIR}/winspool.def) 31c2c66affSColin Finck 32c2c66affSColin Finckset_target_properties(winspool PROPERTIES SUFFIX ".drv") 33c2c66affSColin Finckset_module_type(winspool win32dll UNICODE) 34c2c66affSColin Fincktarget_link_libraries(winspool wine ${PSEH_LIB}) 35*7bffb703SJames Taboradd_importlibs(winspool advapi32 gdi32 user32 rpcrt4 msvcrt kernel32 ntdll) 36139a3d66SAmine Khaldiadd_pch(winspool precomp.h "${PCH_SKIP_SOURCE}") 37c2c66affSColin Finckadd_cd_file(TARGET winspool DESTINATION reactos/system32 FOR all) 38