Stubs: Fix some win32 modules.

svn path=/branches/cmake-bringup/; revision=49876
This commit is contained in:
Sylvain Petreolle 2010-11-30 20:57:01 +00:00
parent e57db5ea40
commit 53010e4c40
39 changed files with 185 additions and 50 deletions

View file

@ -1,6 +1,3 @@
ADD_INTERFACE_DEFINITIONS(atl_atliface_header atliface.idl)
add_definitions(-D__WINESRC__)
remove_definitions(-D_WIN32_WINNT=0x502)
@ -8,15 +5,20 @@ add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
ADD_INTERFACE_DEFINITIONS(atl_atliface_header atliface.idl)
set_rc_compiler()
spec2def(atl.dll atl.spec)
add_library(atl SHARED
list(APPEND SOURCE
atl_ax.c
atl_main.c
registrar.c
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/atl.def)
add_library(atl SHARED ${SOURCE})
set_module_type(atl win32dll)
target_link_libraries(atl

View file

@ -13,9 +13,10 @@ endif(ARCH MATCHES amd64)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(dbghelp.dll dbghelp.spec)
add_library(dbghelp SHARED
list(APPEND SOURCE
coff.c
cpu_i386.c
cpu_ppc.c
@ -42,6 +43,8 @@ add_library(dbghelp SHARED
version.rc
${CMAKE_CURRENT_BINARY_DIR}/dbghelp.def)
add_library(dbghelp SHARED ${SOURCE})
set_module_type(dbghelp win32dll)
target_link_libraries(dbghelp

View file

@ -4,7 +4,11 @@ add_definitions(-D__WINESRC__)
spec2def(mssign32.dll mssign32.spec)
add_library(mssign32 SHARED mssign32_main.c ${CMAKE_CURRENT_BINARY_DIR}/mssign32.def)
list(APPEND SOURCE
mssign32_main.c
${CMAKE_CURRENT_BINARY_DIR}/mssign32.def)
add_library(mssign32 SHARED ${SOURCE})
set_module_type(mssign32 win32dll)

View file

@ -4,7 +4,11 @@ add_definitions(-D__WINESRC__)
spec2def(mssip32.dll mssip32.spec)
add_library(mssip32 SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/mssip32.def)
list(APPEND SOURCE
main.c
${CMAKE_CURRENT_BINARY_DIR}/mssip32.def)
add_library(mssip32 SHARED ${SOURCE})
set_module_type(mssip32 win32dll)

View file

@ -4,15 +4,18 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
add_definitions(-D_WINE)
set_rc_compiler()
spec2def(msvfw32.dll msvfw32.spec)
add_library(msvfw32 SHARED
list(APPEND SOURCE
mciwnd.c
msvideo_main.c
drawdib.c
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
add_library(msvfw32 SHARED ${SOURCE})
set_module_type(msvfw32 win32dll)
target_link_libraries(msvfw32 wine)

View file

@ -4,7 +4,7 @@ add_definitions(-D__WINESRC__)
spec2def(netapi32.dll netapi32.spec)
add_library(netapi32 SHARED
list(APPEND SOURCE
access.c
apibuf.c
browsr.c
@ -19,6 +19,8 @@ add_library(netapi32 SHARED
wksta.c
${CMAKE_CURRENT_BINARY_DIR}/netapi32.def)
add_library(netapi32 SHARED ${SOURCE})
set_module_type(netapi32 win32dll)
target_link_libraries(netapi32 wine)

View file

@ -1,10 +1,10 @@
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
set_rc_compiler()
spec2def(netcfgx.dll netcfgx.spec)
add_library(netcfgx SHARED
list(APPEND SOURCE
netcfgx.c
classfactory.c
netcfg_iface.c
@ -13,6 +13,8 @@ add_library(netcfgx SHARED
netcfgx.rc
${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
add_library(netcfgx SHARED ${SOURCE})
set_module_type(netcfgx win32dll)
target_link_libraries(netcfgx

View file

@ -1,8 +1,8 @@
add_definitions(-D_NETSHELL_)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
set_rc_compiler()
spec2def(netshell.dll netshell.spec)
list(APPEND SOURCE
@ -38,7 +38,8 @@ add_importlibs(netshell
setupapi
ws2_32
comctl32
kernel32)
kernel32
ntdll)
add_pch(netshell ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})

View file

@ -3,13 +3,15 @@ set_unicode()
spec2def(newdev.dll newdev.spec)
add_library(newdev SHARED
list(APPEND SOURCE
newdev.c
stubs.c
wizard.c
newdev.rc
${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
add_library(newdev SHARED ${SOURCE})
set_module_type(newdev win32dll)
target_link_libraries(newdev wine)

View file

@ -3,7 +3,12 @@ set_unicode()
spec2def(ntlanman.dll ntlanman.spec)
add_library(ntlanman SHARED ntlanman.c ntlanman.rc ${CMAKE_CURRENT_BINARY_DIR}/ntlanman.def)
list(APPEND SOURCE
ntlanman.c
ntlanman.rc
${CMAKE_CURRENT_BINARY_DIR}/ntlanman.def)
add_library(ntlanman SHARED ${SOURCE})
set_module_type(ntlanman win32dll)

View file

@ -1,10 +1,15 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(ntprint.dll ntprint.spec)
add_library(ntprint SHARED ntprint.c ntprint.rc ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
list(APPEND SOURCE
ntprint.c
ntprint.rc
${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
add_library(ntprint SHARED ${SOURCE})
set_module_type(ntprint win32dll)

View file

@ -6,7 +6,11 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(odbc32.dll odbc32.spec)
add_library(odbc32 SHARED proxyodbc.c ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
list(APPEND SOURCE
proxyodbc.c
${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
add_library(odbc32 SHARED ${SOURCE})
set_module_type(odbc32 win32dll)

View file

@ -4,9 +4,12 @@ add_definitions(-D__WINESRC__)
spec2def(olesvr32.dll olesvr32.spec)
add_library(olesvr32 SHARED olesvr_main.c
list(APPEND SOURCE
olesvr_main.c
${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def)
add_library(olesvr32 SHARED ${SOURCE})
set_entrypoint(olesvr32 0)
target_link_libraries(olesvr32

View file

@ -2,9 +2,15 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(olethk32.dll olethk32.spec)
add_library(olethk32 SHARED main.c version.rc ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def)
list(APPEND SOURCE
main.c
version.rc
${CMAKE_CURRENT_BINARY_DIR}/olethk32.def)
add_library(olethk32 SHARED ${SOURCE})
set_module_type(olethk32 win32dll)

View file

@ -2,9 +2,15 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(pidgen.dll pidgen.spec)
add_library(pidgen SHARED main.c rsrc.rc ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
list(APPEND SOURCE
main.c
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
add_library(pidgen SHARED ${SOURCE})
set_module_type(pidgen win32dll)

View file

@ -2,11 +2,15 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(printui.dll printui.spec)
add_library(printui SHARED printui.c printui.rc
list(APPEND SOURCE
printui.c
printui.rc
${CMAKE_CURRENT_BINARY_DIR}/printui.def)
add_library(printui SHARED ${SOURCE})
set_entrypoint(printui 0)
target_link_libraries(printui wine)

View file

@ -4,9 +4,15 @@ add_dependencies(pstorec_tlb stdole2)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(pstorec.dll pstorec.spec)
add_library(pstorec SHARED pstorec.c rsrc.rc ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
list(APPEND SOURCE
pstorec.c
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
add_library(pstorec SHARED ${SOURCE})
set_module_type(pstorec win32dll)

View file

@ -3,12 +3,14 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/winsock)
spec2def(rasadhlp.dll rasadhlp.spec)
add_library(rasadhlp SHARED
list(APPEND SOURCE
autodial.c
init.c
winsock.c
${CMAKE_CURRENT_BINARY_DIR}/rasadhlp.def)
add_library(rasadhlp SHARED ${SOURCE})
set_module_type(rasadhlp win32dll)
add_importlibs(rasadhlp ws2_32 msvcrt kernel32 ntdll)

View file

@ -1,7 +1,12 @@
spec2def(rasdlg.dll rasdlg.spec)
add_library(rasdlg SHARED rasdlg.c rasdlg.rc ${CMAKE_CURRENT_BINARY_DIR}/rasdlg.def)
list(APPEND SOURCE
rasdlg.c
rasdlg.rc
${CMAKE_CURRENT_BINARY_DIR}/rasdlg.def)
add_library(rasdlg SHARED ${SOURCE})
set_module_type(rasdlg win32dll)

View file

@ -1,7 +1,12 @@
set_rc_compiler()
spec2def(rasman.dll rasman.spec)
add_library(rasman SHARED rasman.c rasman.rc ${CMAKE_CURRENT_BINARY_DIR}/rasman.def)
list(APPEND SOURCE
rasman.c
rasman.rc
${CMAKE_CURRENT_BINARY_DIR}/rasman.def)
add_library(rasman SHARED ${SOURCE})
set_module_type(rasman win32dll)

View file

@ -4,7 +4,11 @@ add_definitions(-D__WINESRC__)
spec2def(resutils.dll resutils.spec)
add_library(resutils SHARED resutils.c ${CMAKE_CURRENT_BINARY_DIR}/resutils.def)
list(APPEND SOURCE
resutils.c
${CMAKE_CURRENT_BINARY_DIR}/resutils.def)
add_library(resutils SHARED ${SOURCE})
set_module_type(resutils win32dll)

View file

@ -2,9 +2,16 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(samlib.dll samlib.spec)
add_library(samlib SHARED dllmain.c samlib.c samlib.rc ${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
list(APPEND SOURCE
dllmain.c
samlib.c
samlib.rc
${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
add_library(samlib SHARED ${SOURCE})
set_module_type(samlib win32dll)

View file

@ -4,7 +4,11 @@ add_definitions(-D__WINESRC__)
spec2def(sccbase.dll sccbase.spec)
add_library(sccbase SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/sccbase.def)
list(APPEND SOURCE
main.c
${CMAKE_CURRENT_BINARY_DIR}/sccbase.def)
add_library(sccbase SHARED ${SOURCE})
set_module_type(sccbase win32dll)

View file

@ -1,16 +1,18 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(schannel.dll schannel.spec)
add_library(schannel SHARED
list(APPEND SOURCE
lsamode.c
schannel_main.c
usermode.c
version.rc
${CMAKE_CURRENT_BINARY_DIR}/schannel.def)
add_library(schannel SHARED ${SOURCE})
set_module_type(schannel win32dll)
target_link_libraries(schannel wine)

View file

@ -12,9 +12,10 @@ include_directories(
${REACTOS_SOURCE_DIR}/include/reactos/wine
${REACTOS_BINARY_DIR}/include/reactos/idl)
set_rc_compiler()
spec2def(setupapi.dll setupapi.spec)
add_library(setupapi SHARED
list(APPEND SOURCE
cfgmgr.c
devclass.c
devinst.c
@ -34,6 +35,8 @@ add_library(setupapi SHARED
setupapi.rc
${CMAKE_CURRENT_BINARY_DIR}/setupapi.def)
add_library(setupapi SHARED ${SOURCE})
set_module_type(setupapi win32dll)
target_link_libraries(setupapi

View file

@ -11,7 +11,7 @@ add_library(sfc SHARED
set_module_type(sfc win32dll)
add_importlibs(sfc msvcrt kernel32)
add_importlibs(sfc msvcrt kernel32 ntdll)
add_pch(sfc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(sfc 1)

View file

@ -1,7 +1,12 @@
spec2def(shimgvw.dll shimgvw.spec)
add_library(shimgvw SHARED shimgvw.c shimgvw.rc ${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def)
list(APPEND SOURCE
shimgvw.c
shimgvw.rc
${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def)
add_library(shimgvw SHARED ${SOURCE})
set_module_type(shimgvw win32dll)
@ -17,5 +22,4 @@ add_importlibs(shimgvw
kernel32
ntdll)
add_cab_target(shimgvw 1)

View file

@ -4,7 +4,11 @@ add_definitions(-D__WINESRC__)
spec2def(slbcsp.dll slbcsp.spec)
add_library(slbcsp SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/slbcsp.def)
list(APPEND SOURCE
main.c
${CMAKE_CURRENT_BINARY_DIR}/slbcsp.def)
add_library(slbcsp SHARED ${SOURCE})
set_module_type(slbcsp win32dll)

View file

@ -4,10 +4,12 @@ add_definitions(-D__WINESRC__)
spec2def(url.dll url.spec)
add_library(url SHARED
list(APPEND SOURCE
url_main.c
${CMAKE_CURRENT_BINARY_DIR}/url.def)
add_library(url SHARED ${SOURCE})
set_module_type(url win32dll)
target_link_libraries(url wine)

View file

@ -4,7 +4,7 @@ add_definitions(-D__WINESRC__)
spec2def(usp10.dll usp10.spec)
add_library(usp10 SHARED
list(APPEND SOURCE
bidi.c
usp10.c
mirror.c
@ -12,6 +12,8 @@ add_library(usp10 SHARED
shaping.c
${CMAKE_CURRENT_BINARY_DIR}/usp10.def)
add_library(usp10 SHARED ${SOURCE})
set_module_type(usp10 win32dll)
target_link_libraries(usp10 wine)

View file

@ -1,10 +1,11 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(uxtheme.dll uxtheme.spec)
add_library(uxtheme SHARED
list(APPEND SOURCE
buffer.c
draw.c
main.c
@ -17,6 +18,8 @@ add_library(uxtheme SHARED
version.rc
${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def)
add_library(uxtheme SHARED ${SOURCE})
set_module_type(uxtheme win32dll)
target_link_libraries(uxtheme wine)

View file

@ -11,9 +11,11 @@ include_directories(
${REACTOS_SOURCE_DIR}/include/reactos/libs/libpng
${REACTOS_SOURCE_DIR}/include/reactos/libs/libtiff)
set_rc_compiler()
spec2def(windowscodecs.dll windowscodecs.spec)
add_library(windowscodecs SHARED
list(APPEND SOURCE
bmpdecode.c
bmpencode.c
clsfactory.c
@ -35,6 +37,8 @@ add_library(windowscodecs SHARED
version.rc
${CMAKE_CURRENT_BINARY_DIR}/windowscodecs.def)
add_library(windowscodecs SHARED ${SOURCE})
set_module_type(windowscodecs win32dll)
target_link_libraries(windowscodecs wine)

View file

@ -10,7 +10,7 @@ spec2def(wininet.dll wininet.spec)
set_rc_compiler()
add_library(wininet SHARED
list(APPEND SOURCE
cookie.c
dialogs.c
ftp.c
@ -25,6 +25,8 @@ add_library(wininet SHARED
version.rc
${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
add_library(wininet SHARED ${SOURCE})
set_module_type(wininet win32dll)
target_link_libraries(wininet

View file

@ -5,13 +5,16 @@ set_unicode()
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_library(winspool SHARED
set_rc_compiler()
list(APPEND SOURCE
info.c
stubs.c
winspool_winspool.stubs.c
winspool.rc
${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
add_library(winspool SHARED ${SOURCE})
set_target_properties(winspool PROPERTIES SUFFIX ".drv")
set_module_type(winspool win32dll)

View file

@ -2,9 +2,10 @@
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(wintrust.dll wintrust.spec)
add_library(wintrust SHARED
list(APPEND SOURCE
crypt.c
register.c
wintrust_main.c
@ -13,6 +14,8 @@ add_library(wintrust SHARED
version.rc
${CMAKE_CURRENT_BINARY_DIR}/wintrust.def)
add_library(wintrust SHARED ${SOURCE})
set_module_type(wintrust win32dll)
target_link_libraries(wintrust

View file

@ -3,9 +3,12 @@ include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
spec2def(wlanapi.dll wlanapi.spec)
add_library(wlanapi SHARED main.c
list(APPEND SOURCE
main.c
${CMAKE_CURRENT_BINARY_DIR}/wlanapi.def)
add_library(wlanapi SHARED ${SOURCE})
set_entrypoint(wlanapi 0)
target_link_libraries(wlanapi

View file

@ -2,9 +2,10 @@
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(wldap32.dll wldap32.spec)
add_library(wldap32 SHARED
list(APPEND SOURCE
add.c
ber.c
bind.c
@ -28,6 +29,8 @@ add_library(wldap32 SHARED
wldap32.rc
${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
add_library(wldap32 SHARED ${SOURCE})
set_module_type(wldap32 win32dll)
target_link_libraries(wldap32 wine)

View file

@ -4,7 +4,11 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(wtsapi32.dll wtsapi32.spec)
add_library(wtsapi32 SHARED wtsapi32.c ${CMAKE_CURRENT_BINARY_DIR}/wtsapi32.def)
list(APPEND SOURCE
wtsapi32.c
${CMAKE_CURRENT_BINARY_DIR}/wtsapi32.def)
add_library(wtsapi32 SHARED ${SOURCE})
set_module_type(wtsapi32 win32dll)

View file

@ -4,7 +4,12 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(xmllite.dll xmllite.spec)
add_library(xmllite SHARED reader.c xmllite_main.c ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
list(APPEND SOURCE
reader.c
xmllite_main.c
${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
add_library(xmllite SHARED ${SOURCE})
set_module_type(xmllite win32dll)
@ -13,5 +18,4 @@ target_link_libraries(xmllite
add_importlibs(xmllite msvcrt kernel32 ntdll)
add_cab_target(xmllite 1)