diff options
author | David Tardon <dtardon@redhat.com> | 2012-04-07 15:50:47 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-04-07 16:18:25 +0200 |
commit | 22c60cbbfbee2aaae9710af020e150a30a17a49e (patch) | |
tree | 68f144bd64dc20c377235a78aa81b39fc522d56a /RepositoryExternal.mk | |
parent | More OUString ctor simplifcations (diff) | |
download | core-22c60cbbfbee2aaae9710af020e150a30a17a49e.tar.gz core-22c60cbbfbee2aaae9710af020e150a30a17a49e.zip |
add external for clucene
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index c6a033cd8912..fab2995286fb 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -1120,6 +1120,39 @@ endef endif # SYSTEM_POPPLER +ifeq ($(SYSTEM_CLUCENE),YES) + +define gb_LinkTarget__use_clucene +$(call gb_LinkTarget_add_defs,$(1),\ + $(filter-out -I%,$(CLUCENE_CFLAGS)) \ +) + +$(call gb_LinkTarget_set_include,$(1),\ + $(filter -I%,$(CLUCENE_CFLAGS)) \ + $$(INCLUDE) \ +) + +$(call gb_LinkTarget_add_libs,$(1),\ + $(CLUCENE_LIBS) \ +) + +endef + +else # !SYSTEM_CLUCENE + +define gb_LinkTarget__use_clucene +$(call gb_LinkTarget_add_linked_libs,$(1),\ + clucene \ +) + +endef + +$(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE,\ + clucene \ +)) + +endif # SYSTEM_CLUCENE + # MacOSX-only frameworks ############################################ # (in alphabetical order) |