Implement weld::IconView::[gs]et_item_width
[LibreOffice.git] / i18npool / CustomTarget_localedata.mk
blob3ce723ba2499f25930214a016539fabb9c843951
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_CustomTarget_CustomTarget,i18npool/localedata))
12 i18npool_LD_NAMES := $(basename $(notdir $(wildcard $(SRCDIR)/i18npool/source/localedata/data/*.xml)))
14 $(eval $(call gb_CustomTarget_register_targets,i18npool/localedata,\
15 $(foreach name,$(i18npool_LD_NAMES),localedata_$(name).cxx) \
18 $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_%_new.cxx : \
19 $(SRCDIR)/i18npool/source/localedata/data/%.xml \
20 $(call gb_Executable_get_runtime_dependencies,saxparser)
21 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SAX,1)
22 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),SAX)
23 $(call gb_Helper_abbreviate_dirs, \
24 $(call gb_Helper_print_on_error, \
25 $(call gb_Helper_execute,saxparser) $* $< $@.sax \
26 -env:LO_LIB_DIR=$(call gb_Helper_make_url,$(INSTROOT_FOR_BUILD)/$(LIBO_LIB_FOLDER)) \
27 -env:URE_MORE_SERVICES=$(call gb_Helper_make_url,$(call gb_Rdb_get_target_for_build,saxparser))) && \
28 sed 's/\(^.*get[^;]*$$\)/SAL_DLLPUBLIC_EXPORT \1/' $@.sax > $@)
29 rm $@.sax
30 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),SAX)
32 .PRECIOUS: $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_%_new.cxx
33 $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_%.cxx : \
34 $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_%_new.cxx
35 $(call gb_Helper_copy_if_different_and_touch,$<,$@)
37 # vim: set noet sw=4 ts=4: