- get rid of set_entrypoint usage for "win32" dlls

svn path=/trunk/; revision=53608
This commit is contained in:
Jérôme Gardou 2011-09-06 17:31:25 +00:00
parent e6a91fe96a
commit 49149fb1c8
45 changed files with 43 additions and 47 deletions

View file

@ -8,7 +8,7 @@ list(APPEND SOURCE
add_library(cfgmgr32 SHARED ${SOURCE})
set_entrypoint(cfgmgr32 0)
set_module_type(cfgmgr32 win32dll ENTRYPOINT 0 )
add_importlibs(cfgmgr32 setupapi kernel32 ntdll)
add_dependencies(cfgmgr32 psdk)
add_cd_file(TARGET cfgmgr32 DESTINATION reactos/system32 FOR all)

View file

@ -15,7 +15,7 @@ list(APPEND SOURCE
add_library(comcat SHARED ${SOURCE})
set_entrypoint(comcat 0)
set_module_type(comcat win32dll ENTRYPOINT 0 )
target_link_libraries(comcat uuid wine)

View file

@ -19,9 +19,7 @@ list(APPEND SOURCE
add_library(crtdll SHARED ${SOURCE})
set_module_type(crtdll win32dll)
set_entrypoint(crtdll DllMain 12)
set_module_type(crtdll win32dll ENTRYPOINT DllMain 12)
target_link_libraries(crtdll wine crt)

View file

@ -21,7 +21,7 @@ list(APPEND SOURCE
add_library(dnsapi SHARED ${SOURCE})
set_entrypoint(dnsapi 0)
set_module_type(dnsapi win32dll ENTRYPOINT 0 )
target_link_libraries(dnsapi adns)
add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
add_pch(dnsapi dnsapi/precomp.h)

View file

@ -15,7 +15,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
add_library(fmifs SHARED ${SOURCE})
set_entrypoint(fmifs InitializeFmIfs 12)
set_module_type(fmifs win32dll ENTRYPOINT InitializeFmIfs 12)
add_importlibs(fmifs kernel32 ntdll)
add_pch(fmifs precomp.h)
add_dependencies(fmifs psdk)

View file

@ -108,7 +108,7 @@ list(APPEND SOURCE
add_library(glu32 SHARED ${SOURCE})
set_entrypoint(glu32 0)
set_module_type(glu32 win32dll ENTRYPOINT 0 )
if(NOT MSVC)
target_link_libraries(glu32 stlport -lsupc++ -lgcc -lmingw32 oldnames)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(imaadp32.acm SHARED ${SOURCE})
set_entrypoint(imaadp32.acm 0)
set_module_type(imaadp32.acm win32dll ENTRYPOINT 0 )
set_target_properties(imaadp32.acm PROPERTIES SUFFIX "")
target_link_libraries(imaadp32.acm wine)
add_importlibs(imaadp32.acm winmm user32 msvcrt kernel32 ntdll)

View file

@ -24,7 +24,6 @@ list(APPEND SOURCE
add_library(lsasrv SHARED ${SOURCE})
set_module_type(lsasrv win32dll ENTRYPOINT 0 UNICODE)
set_entrypoint(lsasrv 0)
target_link_libraries(lsasrv wine ${PSEH_LIB})
add_importlibs(lsasrv rpcrt4 msvcrt kernel32 ntdll)
add_pch(lsasrv lsasrv.h)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(lz32 SHARED ${SOURCE})
set_entrypoint(lz32 0)
set_module_type(lz32 win32dll ENTRYPOINT 0 )
target_link_libraries(lz32 wine)
add_importlibs(lz32 kernel32 ntdll)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(mcicda SHARED ${SOURCE})
set_entrypoint(mcicda 0)
set_module_type(mcicda win32dll ENTRYPOINT 0 )
target_link_libraries(mcicda wine)
add_importlibs(mcicda winmm user32 kernel32 ntdll)
add_dependencies(mcicda psdk)

View file

@ -15,7 +15,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
add_library(mlang SHARED ${SOURCE})
set_entrypoint(mlang 0)
set_module_type(mlang win32dll ENTRYPOINT 0 )
target_link_libraries(mlang uuid wine)
add_delay_importlibs(mlang oleaut32)

View file

@ -17,7 +17,6 @@ list(APPEND SOURCE
add_library(mmdrv SHARED ${SOURCE})
set_module_type(mmdrv win32dll ENTRYPOINT 0 UNICODE)
set_entrypoint(mmdrv 0)
add_importlibs(mmdrv winmm user32 kernel32 ntdll)
add_dependencies(mmdrv psdk)
add_cd_file(TARGET mmdrv DESTINATION reactos/system32 FOR all)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(msadp32.acm SHARED ${SOURCE})
set_entrypoint(msadp32.acm 0)
set_module_type(msadp32.acm win32dll ENTRYPOINT 0 )
set_target_properties(msadp32.acm PROPERTIES SUFFIX "")
target_link_libraries(msadp32.acm wine)
add_importlibs(msadp32.acm winmm user32 msvcrt kernel32 ntdll)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(msg711.acm SHARED ${SOURCE})
set_entrypoint(msg711.acm 0)
set_module_type(msg711.acm win32dll ENTRYPOINT 0 )
set_target_properties(msg711.acm PROPERTIES SUFFIX "")
target_link_libraries(msg711.acm wine)
add_importlibs(msg711.acm winmm user32 msvcrt kernel32 ntdll)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(msgsm32.acm SHARED ${SOURCE})
set_entrypoint(msgsm32.acm 0)
set_module_type(msgsm32.acm win32dll ENTRYPOINT 0 )
set_target_properties(msgsm32.acm PROPERTIES SUFFIX "")
target_link_libraries(msgsm32.acm wine)
add_importlibs(msgsm32.acm winmm user32 msvcrt kernel32 ntdll)

View file

@ -8,7 +8,7 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_library(mshtml.tlb SHARED rsrc.rc)
set_entrypoint(mshtml.tlb 0)
set_module_type(mshtml.tlb win32dll ENTRYPOINT 0 )
set_target_properties(mshtml.tlb PROPERTIES SUFFIX "")
add_dependencies(mshtml.tlb mshtml__tlb)
add_cd_file(TARGET mshtml.tlb DESTINATION reactos/system32 FOR all)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/nddeapi.def)
add_library(nddeapi SHARED ${SOURCE})
set_entrypoint(nddeapi 0)
set_module_type(nddeapi win32dll ENTRYPOINT 0 )
target_link_libraries(nddeapi wine)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/ntdsapi.def)
add_library(ntdsapi SHARED ${SOURCE})
set_entrypoint(ntdsapi 0)
set_module_type(ntdsapi win32dll ENTRYPOINT 0 )
target_link_libraries(ntdsapi wine)

View file

@ -11,7 +11,7 @@ list(APPEND SOURCE
add_library(odbccp32 SHARED ${SOURCE})
set_entrypoint(odbccp32 0)
set_module_type(odbccp32 win32dll ENTRYPOINT 0 )
target_link_libraries(odbccp32 uuid wine)
add_importlibs(odbccp32

View file

@ -11,7 +11,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/olecli32.def)
add_library(olecli32 SHARED ${SOURCE})
set_entrypoint(olecli32 0)
set_module_type(olecli32 win32dll ENTRYPOINT 0 )
target_link_libraries(olecli32 wine)

View file

@ -11,7 +11,7 @@ list(APPEND SOURCE
add_library(olepro32 SHARED ${SOURCE})
set_entrypoint(olepro32 0)
set_module_type(olepro32 win32dll ENTRYPOINT 0 )
target_link_libraries(olepro32 wine)

View file

@ -11,7 +11,7 @@ list(APPEND SOURCE
add_library(olesvr32 SHARED ${SOURCE})
set_entrypoint(olesvr32 0)
set_module_type(olesvr32 win32dll ENTRYPOINT 0 )
target_link_libraries(olesvr32 wine)

View file

@ -14,7 +14,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/pdh.def)
add_library(pdh SHARED ${SOURCE})
set_entrypoint(pdh 0)
set_module_type(pdh win32dll ENTRYPOINT 0 )
target_link_libraries(pdh wine)

View file

@ -12,7 +12,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/printui.def)
add_library(printui SHARED ${SOURCE})
set_entrypoint(printui 0)
set_module_type(printui win32dll ENTRYPOINT 0 )
target_link_libraries(printui wine)

View file

@ -11,7 +11,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/rasapi32.def)
add_library(rasapi32 SHARED ${SOURCE})
set_entrypoint(rasapi32 0)
set_module_type(rasapi32 win32dll ENTRYPOINT 0 )
target_link_libraries(rasapi32 wine)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(rsabase SHARED ${SOURCE})
set_entrypoint(rsabase 0)
set_module_type(rsabase win32dll ENTRYPOINT 0 )
target_link_libraries(rsabase wine)
add_importlibs(rsabase rsaenh ntdll)
add_cd_file(TARGET rsabase DESTINATION reactos/system32 FOR all)

View file

@ -7,7 +7,7 @@ spec2def(shdoclc.dll shdoclc.spec)
add_library(shdoclc SHARED rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/shdoclc.def)
set_entrypoint(shdoclc 0)
set_module_type(shdoclc win32dll ENTRYPOINT 0 )
target_link_libraries(shdoclc wine)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(shfolder SHARED ${SOURCE})
set_entrypoint(shfolder 0)
set_module_type(shfolder win32dll ENTRYPOINT 0 )
target_link_libraries(shfolder wine)
add_importlibs(shfolder shell32 kernel32 ntdll)

View file

@ -12,7 +12,7 @@ list(APPEND SOURCE
add_library(smdll SHARED ${SOURCE})
target_link_libraries(smdll smlib)
set_entrypoint(smdll DllMainCRTStartup 12)
set_module_type(smdll nativedll ENTRYPOINT DllMainCRTStartup 12)
add_importlibs(smdll ntdll)
add_pch(smdll precomp.h)
add_dependencies(smdll psdk)

View file

@ -7,7 +7,7 @@ spec2def(softpub.dll softpub.spec)
add_library(softpub SHARED softpub.rc
${CMAKE_CURRENT_BINARY_DIR}/softpub.def)
set_entrypoint(softpub 0)
set_module_type(softpub win32dll ENTRYPOINT 0 )
target_link_libraries(softpub wine)

View file

@ -7,7 +7,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/srclient.def)
add_library(srclient SHARED ${SOURCE})
set_entrypoint(srclient 0)
set_module_type(srclient win32dll ENTRYPOINT 0 )
add_importlibs(srclient kernel32 ntdll)
add_dependencies(srclient psdk)

View file

@ -12,7 +12,7 @@ list(APPEND SOURCE
add_library(stdole2.tlb SHARED ${SOURCE})
set_entrypoint(stdole2.tlb 0)
set_module_type(stdole2.tlb win32dll ENTRYPOINT 0 )
set_target_properties(stdole2.tlb PROPERTIES SUFFIX "")
add_dependencies(stdole2.tlb std_ole_v2)
add_cd_file(TARGET stdole2.tlb DESTINATION reactos/system32 FOR all)

View file

@ -12,7 +12,7 @@ list(APPEND SOURCE
add_library(stdole32.tlb SHARED ${SOURCE})
set_entrypoint(stdole32.tlb 0)
set_module_type(stdole32.tlb win32dll ENTRYPOINT 0 )
set_target_properties(stdole32.tlb PROPERTIES SUFFIX "")
add_dependencies(stdole32.tlb std_ole_v1)

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
add_library(sxs SHARED ${SOURCE})
set_entrypoint(sxs 0)
set_module_type(sxs win32dll ENTRYPOINT 0 )
target_link_libraries(sxs wine)

View file

@ -14,7 +14,7 @@ list(APPEND SOURCE
add_library(tapi32 SHARED ${SOURCE})
set_entrypoint(tapi32 0)
set_module_type(tapi32 win32dll ENTRYPOINT 0 )
target_link_libraries(tapi32 wine)

View file

@ -2,6 +2,6 @@
set_rc_compiler()
add_library(tapiui SHARED tapiui.rc)
set_entrypoint(tapiui 0)
set_module_type(tapiui win32dll ENTRYPOINT 0 )
add_dependencies(tapiui psdk)
add_cd_file(TARGET tapiui DESTINATION reactos/system32 FOR all)

View file

@ -7,7 +7,7 @@ list(APPEND SOURCE
add_library(ufatx SHARED ${SOURCE})
set_entrypoint(ufatx 0)
set_module_type(ufatx win32dll ENTRYPOINT 0 )
target_link_libraries(ufatx vfatxlib)
add_importlibs(ufatx ntdll)

View file

@ -7,7 +7,7 @@ list(APPEND SOURCE
add_library(unicows SHARED ${SOURCE})
set_entrypoint(unicows 0)
set_module_type(unicows win32dll ENTRYPOINT 0 )
add_importlibs(unicows
avicap32

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/updspapi.def)
add_library(updspapi SHARED ${SOURCE})
set_entrypoint(updspapi 0)
set_module_type(updspapi win32dll ENTRYPOINT 0 )
target_link_libraries(updspapi wine)

View file

@ -13,7 +13,7 @@ list(APPEND SOURCE
add_library(version SHARED ${SOURCE})
set_entrypoint(version 0)
set_module_type(version win32dll ENTRYPOINT 0 )
target_link_libraries(version wine)
add_importlibs(version lz32 kernel32 ntdll)

View file

@ -13,7 +13,7 @@ add_library(winemp3.acm SHARED
mpegl3.c
${CMAKE_CURRENT_BINARY_DIR}/winemp3.def)
set_entrypoint(winemp3.acm 0)
set_module_type(winemp3.acm win32dll ENTRYPOINT 0 )
set_target_properties(winemp3.acm PROPERTIES SUFFIX "")
target_link_libraries(winemp3.acm wine libmpg123 oldnames)

View file

@ -8,7 +8,7 @@ list(APPEND SOURCE
add_library(winfax SHARED ${SOURCE})
set_entrypoint(winfax 0)
set_module_type(winfax win32dll ENTRYPOINT 0 )
add_importlibs(winfax kernel32 ntdll)
add_dependencies(winfax psdk)

View file

@ -8,7 +8,7 @@ add_library(midimap SHARED
midimap.rc
${CMAKE_CURRENT_BINARY_DIR}/midimap.def)
set_entrypoint(midimap 0)
set_module_type(midimap win32dll ENTRYPOINT 0 )
target_link_libraries(midimap uuid wine)

View file

@ -13,7 +13,7 @@ list(APPEND SOURCE
add_library(wlanapi SHARED ${SOURCE})
set_entrypoint(wlanapi 0)
set_module_type(wlanapi win32dll ENTRYPOINT 0 )
target_link_libraries(wlanapi
wine

View file

@ -7,7 +7,7 @@ list(APPEND SOURCE
add_library(wmi SHARED ${SOURCE})
set_entrypoint(wmi 0)
set_module_type(wmi win32dll ENTRYPOINT 0 )
add_importlibs(wmi advapi32)
add_dependencies(wmi psdk)