diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-09-26 20:04:55 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-10-02 22:07:21 +0200 |
commit | f351a98565d55d172b3f873ff1740344e16cdddd (patch) | |
tree | 90bdbcd980a309582709f059cb28db74fb6ae60b | |
parent | db8ac18b46c1095a2c7e8a5adc0818d72d66ef13 (diff) |
gbuild: kill gb_XcuModuleTarget_get_outdir_target
Change-Id: I1d54d98b8aa50f778de87e6ebb17ec2eed0d65dc
-rw-r--r-- | filter/Configuration_filter.mk | 53 | ||||
-rw-r--r-- | postprocess/CustomTarget_registry.mk | 100 | ||||
-rw-r--r-- | solenv/gbuild/Configuration.mk | 21 | ||||
-rw-r--r-- | solenv/gbuild/TargetLocations.mk | 5 |
4 files changed, 71 insertions, 108 deletions
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk index b98639053e03..645768e84fb3 100644 --- a/filter/Configuration_filter.mk +++ b/filter/Configuration_filter.mk @@ -31,11 +31,10 @@ filter_MERGE := $(call gb_ExternalExecutable_get_command,python) \ ### types -filter_XcuFilterTypesTarget_get_target = $(WORKDIR)/XcuFilterTypesTarget/$(1) filter_XcuFilterTypesTarget_get_clean_target = \ $(WORKDIR)/Clean/XcuFilterTypesTarget/$(1) -$(call filter_XcuFilterTypesTarget_get_target,%) : $(filter_MERGE_TARGET) +$(call gb_XcuFilterTypesTarget_get_target,%) : $(filter_MERGE_TARGET) $(call gb_Output_announce,$*,$(true),FIT,1) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $@) && \ @@ -48,43 +47,32 @@ $(call filter_XcuFilterTypesTarget_get_target,%) : $(filter_MERGE_TARGET) outdir=$(dir $@) pkg=$@ xmlpackage=Types tcfg=$${RESPONSEFILE} && \ rm -f $${RESPONSEFILE}) -# delivering is handled by the rule for gb_XcuModuleTarget_get_outdir_target - $(call filter_XcuFilterTypesTarget_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),FIT,1) - $(call gb_Helper_abbreviate_dirs,\ - rm -f $(call filter_XcuFilterTypesTarget_get_target,$*) \ - $(call gb_XcuModuleTarget_get_outdir_target,$*)) + rm -f $(call gb_XcuFilterTypesTarget_get_target,$*) # $(call filter_Configuration__add_module,configuration,module,prefix,xcufiles,target,cleantarget) define filter_Configuration__add_module -$(call gb_Configuration_get_target,$(1)) : \ - $(call gb_XcuModuleTarget_get_outdir_target,$(2)) +$(call gb_Configuration_get_target,$(1)) : $(5) $(call gb_Configuration_get_clean_target,$(1)) : $(6) $(if $(4),,$(error filter_Configuration__add_module: no input files)) $(5) : \ $(addprefix $(SRCDIR)/$(3)/,$(addsuffix .xcu,$(4))) -$(call gb_XcuModuleTarget_get_outdir_target,$(2)) : $(5) -$(call gb_XcuModuleTarget_get_outdir_target,$(2)) |: $(dir $(call gb_XcuModuleTarget_get_outdir_target,$(2))).dir -$(call gb_Deliver_add_deliverable,\ - $(call gb_XcuModuleTarget_get_outdir_target,$(2)),$(5),$(2)) endef # $(call filter_Configuration_add_types,configuration,typesfile,prefix,xcufiles) define filter_Configuration_add_types $(eval $(call filter_Configuration__add_module,$(1),$(2),$(3),$(4),\ - $(call filter_XcuFilterTypesTarget_get_target,$(2)),\ + $(call gb_XcuFilterTypesTarget_get_target,$(2)),\ $(call filter_XcuFilterTypesTarget_get_clean_target,$(2)))) endef ### filters -filter_XcuFilterFiltersTarget_get_target = \ - $(WORKDIR)/XcuFilterFiltersTarget/$(1) filter_XcuFilterFiltersTarget_get_clean_target = \ $(WORKDIR)/Clean/XcuFilterFiltersTarget/$(1) -$(call filter_XcuFilterFiltersTarget_get_target,%) : $(filter_MERGE_TARGET) +$(call gb_XcuFilterFiltersTarget_get_target,%) : $(filter_MERGE_TARGET) $(call gb_Output_announce,$*,$(true),FIF,1) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $@) && \ @@ -97,28 +85,23 @@ $(call filter_XcuFilterFiltersTarget_get_target,%) : $(filter_MERGE_TARGET) outdir=$(dir $@) pkg=$@ xmlpackage=Filter fcfg=$${RESPONSEFILE} && \ rm -f $${RESPONSEFILE}) -# delivering is handled by the rule for gb_XcuModuleTarget_get_outdir_target - $(call filter_XcuFilterFiltersTarget_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),FIF,1) - $(call gb_Helper_abbreviate_dirs,\ - rm -f $(call filter_XcuFilterFiltersTarget_get_target,$*) \ - $(call gb_XcuModuleTarget_get_outdir_target,$*)) + rm -f $(call gb_XcuFilterFiltersTarget_get_target,$*) # $(call filter_Configuration_add_filters,configuration,typesfile,prefix,xcufiles) define filter_Configuration_add_filters $(eval $(call filter_Configuration__add_module,$(1),$(2),$(3),$(4),\ - $(call filter_XcuFilterFiltersTarget_get_target,$(2)),\ + $(call gb_XcuFilterFiltersTarget_get_target,$(2)),\ $(call filter_XcuFilterFiltersTarget_get_clean_target,$(2)))) endef ### others (frameloaders, contenthandlers) -filter_XcuFilterOthersTarget_get_target = $(WORKDIR)/XcuFilterOthersTarget/$(1) filter_XcuFilterOthersTarget_get_clean_target = \ $(WORKDIR)/Clean/XcuFilterOthersTarget/$(1) -$(call filter_XcuFilterOthersTarget_get_target,%) : $(filter_MERGE_TARGET) +$(call gb_XcuFilterOthersTarget_get_target,%) : $(filter_MERGE_TARGET) $(call gb_Output_announce,$*,$(true),FIO,1) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $@) && \ @@ -137,27 +120,21 @@ $(call filter_XcuFilterOthersTarget_get_target,%) : $(filter_MERGE_TARGET) $(call filter_XcuFilterOthersTarget_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),FIO,1) - $(call gb_Helper_abbreviate_dirs,\ - rm -f $(call filter_XcuFilterOthersTarget_get_target,$*) \ - $(call gb_XcuModuleTarget_get_outdir_target,$*)) - -# delivering is handled by the rule for gb_XcuModuleTarget_get_outdir_target + rm -f $(call gb_XcuFilterOthersTarget_get_target,$*) # $(call filter_Configuration_add_others,configuration,typesfile,prefix,xcufiles) define filter_Configuration_add_others $(eval $(call filter_Configuration__add_module,$(1),$(2),$(3),$(4),\ - $(call filter_XcuFilterOthersTarget_get_target,$(2)),\ + $(call gb_XcuFilterOthersTarget_get_target,$(2)),\ $(call filter_XcuFilterOthersTarget_get_clean_target,$(2)))) endef ### internal filters -filter_XcuFilterInternalTarget_get_target = \ - $(WORKDIR)/XcuFilterInternalTarget/$(1) filter_XcuFilterInternalTarget_get_clean_target = \ $(WORKDIR)/Clean/XcuFilterInternalTarget/$(1) -$(call filter_XcuFilterInternalTarget_get_target,%) : $(filter_MERGE_TARGET) +$(call gb_XcuFilterInternalTarget_get_target,%) : $(filter_MERGE_TARGET) $(call gb_Output_announce,$*,$(true),FII,1) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $@) && \ @@ -171,18 +148,14 @@ $(call filter_XcuFilterInternalTarget_get_target,%) : $(filter_MERGE_TARGET) fcfg=$${RESPONSEFILE} subdir_filters=internalgraphicfilters && \ rm -f $${RESPONSEFILE}) -# delivering is handled by the rule for gb_XcuModuleTarget_get_outdir_target - $(call filter_XcuFilterInternalTarget_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),FII,1) - $(call gb_Helper_abbreviate_dirs,\ - rm -f $(call filter_XcuFilterInternalTarget_get_target,$*) \ - $(call gb_XcuModuleTarget_get_outdir_target,$*)) + rm -f $(call gb_XcuFilterInternalTarget_get_target,$*) # $(call filter_Configuration_add_internal_filters,configuration,typesfile,prefix,xcufiles) define filter_Configuration_add_internal_filters $(eval $(call filter_Configuration__add_module,$(1),$(2),$(3),$(4),\ - $(call filter_XcuFilterInternalTarget_get_target,$(2)),\ + $(call gb_XcuFilterInternalTarget_get_target,$(2)),\ $(call filter_XcuFilterInternalTarget_get_clean_target,$(2)))) endef diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk index 9aba656ca0d9..d0f2e97ffb9e 100644 --- a/postprocess/CustomTarget_registry.mk +++ b/postprocess/CustomTarget_registry.mk @@ -15,7 +15,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,postprocess/registry)) postprocess_XCS := $(call gb_XcsTarget_get_outdir_target,org/openoffice) postprocess_XCU := $(call gb_XcuDataTarget_get_target,officecfg/registry/data/org/openoffice) -postprocess_MOD := $(call gb_XcuModuleTarget_get_outdir_target,) +postprocess_MOD := $(call gb_XcuModuleTarget_get_target,officecfg/registry/data) postprocess_DRIVERS := postprocess_XCDS := \ @@ -38,9 +38,9 @@ postprocess_XCDS := \ postprocess_DEPS_base := main postprocess_FILES_base := \ - $(postprocess_MOD)/fcfg_database_filters.xcu \ - $(postprocess_MOD)/fcfg_database_others.xcu \ - $(postprocess_MOD)/fcfg_database_types.xcu \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_database_filters.xcu) \ + $(call gb_XcuFilterOthersTarget_get_target,fcfg_database_others.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_database_types.xcu) \ $(postprocess_MOD)/org/openoffice/Office/Common-base.xcu \ $(postprocess_MOD)/org/openoffice/Setup-base.xcu @@ -50,15 +50,15 @@ postprocess_FILES_calc := \ $(postprocess_XCS)/Office/UI/CalcWindowState.xcs \ $(postprocess_XCU)/Office/UI/CalcCommands.xcu \ $(postprocess_XCU)/Office/UI/CalcWindowState.xcu \ - $(postprocess_MOD)/fcfg_calc_filters.xcu \ - $(postprocess_MOD)/fcfg_calc_types.xcu \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_calc_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_calc_types.xcu) \ $(postprocess_MOD)/org/openoffice/Office/Common-calc.xcu \ $(postprocess_MOD)/org/openoffice/Office/Embedding-calc.xcu \ $(postprocess_MOD)/org/openoffice/Setup-calc.xcu ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE))) postprocess_FILES_calc += \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-calc.xcu + $(call gb_XcuModuleTarget_get_target,connectivity/registry/calc)/org/openoffice/Office/DataAccess/Drivers-calc.xcu postprocess_DRIVERS += calc endif @@ -75,20 +75,20 @@ postprocess_DEPS_draw := main postprocess_FILES_draw := \ $(postprocess_XCS)/Office/UI/DrawWindowState.xcs \ $(postprocess_XCU)/Office/UI/DrawWindowState.xcu \ - $(postprocess_MOD)/fcfg_draw_filters.xcu \ - $(postprocess_MOD)/fcfg_draw_types.xcu \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_draw_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_draw_types.xcu) \ $(postprocess_MOD)/org/openoffice/Office/Common-draw.xcu \ $(postprocess_MOD)/org/openoffice/Office/Embedding-draw.xcu \ $(postprocess_MOD)/org/openoffice/Setup-draw.xcu postprocess_DEPS_graphicfilter := main postprocess_FILES_graphicfilter := \ - $(postprocess_MOD)/fcfg_drawgraphics_filters.xcu \ - $(postprocess_MOD)/fcfg_drawgraphics_types.xcu \ - $(postprocess_MOD)/fcfg_impressgraphics_filters.xcu \ - $(postprocess_MOD)/fcfg_impressgraphics_types.xcu \ - $(postprocess_MOD)/fcfg_writergraphics_filters.xcu \ - $(postprocess_MOD)/fcfg_writergraphics_types.xcu + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_drawgraphics_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_drawgraphics_types.xcu) \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_impressgraphics_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_impressgraphics_types.xcu) \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_writergraphics_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_writergraphics_types.xcu) postprocess_DEPS_impress := main postprocess_FILES_impress := \ @@ -98,8 +98,8 @@ postprocess_FILES_impress := \ $(postprocess_XCU)/Office/PresenterScreen.xcu \ $(postprocess_XCU)/Office/UI/Effects.xcu \ $(postprocess_XCU)/Office/UI/ImpressWindowState.xcu \ - $(postprocess_MOD)/fcfg_impress_filters.xcu \ - $(postprocess_MOD)/fcfg_impress_types.xcu \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_impress_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_impress_types.xcu) \ $(postprocess_MOD)/org/openoffice/Office/Common-impress.xcu \ $(postprocess_MOD)/org/openoffice/Office/Embedding-impress.xcu \ $(postprocess_MOD)/org/openoffice/Office/Jobs-impress.xcu \ @@ -262,14 +262,14 @@ postprocess_FILES_main := \ $(postprocess_XCU)/UserProfile.xcu \ $(postprocess_XCU)/VCL.xcu \ $(postprocess_XCU)/ucb/Configuration.xcu \ - $(postprocess_MOD)/fcfg_base_filters.xcu \ - $(postprocess_MOD)/fcfg_base_others.xcu \ - $(postprocess_MOD)/fcfg_base_types.xcu \ - $(postprocess_MOD)/fcfg_chart_filters.xcu \ - $(postprocess_MOD)/fcfg_chart_others.xcu \ - $(postprocess_MOD)/fcfg_chart_types.xcu \ - $(postprocess_MOD)/fcfg_internalgraphics_filters.xcu \ - $(postprocess_MOD)/fcfg_internalgraphics_types.xcu \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_base_filters.xcu) \ + $(call gb_XcuFilterOthersTarget_get_target,fcfg_base_others.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_base_types.xcu) \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_chart_filters.xcu) \ + $(call gb_XcuFilterOthersTarget_get_target,fcfg_chart_others.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_chart_types.xcu) \ + $(call gb_XcuFilterInternalTarget_get_target,fcfg_internalgraphics_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_internalgraphics_types.xcu) \ $(postprocess_MOD)/org/openoffice/Office/Embedding-chart.xcu \ $(postprocess_MOD)/org/openoffice/Setup-start.xcu \ $(postprocess_MOD)/org/openoffice/TypeDetection/UISort-calc.xcu \ @@ -279,26 +279,26 @@ postprocess_FILES_main := \ $(postprocess_MOD)/org/openoffice/TypeDetection/UISort-writer.xcu ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE))) postprocess_FILES_main += \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-dbase.xcu \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-flat.xcu \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-mysql.xcu \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-odbc.xcu + $(call gb_XcuModuleTarget_get_target,connectivity/registry/dbase)/org/openoffice/Office/DataAccess/Drivers-dbase.xcu \ + $(call gb_XcuModuleTarget_get_target,connectivity/registry/flat)/org/openoffice/Office/DataAccess/Drivers-flat.xcu \ + $(call gb_XcuModuleTarget_get_target,connectivity/registry/mysql)/org/openoffice/Office/DataAccess/Drivers-mysql.xcu \ + $(call gb_XcuModuleTarget_get_target,connectivity/registry/odbc)/org/openoffice/Office/DataAccess/Drivers-odbc.xcu postprocess_DRIVERS += dbase flat mysql odbc ifeq (WNT,$(OS)) ifeq ($(WITH_MOZAB4WIN),YES) -postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-mozab.xcu +postprocess_FILES_main += $(call gb_XcuModuleTarget_get_target,connectivity/registry/mozab)/org/openoffice/Office/DataAccess/Drivers-mozab.xcu postprocess_DRIVERS += mozab endif else ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE))) ifneq (,$(filter DESKTOP,$(BUILD_TYPE))) -postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-mork.xcu +postprocess_FILES_main += $(call gb_XcuModuleTarget_get_target,connectivity/registry/mork)/org/openoffice/Office/DataAccess/Drivers-mork.xcu postprocess_DRIVERS += mork endif endif endif ifeq (MACOSX,$(OS)) postprocess_FILES_main += \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-macab.xcu \ + $(call gb_XcuModuleTarget_get_target,connectivity/registry/macab)/org/openoffice/Office/DataAccess/Drivers-macab.xcu \ $(postprocess_MOD)/org/openoffice/Inet-macosx.xcu \ $(postprocess_MOD)/org/openoffice/Office/Accelerators-macosx.xcu \ $(postprocess_MOD)/org/openoffice/Office/Common-macosx.xcu \ @@ -320,7 +320,7 @@ postprocess_FILES_main += \ # VCL-unixdesktop.xcu must come after VCL.xcu else ifeq (WNT,$(OS)) postprocess_FILES_main += \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-ado.xcu \ + $(call gb_XcuModuleTarget_get_target,connectivity/registry/ado)/org/openoffice/Office/DataAccess/Drivers-ado.xcu \ $(postprocess_MOD)/org/openoffice/Inet-wnt.xcu \ $(postprocess_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \ $(postprocess_MOD)/org/openoffice/Office/Common-wnt.xcu \ @@ -333,26 +333,26 @@ ifeq ($(DISABLE_NEON),$(false)) postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/ucb/Configuration-neon.xcu endif ifeq ($(ENABLE_EVOAB2),TRUE) -postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu +postprocess_FILES_main += $(call gb_XcuModuleTarget_get_target,connectivity/registry/evoab2)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu postprocess_DRIVERS += evoab endif ifeq ($(ENABLE_JAVA),TRUE) postprocess_FILES_main += \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-hsqldb.xcu \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-jdbc.xcu + $(call gb_XcuModuleTarget_get_target,connectivity/registry/hsqldb)/org/openoffice/Office/DataAccess/Drivers-hsqldb.xcu \ + $(call gb_XcuModuleTarget_get_target,connectivity/registry/jdbc)/org/openoffice/Office/DataAccess/Drivers-jdbc.xcu postprocess_DRIVERS += hsqldb jdbc endif ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE) postprocess_FILES_main += \ - $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-firebird.xcu + $(call gb_XcuModuleTarget_get_target,connectivity/registry/firebird)/org/openoffice/Office/DataAccess/Drivers-firebird.xcu postprocess_DRIVERS += firebird_sdbc endif ifeq ($(ENABLE_TDEAB),TRUE) -postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-tdeab.xcu +postprocess_FILES_main += $(call gb_XcuModuleTarget_get_target,connectivity/registry/tdeab)/org/openoffice/Office/DataAccess/Drivers-tdeab.xcu endif ifeq ($(ENABLE_KAB),TRUE) -postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-kab.xcu +postprocess_FILES_main += $(call gb_XcuModuleTarget_get_target,connectivity/registry/kab)/org/openoffice/Office/DataAccess/Drivers-kab.xcu postprocess_DRIVERS += kab endif @@ -368,8 +368,8 @@ postprocess_FILES_math := \ $(postprocess_XCS)/Office/UI/MathWindowState.xcs \ $(postprocess_XCU)/Office/UI/MathCommands.xcu \ $(postprocess_XCU)/Office/UI/MathWindowState.xcu \ - $(postprocess_MOD)/fcfg_math_filters.xcu \ - $(postprocess_MOD)/fcfg_math_types.xcu \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_math_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_math_types.xcu) \ $(postprocess_MOD)/org/openoffice/Office/Common-math.xcu \ $(postprocess_MOD)/org/openoffice/Office/Embedding-math.xcu \ $(postprocess_MOD)/org/openoffice/Setup-math.xcu @@ -413,25 +413,25 @@ postprocess_FILES_writer := \ $(postprocess_XCU)/Office/UI/WriterWebWindowState.xcu \ $(postprocess_XCU)/Office/UI/WriterWindowState.xcu \ $(postprocess_XCU)/Office/UI/XFormsWindowState.xcu \ - $(postprocess_MOD)/fcfg_global_filters.xcu \ - $(postprocess_MOD)/fcfg_global_types.xcu \ - $(postprocess_MOD)/fcfg_web_filters.xcu \ - $(postprocess_MOD)/fcfg_web_types.xcu \ - $(postprocess_MOD)/fcfg_writer_filters.xcu \ - $(postprocess_MOD)/fcfg_writer_types.xcu \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_global_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_global_types.xcu) \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_web_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_web_types.xcu) \ + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_writer_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_writer_types.xcu) \ $(postprocess_MOD)/org/openoffice/Office/Common-writer.xcu \ $(postprocess_MOD)/org/openoffice/Office/Embedding-writer.xcu \ $(postprocess_MOD)/org/openoffice/Setup-writer.xcu postprocess_DEPS_xsltfilter := main postprocess_FILES_xsltfilter := \ - $(postprocess_MOD)/fcfg_xslt_filters.xcu \ - $(postprocess_MOD)/fcfg_xslt_types.xcu + $(call gb_XcuFilterFiltersTarget_get_target,fcfg_xslt_filters.xcu) \ + $(call gb_XcuFilterTypesTarget_get_target,fcfg_xslt_types.xcu) ifeq ($(BUILD_POSTGRESQL_SDBC),YES) postprocess_XCDS += postgresqlsdbc.xcd postprocess_DEPS_postgresqlsdbc := main -postprocess_FILES_postgresqlsdbc := $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-postgresql.xcu +postprocess_FILES_postgresqlsdbc := $(call gb_XcuModuleTarget_get_target,connectivity/registry/postgresql)/org/openoffice/Office/DataAccess/Drivers-postgresql.xcu postprocess_DRIVERS += postgresql endif diff --git a/solenv/gbuild/Configuration.mk b/solenv/gbuild/Configuration.mk index 485734134933..cda32c4d1ed7 100644 --- a/solenv/gbuild/Configuration.mk +++ b/solenv/gbuild/Configuration.mk @@ -163,13 +163,13 @@ endef $(call gb_XcuModuleTarget_get_target,%) : $(gb_XcuTarget_XSLT_AllLang) \ | $(gb_Configuration_XSLTCOMMAND_DEPS) + $(if $(filter %.xcu,$^),,$(error There is no target $(call gb_XcuModuleTarget_get_target,$*))) $(call gb_XcuModuleTarget__command,$@,$*,$(filter %.xcu,$^),$(filter %.xcs,$^)) $(call gb_XcuModuleTarget_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),XCM,3) $(call gb_Helper_abbreviate_dirs,\ - rm -f $(call gb_XcuModuleTarget_get_target,$*) \ - $(call gb_XcuModuleTarget_get_outdir_target,$(XCUFILE))) + rm -f $(call gb_XcuModuleTarget_get_target,$*)) # XcuLangpackTarget class @@ -299,9 +299,9 @@ $(call gb_Configuration_get_preparation_target,%) : $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $@) && touch $@) -# $(call gb_Configuration_Configuration,configuration,repo,nodeliver) -# cannot use target local variable for REPO because it's needed in prereq +# $(call gb_Configuration_Configuration,configuration,nodeliver) # last parameter may be used to turn off delivering of files +# FIXME: not anymore, no files are delivered now define gb_Configuration_Configuration $(eval gb_Configuration_NODELIVER_$(1) := $(2)) @@ -368,21 +368,8 @@ $(call gb_XcuModuleTarget_get_target,$(2)/$(3)) : \ $(call gb_Configuration_get_preparation_target,$(1)) \ $(call gb_XcsTarget_for_XcuModuleTarget,$(3)) $(call gb_XcuModuleTarget_get_target,$(2)/$(3)) : PRIMARY_REGISTRY := $(filter $(1),$(gb_Configuration_PRIMARY_REGISTRY_NAME)) -$(call gb_XcuModuleTarget_get_clean_target,$(2)/$(3)) : XCUFILE := $(3) -ifeq ($(strip $(gb_Configuration_NODELIVER_$(1))),) -$(call gb_Configuration_get_target,$(1)) : \ - $(call gb_XcuModuleTarget_get_outdir_target,$(3)) -$(call gb_XcuModuleTarget_get_outdir_target,$(3)) : \ - $(call gb_XcuModuleTarget_get_target,$(2)/$(3)) \ - | $(dir $(call gb_XcuModuleTarget_get_outdir_target,$(3))).dir -$(call gb_Deliver_add_deliverable,\ - $(call gb_XcuModuleTarget_get_outdir_target,$(3)),\ - $(call gb_XcuModuleTarget_get_target,$(2)/$(3)),\ - $(2)/$(3)) -else $(call gb_Configuration_get_target,$(1)) : \ $(call gb_XcuModuleTarget_get_target,$(2)/$(3)) -endif endef diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk index 58023b1c50fb..217f020eddb1 100644 --- a/solenv/gbuild/TargetLocations.mk +++ b/solenv/gbuild/TargetLocations.mk @@ -41,7 +41,6 @@ gb_Jar_get_outdir_target = $(OUTDIR)/bin/$(1).jar gb_Configuration_registry = $(OUTDIR)/xml/registry gb_XcsTarget_get_outdir_target = \ $(gb_Configuration_registry)/schema$(if $(1),/)$(1) -gb_XcuModuleTarget_get_outdir_target = $(gb_Configuration_registry)/spool/$(1) gb_Executable_get_target = $(gb_Executable__get_linktarget_target) @@ -219,6 +218,10 @@ gb_LexTarget_get_target = $(WORKDIR)/LexTarget/$(1).done gb_XcdTarget_get_target = $(WORKDIR)/XcdTarget/$(1) gb_XcsTarget_get_target = $(WORKDIR)/XcsTarget/$(1) gb_XcuDataTarget_get_target = $(WORKDIR)/XcuDataTarget/$(1) +gb_XcuFilterFiltersTarget_get_target = $(WORKDIR)/XcuFilterFiltersTarget/$(1) +gb_XcuFilterInternalTarget_get_target = $(WORKDIR)/XcuFilterInternalTarget/$(1) +gb_XcuFilterOthersTarget_get_target = $(WORKDIR)/XcuFilterOthersTarget/$(1) +gb_XcuFilterTypesTarget_get_target = $(WORKDIR)/XcuFilterTypesTarget/$(1) gb_XcuLangpackTarget_get_target = $(WORKDIR)/XcuLangpackTarget/$(1) gb_XcuModuleTarget_get_target = $(WORKDIR)/XcuModuleTarget/$(1) gb_XcuMergeTarget_get_target = $(WORKDIR)/XcuMergeTarget/$(1) |