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

officecfg: define list of schema files only once in files.mk

Change-Id: I1155cbee1e1cf28fdda5635d7151b28159befc15
üst c79be77c
...@@ -19,104 +19,7 @@ ...@@ -19,104 +19,7 @@
$(eval $(call gb_Configuration_Configuration,registry)) $(eval $(call gb_Configuration_Configuration,registry))
$(eval $(call gb_Configuration_add_schemas,registry,officecfg/registry/schema,\ $(eval $(call gb_Configuration_add_schemas,registry,officecfg/registry/schema,\
org/openoffice/LDAP.xcs \ $(addprefix org/openoffice/,$(addsuffix .xcs,$(officecfg_XCSFILES))) \
org/openoffice/Inet.xcs \
org/openoffice/Setup.xcs \
org/openoffice/System.xcs \
org/openoffice/UserProfile.xcs \
org/openoffice/VCL.xcs \
org/openoffice/FirstStartWizard.xcs \
org/openoffice/Interaction.xcs \
org/openoffice/Office/Accelerators.xcs \
org/openoffice/Office/Addons.xcs \
org/openoffice/Office/Calc.xcs \
org/openoffice/Office/CalcAddIns.xcs \
org/openoffice/Office/Canvas.xcs \
org/openoffice/Office/Chart.xcs \
org/openoffice/Office/Commands.xcs \
org/openoffice/Office/Common.xcs \
org/openoffice/Office/Compatibility.xcs \
org/openoffice/Office/DataAccess.xcs \
org/openoffice/Office/Draw.xcs \
org/openoffice/Office/Events.xcs \
org/openoffice/Office/Embedding.xcs \
org/openoffice/Office/ExtensionManager.xcs \
org/openoffice/Office/Impress.xcs \
org/openoffice/Office/Java.xcs \
org/openoffice/Office/Jobs.xcs \
org/openoffice/Office/Labels.xcs \
org/openoffice/Office/Linguistic.xcs \
org/openoffice/Office/Logging.xcs \
org/openoffice/Office/Math.xcs \
org/openoffice/Office/OptionsDialog.xcs \
org/openoffice/Office/ProtocolHandler.xcs \
org/openoffice/Office/SFX.xcs \
org/openoffice/Office/Substitution.xcs \
org/openoffice/Office/TableWizard.xcs \
org/openoffice/Office/UI.xcs \
org/openoffice/Office/Views.xcs \
org/openoffice/Office/Writer.xcs \
org/openoffice/Office/WriterWeb.xcs \
org/openoffice/Office/Scripting.xcs \
org/openoffice/Office/Security.xcs \
org/openoffice/Office/WebWizard.xcs \
org/openoffice/Office/Recovery.xcs \
org/openoffice/Office/FormWizard.xcs \
org/openoffice/Office/ExtendedColorScheme.xcs \
org/openoffice/Office/TypeDetection.xcs \
org/openoffice/Office/TabBrowse.xcs \
org/openoffice/Office/Paths.xcs \
org/openoffice/Office/Histories.xcs \
org/openoffice/Office/UI/Controller.xcs \
org/openoffice/Office/UI/Factories.xcs \
org/openoffice/Office/UI/Commands.xcs \
org/openoffice/Office/UI/BasicIDECommands.xcs \
org/openoffice/Office/UI/BibliographyCommands.xcs \
org/openoffice/Office/UI/CalcCommands.xcs \
org/openoffice/Office/UI/ChartCommands.xcs \
org/openoffice/Office/UI/DbuCommands.xcs \
org/openoffice/Office/UI/BaseWindowState.xcs \
org/openoffice/Office/UI/WriterFormWindowState.xcs \
org/openoffice/Office/UI/WriterReportWindowState.xcs \
org/openoffice/Office/UI/DbBrowserWindowState.xcs \
org/openoffice/Office/UI/DbTableDataWindowState.xcs \
org/openoffice/Office/UI/DrawImpressCommands.xcs \
org/openoffice/Office/UI/GenericCommands.xcs \
org/openoffice/Office/UI/MathCommands.xcs \
org/openoffice/Office/UI/StartModuleCommands.xcs \
org/openoffice/Office/UI/WriterCommands.xcs \
org/openoffice/Office/UI/WindowState.xcs \
org/openoffice/Office/UI/BasicIDEWindowState.xcs \
org/openoffice/Office/UI/BibliographyWindowState.xcs \
org/openoffice/Office/UI/CalcWindowState.xcs \
org/openoffice/Office/UI/ChartWindowState.xcs \
org/openoffice/Office/UI/DbQueryWindowState.xcs \
org/openoffice/Office/UI/DbRelationWindowState.xcs \
org/openoffice/Office/UI/DbTableWindowState.xcs \
org/openoffice/Office/UI/DrawWindowState.xcs \
org/openoffice/Office/UI/ImpressWindowState.xcs \
org/openoffice/Office/UI/MathWindowState.xcs \
org/openoffice/Office/UI/StartModuleWindowState.xcs \
org/openoffice/Office/UI/WriterWindowState.xcs \
org/openoffice/Office/UI/XFormsWindowState.xcs \
org/openoffice/Office/UI/WriterGlobalWindowState.xcs \
org/openoffice/Office/UI/WriterWebWindowState.xcs \
org/openoffice/Office/UI/Effects.xcs \
org/openoffice/Office/UI/Category.xcs \
org/openoffice/Office/UI/GenericCategories.xcs \
org/openoffice/Office/UI/GlobalSettings.xcs \
org/openoffice/Office/UI/WindowContentFactories.xcs \
org/openoffice/Office/DataAccess/Drivers.xcs \
org/openoffice/Office/OOoImprovement/Settings.xcs \
org/openoffice/TypeDetection/Types.xcs \
org/openoffice/TypeDetection/Filter.xcs \
org/openoffice/TypeDetection/GraphicFilter.xcs \
org/openoffice/TypeDetection/Misc.xcs \
org/openoffice/TypeDetection/UISort.xcs \
org/openoffice/ucb/Configuration.xcs \
org/openoffice/ucb/Hierarchy.xcs \
org/openoffice/ucb/InteractionHandler.xcs \
org/openoffice/ucb/Store.xcs \
)) ))
$(eval $(call gb_Configuration_add_datas,registry,officecfg/registry/data,\ $(eval $(call gb_Configuration_add_datas,registry,officecfg/registry/data,\
......
...@@ -26,12 +26,10 @@ ...@@ -26,12 +26,10 @@
## instead of those above. ## instead of those above.
## ##
include $(SRCDIR)/officecfg/registry/files.mk
$(eval $(call gb_CustomTarget_CustomTarget,officecfg/registry)) $(eval $(call gb_CustomTarget_CustomTarget,officecfg/registry))
$(call gb_CustomTarget_get_target,officecfg/registry) : \ $(call gb_CustomTarget_get_target,officecfg/registry) : \
$(foreach i,officecfg_qa_allheaders $(officecfg_FILES),\ $(foreach i,officecfg_qa_allheaders $(officecfg_XCSFILES),\
$(call gb_CustomTarget_get_workdir,officecfg/registry)/$(i).hxx) $(call gb_CustomTarget_get_workdir,officecfg/registry)/$(i).hxx)
# auto generated header file for unit test qa/cppheader.cxx # auto generated header file for unit test qa/cppheader.cxx
...@@ -39,7 +37,7 @@ $(call gb_CustomTarget_get_workdir,officecfg/registry)/officecfg_qa_allheaders.h ...@@ -39,7 +37,7 @@ $(call gb_CustomTarget_get_workdir,officecfg/registry)/officecfg_qa_allheaders.h
$(SRCDIR)/officecfg/registry/files.mk $(SRCDIR)/officecfg/registry/files.mk
$(call gb_Output_announce,officecfg_qa_allheaders.hxx,$(true),CAT,1) $(call gb_Output_announce,officecfg_qa_allheaders.hxx,$(true),CAT,1)
rm -f $@ \ rm -f $@ \
$(foreach file,$(officecfg_FILES),\ $(foreach file,$(officecfg_XCSFILES),\
&& echo "#include <officecfg/$(file).hxx>" >> $@) && echo "#include <officecfg/$(file).hxx>" >> $@)
define officecfg_TARGET define officecfg_TARGET
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
$(eval $(call gb_Module_Module,officecfg)) $(eval $(call gb_Module_Module,officecfg))
include $(SRCDIR)/officecfg/registry/files.mk
$(eval $(call gb_Module_add_targets,officecfg,\ $(eval $(call gb_Module_add_targets,officecfg,\
CustomTarget_registry \ CustomTarget_registry \
Package_cppheader \ Package_cppheader \
......
...@@ -26,9 +26,7 @@ ...@@ -26,9 +26,7 @@
## instead of those above. ## instead of those above.
## ##
include $(SRCDIR)/officecfg/registry/files.mk
$(eval $(call gb_Package_Package,officecfg_cppheader,$(WORKDIR)/CustomTarget/officecfg/registry)) $(eval $(call gb_Package_Package,officecfg_cppheader,$(WORKDIR)/CustomTarget/officecfg/registry))
$(eval $(foreach i,officecfg_qa_allheaders $(officecfg_FILES),$(call \ $(eval $(foreach i,officecfg_qa_allheaders $(officecfg_XCSFILES),$(call \
gb_Package_add_file,officecfg_cppheader,inc/officecfg/$(i).hxx,$(i).hxx))) gb_Package_add_file,officecfg_cppheader,inc/officecfg/$(i).hxx,$(i).hxx)))
officecfg_FILES := \ officecfg_XCSFILES := \
FirstStartWizard \ FirstStartWizard \
Inet \ Inet \
Interaction \ Interaction \
......
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