i#116264: gbuild for MinGW

This commit is contained in:
tono 2010-12-31 00:35:16 +09:00
parent 42c3881914
commit 24735ecb14
5 changed files with 77 additions and 0 deletions

View file

@ -114,6 +114,21 @@ $(eval $(call gb_Library_add_exception_objects,msword,\
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,msword,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
advapi32 \
kernel32 \
msvcrt \
user32 \
))
else
$(eval $(call gb_Library_add_linked_libs,msword,\
advapi32 \
kernel32 \
@ -123,4 +138,5 @@ $(eval $(call gb_Library_add_linked_libs,msword,\
uwinapi \
))
endif
endif
# vim: set noet sw=4 ts=4:

View file

@ -737,6 +737,21 @@ $(eval $(call gb_Library_add_linked_libs,sw,\
endif
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,sw,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
advapi32 \
kernel32 \
msvcrt \
user32 \
))
else
$(eval $(call gb_Library_add_linked_libs,sw,\
advapi32 \
kernel32 \
@ -746,6 +761,7 @@ $(eval $(call gb_Library_add_linked_libs,sw,\
uwinapi \
))
endif
endif
$(eval $(call gb_SdiTarget_SdiTarget,sw/sdi/swslots,sw/sdi/swriter))

View file

@ -70,10 +70,23 @@ $(eval $(call gb_Library_add_exception_objects,swd,\
sw/source/ui/uno/swdetect \
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,swd,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
mingwex \
kernel32 \
msvcrt \
))
else
$(eval $(call gb_Library_add_linked_libs,swd,\
kernel32 \
msvcrt \
uwinapi \
))
endif
endif
# vim: set noet sw=4 ts=4:

View file

@ -167,6 +167,21 @@ $(eval $(call gb_Library_add_exception_objects,swui,\
))
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,swui,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
advapi32 \
kernel32 \
msvcrt \
user32 \
))
else
$(eval $(call gb_Library_add_linked_libs,swui,\
advapi32 \
kernel32 \
@ -176,4 +191,5 @@ $(eval $(call gb_Library_add_linked_libs,swui,\
uwinapi \
))
endif
endif
# vim: set noet sw=4 ts=4:

View file

@ -126,6 +126,21 @@ $(eval $(call gb_Library_set_ldflags,vbaswobj,\
endif
ifeq ($(OS),WNT)
ifneq ($(USE_MINGW),)
$(eval $(call gb_Library_add_linked_libs,vbaswobj,\
mingwthrd \
$(gb_MINGW_LIBSTDCPP) \
mingw32 \
$(gb_MINGW_LIBGCC) \
uwinapi \
moldname \
mingwex \
advapi32 \
kernel32 \
msvcrt \
user32 \
))
else
$(eval $(call gb_Library_add_linked_libs,vbaswobj,\
advapi32 \
kernel32 \
@ -135,4 +150,5 @@ $(eval $(call gb_Library_add_linked_libs,vbaswobj,\
uwinapi \
))
endif
endif
# vim: set noet sw=4 ts=4: