Kaydet (Commit) be0b58be authored tarafından Michael Stahl's avatar Michael Stahl

extensions: move mozilla to RepositoryExternal.mk

üst a12ea555
......@@ -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)
......
......@@ -30,17 +30,7 @@
$(eval $(call gb_Library_Library,npsoplugin))
ifeq ($(SYSTEM_MOZILLA_HEADERS),YES)
$(eval $(call gb_Library_set_include,npsoplugin,\
$$(INCLUDE) \
$(MOZILLA_HEADERS_CFLAGS)
))
else
$(eval $(call gb_Library_set_include,npsoplugin,\
-I$(OUTDIR)/inc/npsdk \
$$(INCLUDE) \
))
endif
$(eval $(call gb_Library_use_external,npsoplugin,mozilla_headers))
ifeq ($(GUI),UNX)
......
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