- No explicit DllMain is not equivalent to no entrypoint at all

svn path=/trunk/; revision=58351
This commit is contained in:
Jérôme Gardou 2013-02-23 16:45:48 +00:00
parent b3ebafd67a
commit 14bd5c6f27
41 changed files with 45 additions and 47 deletions

View file

@ -13,7 +13,7 @@ add_library(dinput8 SHARED
version.rc
${CMAKE_CURRENT_BINARY_DIR}/dinput8.def)
set_module_type(dinput8 win32dll UNICODE ENTRYPOINT 0)
set_module_type(dinput8 win32dll UNICODE)
target_link_libraries(dinput8
dxguid

View file

@ -23,7 +23,7 @@ add_library(dmusic SHARED
version.rc
${CMAKE_CURRENT_BINARY_DIR}/dmusic.def)
set_module_type(dmusic win32dll UNICODE ENTRYPOINT 0)
set_module_type(dmusic win32dll UNICODE)
target_link_libraries(dmusic
dxguid

View file

@ -9,7 +9,7 @@ add_library(dplay SHARED
version.rc
${CMAKE_CURRENT_BINARY_DIR}/dplay.def)
set_module_type(dplay win32dll UNICODE ENTRYPOINT 0)
set_module_type(dplay win32dll UNICODE)
target_link_libraries(dplay
uuid

View file

@ -27,7 +27,7 @@ add_library(ksproxy SHARED
${SOURCE}
ksproxy.rc)
set_module_type(ksproxy win32dll ENTRYPOINT 0)
set_module_type(ksproxy win32dll)
set_target_properties(ksproxy PROPERTIES SUFFIX ".ax")
if(MSVC)

View file

@ -12,7 +12,7 @@ add_library(msdmo SHARED
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
set_module_type(msdmo win32dll ENTRYPOINT 0 UNICODE)
set_module_type(msdmo win32dll UNICODE)
target_link_libraries(msdmo uuid wine mediaobj_guid)

View file

@ -7,9 +7,9 @@ list(APPEND SOURCE
add_library(beepmidi SHARED ${SOURCE})
set_module_type(beepmidi win32dll ENTRYPOINT 0 UNICODE)
set_module_type(beepmidi win32dll UNICODE)
add_importlibs(beepmidi winmm kernel32 ntdll msvcrt)
add_importlibs(beepmidi winmm msvcrt kernel32 ntdll)
add_dependencies(beepmidi psdk)

View file

@ -19,7 +19,7 @@ list(APPEND SOURCE
add_library(cabinet SHARED ${SOURCE})
set_module_type(cabinet win32dll ENTRYPOINT 0)
set_module_type(cabinet win32dll)
target_link_libraries(cabinet wine zlib)
add_importlibs(cabinet msvcrt kernel32 ntdll)

View file

@ -8,7 +8,7 @@ list(APPEND SOURCE
add_library(cfgmgr32 SHARED ${SOURCE})
set_module_type(cfgmgr32 win32dll ENTRYPOINT 0 )
set_module_type(cfgmgr32 win32dll)
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_module_type(comcat win32dll ENTRYPOINT 0 )
set_module_type(comcat win32dll)
target_link_libraries(comcat uuid wine)

View file

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

View file

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

View file

@ -23,7 +23,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/lsa_s.c)
add_library(lsasrv SHARED ${SOURCE})
set_module_type(lsasrv win32dll ENTRYPOINT 0 UNICODE)
set_module_type(lsasrv win32dll UNICODE)
target_link_libraries(lsasrv wine ${PSEH_LIB})
add_importlibs(lsasrv samsrv rpcrt4 msvcrt kernel32 advapi32 ntdll)
add_pch(lsasrv lsasrv.h)

View file

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

View file

@ -10,10 +10,10 @@ list(APPEND SOURCE
add_library(mciseq SHARED ${SOURCE})
set_module_type(mciseq win32dll ENTRYPOINT 0)
set_module_type(mciseq win32dll)
target_link_libraries(mciseq wine)
add_importlibs(mciseq winmm user32 kernel32 ntdll msvcrt)
add_importlibs(mciseq msvcrt winmm user32 kernel32 ntdll)
add_dependencies(mciseq psdk)
add_cd_file(TARGET mciseq DESTINATION reactos/system32 FOR all)

View file

@ -13,7 +13,7 @@ list(APPEND SOURCE
add_library(mciwave SHARED ${SOURCE})
set_module_type(mciwave win32dll ENTRYPOINT 0)
set_module_type(mciwave win32dll)
target_link_libraries(mciwave wine)
add_importlibs(mciwave user32 winmm msvcrt kernel32 ntdll)

View file

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

View file

@ -7,7 +7,7 @@ spec2def(msacm32.drv msacm32.drv.spec)
add_library(msacm32.drv SHARED wavemap.c wavemap.rc
${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
set_module_type(msacm32.drv win32dll ENTRYPOINT 0 UNICODE)
set_module_type(msacm32.drv win32dll UNICODE)
set_target_properties(msacm32.drv PROPERTIES SUFFIX "")

View file

@ -10,7 +10,7 @@ list(APPEND SOURCE
add_library(msadp32.acm SHARED ${SOURCE})
set_module_type(msadp32.acm win32dll ENTRYPOINT 0 )
set_module_type(msadp32.acm win32dll)
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_module_type(msg711.acm win32dll ENTRYPOINT 0 )
set_module_type(msg711.acm win32dll)
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_module_type(msgsm32.acm win32dll ENTRYPOINT 0 )
set_module_type(msgsm32.acm win32dll)
set_target_properties(msgsm32.acm PROPERTIES SUFFIX "")
target_link_libraries(msgsm32.acm wine)
add_importlibs(msgsm32.acm winmm user32 msvcrt kernel32 ntdll)

View file

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

View file

@ -1,6 +1,6 @@
include_directories(${REACTOS_BINARY_DIR}/include/reactos)
add_library(netevent SHARED netevt.rc)
set_module_type(netevent win32dll ENTRYPOINT 0 UNICODE)
set_module_type(netevent win32dll UNICODE)
add_dependencies(netevent neteventmsg)
add_cd_file(TARGET netevent DESTINATION reactos/system32 FOR all)

View file

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

View file

@ -9,7 +9,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/olecli32.def)
add_library(olecli32 SHARED ${SOURCE})
set_module_type(olecli32 win32dll ENTRYPOINT 0 )
set_module_type(olecli32 win32dll)
target_link_libraries(olecli32 wine)
add_importlibs(olecli32 ole32 gdi32 kernel32 ntdll)
add_dependencies(olecli32 psdk)

View file

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

View file

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

View file

@ -14,11 +14,11 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/pdh.def)
add_library(pdh SHARED ${SOURCE})
set_module_type(pdh win32dll ENTRYPOINT 0 )
set_module_type(pdh win32dll)
target_link_libraries(pdh wine)
add_importlibs(pdh kernel32 ntdll msvcrt)
add_importlibs(pdh msvcrt kernel32 ntdll)
add_cd_file(TARGET pdh DESTINATION reactos/system32 FOR all)

View file

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

View file

@ -22,7 +22,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/sam_s.c)
add_library(samsrv SHARED ${SOURCE})
set_module_type(samsrv win32dll ENTRYPOINT 0 UNICODE)
set_module_type(samsrv win32dll UNICODE)
target_link_libraries(samsrv wine ${PSEH_LIB})
add_importlibs(samsrv rpcrt4 advapi32 kernel32 ntdll)

View file

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

View file

@ -12,7 +12,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
add_library(sxs SHARED ${SOURCE})
set_module_type(sxs win32dll ENTRYPOINT 0 )
set_module_type(sxs win32dll)
target_link_libraries(sxs wine)
add_importlibs(sxs oleaut32 ole32 kernel32 ntdll)
add_dependencies(sxs psdk)

View file

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

View file

@ -7,7 +7,7 @@ list(APPEND SOURCE
add_library(unicows SHARED ${SOURCE})
set_module_type(unicows win32dll ENTRYPOINT 0 )
set_module_type(unicows win32dll)
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_module_type(updspapi win32dll ENTRYPOINT 0 )
set_module_type(updspapi win32dll)
target_link_libraries(updspapi wine)

View file

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

View file

@ -13,7 +13,7 @@ add_library(winemp3.acm SHARED
mpegl3.c
${CMAKE_CURRENT_BINARY_DIR}/winemp3.def)
set_module_type(winemp3.acm win32dll ENTRYPOINT 0 )
set_module_type(winemp3.acm win32dll)
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_module_type(winfax win32dll ENTRYPOINT 0 )
set_module_type(winfax win32dll)
add_importlibs(winfax kernel32 ntdll)
add_dependencies(winfax psdk)

View file

@ -8,8 +8,8 @@ list(APPEND SOURCE
add_library(wing32 SHARED ${SOURCE})
set_module_type(wing32 win32dll UNICODE ENTRYPOINT 0)
set_module_type(wing32 win32dll UNICODE)
add_importlibs(wing32 user32 gdi32 msvcrt)
add_importlibs(wing32 user32 gdi32 msvcrt kernel32)
add_dependencies(wing32 psdk)
add_cd_file(TARGET wing32 DESTINATION reactos/system32 FOR all)

View file

@ -1,6 +1,4 @@
add_definitions(-DUNICODE -D_UNICODE)
spec2def(midimap.dll midimap.spec)
add_library(midimap SHARED
@ -8,7 +6,7 @@ add_library(midimap SHARED
midimap.rc
${CMAKE_CURRENT_BINARY_DIR}/midimap.def)
set_module_type(midimap win32dll ENTRYPOINT 0 )
set_module_type(midimap win32dll UNICODE)
target_link_libraries(midimap uuid wine)

View file

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

View file

@ -11,7 +11,7 @@ list(APPEND SOURCE
add_library(wshtcpip SHARED ${SOURCE})
set_module_type(wshtcpip win32dll UNICODE ENTRYPOINT 0)
set_module_type(wshtcpip win32dll UNICODE)
target_link_libraries(wshtcpip tdilib)
add_importlibs(wshtcpip ws2_32 kernel32 ntdll)