summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-12-17 22:11:57 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-17 22:11:57 +0100
commitbe0b58bed550469a195119962d32838ab336083c (patch)
tree6e4c1aa54a030dcc0eaf5b706f1b5598f740c104 /RepositoryExternal.mk
parenta12ea5554bcd9ddc7d7f1915ed67f0dd86e062b6 (diff)
extensions: move mozilla to RepositoryExternal.mk
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 11896cd801d8..86212220f7ef 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -901,6 +901,28 @@ endef
endif # SYSTEM_CURL
+ifeq ($(SYSTEM_MOZILLA_HEADERS),YES)
+
+define gb_LinkTarget__use_mozilla_headers
+$(eval $(call gb_LinkTarget_set_include,$(1),\
+ $$(INCLUDE) \
+ $(MOZILLA_HEADERS_CFLAGS)
+))
+endef
+
+else #!SYSTEM_MOZILLA_HEADERS
+
+define gb_LinkTarget__use_mozilla_headers
+$(eval $(call gb_LinkTarget_set_include,$(1),\
+ $$(INCLUDE) \
+ -I$(OUTDIR)/inc/npsdk \
+))
+endef
+
+endif #SYSTEM_MOZILLA_HEADERS
+#TODO np_sdk $(eval $(call gb_LinkTarget_add_external_headers,$(1),np_sdk))
+
+
# MacOSX-only frameworks ############################################
# (in alphabetical order)