i#116264: gbuild for MinGW
This commit is contained in:
parent
42c3881914
commit
24735ecb14
5 changed files with 77 additions and 0 deletions
|
@ -114,6 +114,21 @@ $(eval $(call gb_Library_add_exception_objects,msword,\
|
||||||
))
|
))
|
||||||
|
|
||||||
ifeq ($(OS),WNT)
|
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,\
|
$(eval $(call gb_Library_add_linked_libs,msword,\
|
||||||
advapi32 \
|
advapi32 \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
|
@ -123,4 +138,5 @@ $(eval $(call gb_Library_add_linked_libs,msword,\
|
||||||
uwinapi \
|
uwinapi \
|
||||||
))
|
))
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
|
|
@ -737,6 +737,21 @@ $(eval $(call gb_Library_add_linked_libs,sw,\
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS),WNT)
|
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,\
|
$(eval $(call gb_Library_add_linked_libs,sw,\
|
||||||
advapi32 \
|
advapi32 \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
|
@ -746,6 +761,7 @@ $(eval $(call gb_Library_add_linked_libs,sw,\
|
||||||
uwinapi \
|
uwinapi \
|
||||||
))
|
))
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call gb_SdiTarget_SdiTarget,sw/sdi/swslots,sw/sdi/swriter))
|
$(eval $(call gb_SdiTarget_SdiTarget,sw/sdi/swslots,sw/sdi/swriter))
|
||||||
|
|
||||||
|
|
|
@ -70,10 +70,23 @@ $(eval $(call gb_Library_add_exception_objects,swd,\
|
||||||
sw/source/ui/uno/swdetect \
|
sw/source/ui/uno/swdetect \
|
||||||
))
|
))
|
||||||
ifeq ($(OS),WNT)
|
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,\
|
$(eval $(call gb_Library_add_linked_libs,swd,\
|
||||||
kernel32 \
|
kernel32 \
|
||||||
msvcrt \
|
msvcrt \
|
||||||
uwinapi \
|
uwinapi \
|
||||||
))
|
))
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
|
|
@ -167,6 +167,21 @@ $(eval $(call gb_Library_add_exception_objects,swui,\
|
||||||
))
|
))
|
||||||
|
|
||||||
ifeq ($(OS),WNT)
|
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,\
|
$(eval $(call gb_Library_add_linked_libs,swui,\
|
||||||
advapi32 \
|
advapi32 \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
|
@ -176,4 +191,5 @@ $(eval $(call gb_Library_add_linked_libs,swui,\
|
||||||
uwinapi \
|
uwinapi \
|
||||||
))
|
))
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
|
|
@ -126,6 +126,21 @@ $(eval $(call gb_Library_set_ldflags,vbaswobj,\
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS),WNT)
|
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,\
|
$(eval $(call gb_Library_add_linked_libs,vbaswobj,\
|
||||||
advapi32 \
|
advapi32 \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
|
@ -135,4 +150,5 @@ $(eval $(call gb_Library_add_linked_libs,vbaswobj,\
|
||||||
uwinapi \
|
uwinapi \
|
||||||
))
|
))
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
|
Loading…
Reference in a new issue