Kaydet (Commit) 126d9138 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Bjoern Michaelsen

gnumake4: #i117610#: add RepositoryExternal.mk, and use it. [hg:62e2f8dc95a7]

üst ca007cc1
......@@ -43,11 +43,14 @@ $(eval $(call gb_Library_add_linked_libs,unordf,\
cppu \
sal \
stl \
rdf \
xslt \
$(gb_STDLIBS) \
))
$(call gb_Library_use_externals,unordf,\
librdf \
libxslt \
)
$(eval $(call gb_Library_add_exception_objects,unordf,\
unoxml/source/rdf/CBlankNode \
unoxml/source/rdf/CURI \
......@@ -56,19 +59,5 @@ $(eval $(call gb_Library_add_exception_objects,unordf,\
unoxml/source/rdf/librdf_services \
))
ifeq ($(SYSTEM_REDLAND),YES)
$(eval $(call gb_Library_set_cxxflags,unordf,\
$$(CXXFLAGS) \
-DSYSTEM_REDLAND $$(REDLAND_CFLAGS) \
))
endif
ifeq ($(SYSTEM_LIBXSLT),YES)
$(eval $(call gb_Library_set_cxxflags,unordf,\
$$(CXXFLAGS) \
$$(LIBXSLT_CFLAGS) \
))
endif
# vim: set noet sw=4 ts=4:
......@@ -46,10 +46,11 @@ $(eval $(call gb_Library_add_linked_libs,unoxml,\
cppu \
sal \
stl \
xml2 \
$(gb_STDLIBS) \
))
$(call gb_Library_use_external,unoxml,libxml2)
$(eval $(call gb_Library_add_exception_objects,unoxml,\
unoxml/source/dom/node \
unoxml/source/dom/document \
......@@ -85,12 +86,5 @@ $(eval $(call gb_Library_add_exception_objects,unoxml,\
unoxml/source/service/services \
))
ifeq ($(SYSTEM_LIBXML),YES)
$(eval $(call gb_Library_set_cxxflags,unoxml,\
$$(CXXFLAGS) \
-DSYSTEM_LIBXML $$(LIBXML_CFLAGS) \
))
endif
# vim: set noet sw=4 ts=4:
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