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

CWS gnumake3: clean up mingw stuff after adding STDLIBS

üst 582eb5a3
......@@ -60,20 +60,4 @@ $(eval $(call gb_Library_add_exception_objects,fsstorage,\
svl/source/fsstor/ostreamcontainer \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,fsstorage,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -56,19 +56,4 @@ $(eval $(call gb_Library_add_exception_objects,passwordcontainer,\
svl/source/passwordcontainer/syscreds \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,passwordcontainer,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
mingwex \
kernel32 \
msvcrt \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -158,26 +158,10 @@ $(eval $(call gb_Library_add_exception_objects,svl,\
svl/source/svdde/ddewrap \
))
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,svl,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
mingwex \
advapi32 \
kernel32 \
gdi32 \
msvcrt \
shell32 \
user32 \
))
else
$(eval $(call gb_Library_add_linked_libs,svl,\
user32 \
))
endif
else
$(eval $(call gb_Library_add_exception_objects,svl,\
svl/unx/source/svdde/ddedummy \
......
......@@ -53,21 +53,4 @@ $(eval $(call gb_Executable_add_exception_objects,bmp,\
svtools/bmpmaker/bmpcore \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Executable_add_linked_libs,bmp,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -49,21 +49,4 @@ $(eval $(call gb_Executable_add_exception_objects,bmpsum,\
svtools/bmpmaker/bmpsum \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Executable_add_linked_libs,bmpsum,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -50,20 +50,5 @@ $(eval $(call gb_Executable_add_linked_libs,g2g,\
$(eval $(call gb_Executable_add_exception_objects,g2g,\
svtools/bmpmaker/g2g \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Executable_add_linked_libs,g2g,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -57,21 +57,4 @@ $(eval $(call gb_Library_add_exception_objects,hatchwindowfactory,\
svtools/source/hatchwindow/ipwin \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,hatchwindowfactory,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
else
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -58,20 +58,4 @@ $(eval $(call gb_Library_add_exception_objects,productregistration,\
svtools/source/productregistration/registrationdlg \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,productregistration,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -292,34 +292,13 @@ $(eval $(call gb_Library_add_cobjects,svt,\
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,svt,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
advapi32 \
gdi32 \
kernel32 \
msvcrt \
ole32 \
oleaut32 \
user32 \
uuid \
))
else
$(eval $(call gb_Library_add_linked_libs,svt,\
advapi32 \
gdi32 \
oldnames \
ole32 \
oleaut32 \
user32 \
uuid \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -161,18 +161,5 @@ $(eval $(call gb_Library_add_linked_libs,tk,\
X11 \
))
endif
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,tk,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
mingwex \
kernel32 \
msvcrt \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -58,25 +58,4 @@ $(eval $(call gb_Executable_add_exception_objects,mkunroll,\
tools/bootstrp/prj \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Executable_add_linked_libs,mkunroll,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
else
$(eval $(call gb_Executable_add_linked_libs,mkunroll,\
oldnames \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -63,22 +63,8 @@ $(eval $(call gb_Executable_set_cxxflags,rscdep,\
-DHAVE_GETOPT \
))
endif
$(eval $(call gb_Executable_add_linked_libs,rscdep,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
else
$(eval $(call gb_Executable_add_linked_libs,rscdep,\
gnu_getopt \
oldnames \
))
endif
endif
......
......@@ -51,21 +51,4 @@ $(eval $(call gb_Executable_add_exception_objects,so_checksum,\
tools/bootstrp/so_checksum \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Executable_add_linked_libs,so_checksum,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -56,25 +56,4 @@ $(eval $(call gb_Executable_add_exception_objects,sspretty,\
tools/bootstrp/sspretty \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Executable_add_linked_libs,sspretty,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
kernel32 \
msvcrt \
user32 \
))
else
$(eval $(call gb_Executable_add_linked_libs,sspretty,\
oldnames \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -141,6 +141,7 @@ $(eval $(call gb_Library_add_linked_static_libs,tl,\
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_set_include,tl,\
$$(INCLUDE) \
-I$(SRCDIR)/tools/win/inc \
......@@ -150,34 +151,16 @@ $(eval $(call gb_Library_add_exception_objects,tl,\
tools/win/source/dll/toolsdll \
))
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,tl,\
uwinapi \
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
moldname \
mingwex \
kernel32 \
mpr \
msvcrt \
ole32 \
shell32 \
user32 \
uuid \
))
else
$(eval $(call gb_Library_add_linked_libs,tl,\
mpr \
oldnames \
ole32 \
shell32 \
user32 \
uuid \
))
endif
endif
# tools/source/string/debugprint -DDEBUG -DEXCEPTIONS_OFF -DOSL_DEBUG_LEVEL=2 -DSHAREDLIB -DTOOLS_DLLIMPLEMENTATION -D_DLL_ -O0 -fno-exceptions -fpic -fvisibility=hidden -g
# -DOPTIMIZE
# no -DTOOLS_DLLIMPLEMENTATION on toolsdll
......
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