add libexttextcat to external libs

This commit is contained in:
Matúš Kukan 2011-12-03 15:06:52 +01:00
parent b6bb9bd1e8
commit bd030305b8
2 changed files with 40 additions and 0 deletions

View file

@ -209,6 +209,45 @@ endef
endif # SYSTEM_HUNSPELL
ifeq ($(SYSTEM_LIBEXTTEXTCAT),YES)
define gb_LinkTarget__use_libexttextcat
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
$(LIBEXTTEXTCAT_CFLAGS) \
)
$(call gb_LinkTarget_add_libs,$(1),$(LIBEXTTEXTCAT_LIBS))
endef
else # !SYSTEM_LIBEXTTEXTCAT
ifeq ($(OS),WNT)
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO,\
exttextcat \
))
else
$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS,\
exttextcat \
))
endif
define gb_LinkTarget__use_libexttextcat
ifeq ($(OS),WNT)
$(call gb_LinkTarget_add_linked_libs,$(1),\
exttextcat \
)
else
$(call gb_LinkTarget_add_linked_static_libs,$(1),\
exttextcat \
)
endif
endef
endif # SYSTEM_LIBEXTTEXTCAT
ifeq ($(SYSTEM_LIBXML),YES)
define gb_LinkTarget__use_libxml2

View file

@ -49,6 +49,7 @@ gb_Library_DLLFILENAMES := $(patsubst ucb:libucb%,ucb:libucb1%,$(gb_Library_DLLF
gb_Library_DLLFILENAMES := $(patsubst ucpfile:libucpfile%,ucpfile:libucpfile1%,$(gb_Library_DLLFILENAMES))
gb_Library_DLLFILENAMES := $(patsubst z:z%,z:zlib%,$(gb_Library_DLLFILENAMES))
gb_Library_FILENAMES := $(patsubst exttextcat:libexttextcat%,exttextcat:libilibexttextcat%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst sb:isb%,sb:basic%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES))