Kaydet (Commit) 4e3b1725 authored tarafından David Tardon's avatar David Tardon

stop delivering useless rdb for InternalUnoApi

üst 083092e8
...@@ -25,39 +25,34 @@ ...@@ -25,39 +25,34 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(dir $(call gb_InternalUnoApi_get_target,%)).dir :
$(if $(wildcard $(dir $@)),,mkdir -p $(dir $(@)))
$(dir $(call gb_InternalUnoApi_get_target,%))%/.dir :
$(if $(wildcard $(dir $@)),,mkdir -p $(dir $(@)))
$(call gb_InternalUnoApi_get_target,%) :
$(call gb_Output_announce,$*,$(true),UNI,5) \
touch $@
.PHONY : $(call gb_InternalUnoApi_get_clean_target,%) .PHONY : $(call gb_InternalUnoApi_get_clean_target,%)
$(call gb_InternalUnoApi_get_clean_target,%) : $(call gb_InternalUnoApi_get_clean_target,%) :
$(call gb_Output_announce,$*,$(false),UNI,5) \
$(call gb_Helper_abbreviate_dirs,\ $(call gb_Helper_abbreviate_dirs,\
rm -f $(call gb_InternalUnoApi_get_target,$*)) rm -f $(call gb_InternalUnoApi_get_target,$*))
# Note: The rdb root for the internal rdbs should be / . On the other
# side, UnoApiHeadersTarget expects UCR and it is really not easy to
# change, because the information would have to be duplicated at the
# calling side. So we simply do both .-)
# TODO: Should it come clear that these rdbs (installed into
# solver/$INPATH/rdb) are actually not needed for anything, this could
# be simplified.
define gb_InternalUnoApi_InternalUnoApi define gb_InternalUnoApi_InternalUnoApi
$(call gb_UnoApiTarget_UnoApiTarget,$(1)_out)
$(call gb_UnoApiTarget_UnoApiTarget,$(1)) $(call gb_UnoApiTarget_UnoApiTarget,$(1))
$(call gb_UnoApiHeadersTarget_UnoApiHeadersTarget,$(1)) $(call gb_UnoApiHeadersTarget_UnoApiHeadersTarget,$(1))
$(call gb_UnoApiTarget_set_root,$(1)_out,/)
$(call gb_UnoApiTarget_set_root,$(1),UCR) $(call gb_UnoApiTarget_set_root,$(1),UCR)
$(call gb_UnoApiTarget_merge_api,$(1),$(1)_out)
$(call gb_InternalUnoApi_get_target,$(1)) : $(call gb_UnoApiTarget_get_target,$(1))
$(call gb_InternalUnoApi_get_target,$(1)) :| $(dir $(call gb_InternalUnoApi_get_target,$(1))).dir $(call gb_InternalUnoApi_get_target,$(1)) :| $(dir $(call gb_InternalUnoApi_get_target,$(1))).dir
$(call gb_InternalUnoApi_get_target,$(1)) : $(call gb_UnoApiTarget_get_target,$(1)_out)
$(call gb_InternalUnoApi_get_clean_target,$(1)) : $(call gb_UnoApiTarget_get_clean_target,$(1)_out)
$(call gb_InternalUnoApi_get_clean_target,$(1)) : $(call gb_UnoApiHeadersTarget_get_clean_target,$(1)) $(call gb_InternalUnoApi_get_clean_target,$(1)) : $(call gb_UnoApiHeadersTarget_get_clean_target,$(1))
$(call gb_UnoApiTarget_get_headers_target,$(1)_out) : $(gb_Helper_MISCDUMMY) $(call gb_UnoApiTarget_get_headers_target,$(1)) : $(gb_Helper_MISCDUMMY)
$(call gb_UnoApiTarget_get_headers_target,$(1)) : $(call gb_UnoApiTarget_get_headers_target,$(1)_out) $(call gb_UnoApiTarget_get_external_headers_target,$(1)) : $(gb_Helper_MISCDUMMY)
$(call gb_UnoApiTarget_get_external_headers_target,$(1)_out) : $(gb_Helper_MISCDUMMY)
$(call gb_UnoApiTarget_get_external_headers_target,$(1)) : $(call gb_UnoApiTarget_get_external_headers_target,$(1)_out)
$(call gb_Deliver_add_deliverable,$(call gb_InternalUnoApi_get_target,$(1)),$(call gb_UnoApiTarget_get_target,$(1)_out),$(1))
$$(eval $$(call gb_Module_register_target,$(call gb_InternalUnoApi_get_target,$(1)),$(call gb_InternalUnoApi_get_clean_target,$(1)))) $$(eval $$(call gb_Module_register_target,$(call gb_InternalUnoApi_get_target,$(1)),$(call gb_InternalUnoApi_get_clean_target,$(1))))
$(call gb_Helper_make_userfriendly_targets,$(1),InternalUnoApi) $(call gb_Helper_make_userfriendly_targets,$(1),InternalUnoApi)
...@@ -65,19 +60,19 @@ $(call gb_Helper_make_userfriendly_targets,$(1),InternalUnoApi) ...@@ -65,19 +60,19 @@ $(call gb_Helper_make_userfriendly_targets,$(1),InternalUnoApi)
endef endef
define gb_InternalUnoApi_add_idlfile define gb_InternalUnoApi_add_idlfile
$(call gb_UnoApiTarget_add_idlfile,$(1)_out,$(2),$(3)) $(call gb_UnoApiTarget_add_idlfile,$(1),$(2),$(3))
endef endef
define gb_InternalUnoApi_add_idlfiles define gb_InternalUnoApi_add_idlfiles
$(call gb_UnoApiTarget_add_idlfiles,$(1)_out,$(2),$(3)) $(call gb_UnoApiTarget_add_idlfiles,$(1),$(2),$(3))
endef endef
define gb_InternalUnoApi__use_api define gb_InternalUnoApi__use_api
$(call gb_UnoApiHeadersTarget_use_api,$(1),$(2)) $(call gb_UnoApiHeadersTarget_use_api,$(1),$(2))
$(call gb_InternalUnoApi_get_target,$(1)_out) : $(call gb_UnoApiTarget_get_target,$(2)) $(call gb_InternalUnoApi_get_target,$(1)) : $(call gb_UnoApiTarget_get_target,$(2))
$(call gb_UnoApiTarget_get_external_headers_target,$(1)_out) : $(call gb_UnoApiTarget_get_headers_target,$(2)) $(call gb_UnoApiTarget_get_external_headers_target,$(1)) : $(call gb_UnoApiTarget_get_headers_target,$(2))
endef endef
...@@ -107,7 +102,7 @@ $(foreach dep,$(3),$(call gb_InternalUnoApi_define_api_dependency,$(1),$(2),$(de ...@@ -107,7 +102,7 @@ $(foreach dep,$(3),$(call gb_InternalUnoApi_define_api_dependency,$(1),$(2),$(de
endef endef
define gb_InternalUnoApi_set_include define gb_InternalUnoApi_set_include
$(call gb_UnoApiTarget_set_include,$(1)_out,$(2)) $(call gb_UnoApiTarget_set_include,$(1),$(2))
endef endef
......
...@@ -44,14 +44,12 @@ gb_PackagePart_get_destinations = \ ...@@ -44,14 +44,12 @@ gb_PackagePart_get_destinations = \
$(OUTDIR)/lib \ $(OUTDIR)/lib \
$(OUTDIR)/par \ $(OUTDIR)/par \
$(OUTDIR)/pck \ $(OUTDIR)/pck \
$(OUTDIR)/rdb \
$(OUTDIR)/res \ $(OUTDIR)/res \
$(OUTDIR)/share \ $(OUTDIR)/share \
$(OUTDIR)/unittest \ $(OUTDIR)/unittest \
$(OUTDIR)/xml \ $(OUTDIR)/xml \
gb_InstallScript_get_target = $(OUTDIR)/bin/$(1)$(gb_InstallScript_EXT) gb_InstallScript_get_target = $(OUTDIR)/bin/$(1)$(gb_InstallScript_EXT)
gb_InternalUnoApi_get_target = $(OUTDIR)/rdb/$(1).rdb
gb_PackagePart_get_target = $(OUTDIR)/$(1) gb_PackagePart_get_target = $(OUTDIR)/$(1)
gb_Rdb_get_outdir_target = $(OUTDIR)/xml/$(1).rdb gb_Rdb_get_outdir_target = $(OUTDIR)/xml/$(1).rdb
gb_Rdb_get_outdir_target_for_build = $(OUTDIR_FOR_BUILD)/xml/$(1).rdb gb_Rdb_get_outdir_target_for_build = $(OUTDIR_FOR_BUILD)/xml/$(1).rdb
...@@ -140,6 +138,7 @@ gb_InstallModuleTarget_get_external_target = $(WORKDIR)/InstallModuleTarget/$(1) ...@@ -140,6 +138,7 @@ gb_InstallModuleTarget_get_external_target = $(WORKDIR)/InstallModuleTarget/$(1)
gb_InstallModuleTarget_get_filelist = $(WORKDIR)/InstallModuleTarget/$(1).filelist gb_InstallModuleTarget_get_filelist = $(WORKDIR)/InstallModuleTarget/$(1).filelist
gb_InstallModuleTarget_get_target = $(WORKDIR)/InstallModuleTarget/$(1).filelist gb_InstallModuleTarget_get_target = $(WORKDIR)/InstallModuleTarget/$(1).filelist
gb_InstallScriptTarget_get_target = $(WORKDIR)/InstallScriptTarget/$(1)$(gb_InstallScript_EXT) gb_InstallScriptTarget_get_target = $(WORKDIR)/InstallScriptTarget/$(1)$(gb_InstallScript_EXT)
gb_InternalUnoApi_get_target = $(WORKDIR)/InternalUnoApi/$(1).done
gb_Jar_get_target = $(WORKDIR)/Jar/$(1).jar gb_Jar_get_target = $(WORKDIR)/Jar/$(1).jar
gb_Jar_get_classsetname = Jar/$(1) gb_Jar_get_classsetname = Jar/$(1)
gb_JavaClassSet_get_classdir = $(WORKDIR)/JavaClassSet/$(1) gb_JavaClassSet_get_classdir = $(WORKDIR)/JavaClassSet/$(1)
...@@ -278,6 +277,7 @@ $(eval $(call gb_Helper_make_clean_targets,\ ...@@ -278,6 +277,7 @@ $(eval $(call gb_Helper_make_clean_targets,\
InstallModule \ InstallModule \
InstallModuleTarget \ InstallModuleTarget \
InstallScriptTarget \ InstallScriptTarget \
InternalUnoApi \
JavaClassSet \ JavaClassSet \
Jar \ Jar \
JunitTest \ JunitTest \
...@@ -330,7 +330,6 @@ $(eval $(call gb_Helper_make_outdir_clean_targets,\ ...@@ -330,7 +330,6 @@ $(eval $(call gb_Helper_make_outdir_clean_targets,\
Executable \ Executable \
Extension \ Extension \
InstallScript \ InstallScript \
InternalUnoApi \
Library \ Library \
StaticLibrary \ StaticLibrary \
UnoApi \ UnoApi \
......
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