Kaydet (Commit) f7d5dd5f authored tarafından Mathias Bauer's avatar Mathias Bauer

CWS gnumake3: use standard linked libs on Windows

üst 017970dc
......@@ -46,12 +46,13 @@ $(eval $(call gb_Library_set_defs,comphelper,\
))
$(eval $(call gb_Library_add_linked_libs,comphelper,\
sal \
cppuhelper \
sal \
cppuhelper \
cppu \
ucbhelper \
ucbhelper \
vos3 \
stl \
$(gb_StdLibs) \
))
$(eval $(call gb_Library_add_exception_objects,comphelper,\
......@@ -119,7 +120,7 @@ $(eval $(call gb_Library_add_exception_objects,comphelper,\
comphelper/source/misc/uieventslogger \
comphelper/source/misc/weak \
comphelper/source/misc/weakeventlistener \
comphelper/source/officeinstdir/officeinstallationdirectories \
comphelper/source/officeinstdir/officeinstallationdirectories \
comphelper/source/processfactory/componentfactory \
comphelper/source/processfactory/processfactory \
comphelper/source/property/ChainablePropertySet \
......@@ -160,11 +161,4 @@ $(eval $(call gb_Library_add_linked_libs,comphelper,\
pthread \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,comphelper,\
kernel32 \
msvcrt \
uwinapi \
))
endif
# vim: set noet sw=4 ts=4:
......@@ -53,6 +53,7 @@ $(eval $(call gb_Library_add_linked_libs,sot,\
ucbhelper \
stl \
utl \
$(gb_StdLibs) \
))
$(eval $(call gb_Library_add_exception_objects,sot,\
......@@ -85,11 +86,4 @@ $(eval $(call gb_Library_add_linked_libs,sot,\
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,sot,\
kernel32 \
msvcrt \
uwinapi \
))
endif
# vim: set noet sw=4 ts=4:
......@@ -50,6 +50,7 @@ $(eval $(call gb_Library_add_linked_libs,fsstorage,\
tl \
ucbhelper \
utl \
$(gb_StdLibs) \
))
$(eval $(call gb_Library_add_linked_system_libs,fsstorage,\
......@@ -80,14 +81,6 @@ $(eval $(call gb_Library_add_linked_libs,fsstorage,\
msvcrt \
user32 \
))
else
$(eval $(call gb_Library_add_linked_libs,fsstorage,\
kernel32 \
msvcrt \
oldnames \
user32 \
uwinapi \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -48,13 +48,7 @@ $(eval $(call gb_Library_add_linked_libs,passwordcontainer,\
stl \
ucbhelper \
utl \
))
$(eval $(call gb_Library_add_linked_system_libs,passwordcontainer,\
icuuc \
dl \
m \
pthread \
$(gb_StdLibs) \
))
$(eval $(call gb_Library_add_exception_objects,passwordcontainer,\
......@@ -70,20 +64,11 @@ $(eval $(call gb_Library_add_linked_libs,passwordcontainer,\
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
else
$(eval $(call gb_Library_add_linked_libs,passwordcontainer,\
kernel32 \
msvcrt \
oldnames \
user32 \
uwinapi \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -60,6 +60,7 @@ $(eval $(call gb_Library_add_linked_libs,svl,\
ucbhelper \
utl \
vos3 \
$(gb_StdLibs) \
))
$(eval $(call gb_Library_add_linked_system_libs,svl,\
......@@ -182,13 +183,7 @@ $(eval $(call gb_Library_add_linked_libs,svl,\
))
else
$(eval $(call gb_Library_add_linked_libs,svl,\
advapi32 \
kernel32 \
gdi32 \
msvcrt \
shell32 \
user32 \
uwinapi \
))
endif
else
......
......@@ -55,6 +55,7 @@ $(eval $(call gb_Library_add_linked_libs,tk,\
tl \
utl \
vcl \
$(gb_StdLibs) \
))
$(eval $(call gb_Library_add_exception_objects,tk,\
......@@ -175,12 +176,6 @@ $(eval $(call gb_Library_add_linked_libs,tk,\
kernel32 \
msvcrt \
))
else
$(eval $(call gb_Library_add_linked_libs,tk,\
kernel32 \
msvcrt \
uwinapi \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -45,6 +45,7 @@ $(eval $(call gb_Executable_add_linked_libs,mkunroll,\
stl \
tl \
vos3 \
$(gb_StdLibs) \
))
# used to link against basegfxlx comphelp4gcc3 i18nisolang1gcc3 ucbhelper4gcc3 uno_cppu uno_cppuhelpergcc3 uno_salhelpergcc3 - seems to be superficial
......@@ -73,11 +74,7 @@ $(eval $(call gb_Executable_add_linked_libs,mkunroll,\
))
else
$(eval $(call gb_Executable_add_linked_libs,mkunroll,\
kernel32 \
msvcrt \
oldnames \
user32 \
uwinapi \
))
endif
endif
......
......@@ -44,6 +44,7 @@ $(eval $(call gb_Executable_add_linked_libs,rscdep,\
stl \
tl \
vos3 \
$(gb_StdLibs) \
))
$(eval $(call gb_Executable_add_exception_objects,rscdep,\
......@@ -77,13 +78,7 @@ $(eval $(call gb_Executable_add_linked_libs,rscdep,\
else
$(eval $(call gb_Executable_add_linked_libs,rscdep,\
gnu_getopt \
))
$(eval $(call gb_Executable_add_linked_libs,rscdep,\
kernel32 \
msvcrt \
oldnames \
user32 \
uwinapi \
))
endif
endif
......
......@@ -42,6 +42,7 @@ $(eval $(call gb_Executable_set_cxxflags,so_checksum,\
$(eval $(call gb_Executable_add_linked_libs,so_checksum,\
sal \
tl \
$(gb_StdLibs) \
))
# used to link against basegfxlx comphelp4gcc3 i18nisolang1gcc3 ucbhelper4gcc3 uno_cppu uno_cppuhelpergcc3 uno_salhelpergcc3 vos3gcc3 - seems to be superficial
......@@ -64,14 +65,6 @@ $(eval $(call gb_Executable_add_linked_libs,so_checksum,\
msvcrt \
user32 \
))
else
$(eval $(call gb_Executable_add_linked_libs,so_checksum,\
kernel32 \
msvcrt \
oldnames \
user32 \
uwinapi \
))
endif
endif
......
......@@ -44,6 +44,7 @@ $(eval $(call gb_Executable_add_linked_libs,sspretty,\
stl \
tl \
vos3 \
$(gb_StdLibs) \
))
# used to link against basegfxlx comphelp4gcc3 i18nisolang1gcc3 ucbhelper4gcc3 uno_cppu uno_cppuhelpergcc3 uno_salhelpergcc3 - seems to be superficial
......@@ -71,11 +72,7 @@ $(eval $(call gb_Executable_add_linked_libs,sspretty,\
))
else
$(eval $(call gb_Executable_add_linked_libs,sspretty,\
kernel32 \
msvcrt \
oldnames \
user32 \
uwinapi \
))
endif
endif
......
......@@ -55,6 +55,7 @@ $(eval $(call gb_Library_add_linked_libs,tl,\
cppu \
sal \
vos3 \
$(gb_StdLibs) \
))
......@@ -159,14 +160,13 @@ $(eval $(call gb_Library_add_exception_objects,tl,\
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,tl,\
uwinapi \
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
advapi32 \
kernel32 \
mpr \
msvcrt \
......@@ -177,16 +177,12 @@ $(eval $(call gb_Library_add_linked_libs,tl,\
))
else
$(eval $(call gb_Library_add_linked_libs,tl,\
advapi32 \
kernel32 \
mpr \
msvcrt \
oldnames \
ole32 \
shell32 \
user32 \
uuid \
uwinapi \
))
endif
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment