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
/indexentry
))
13 indexdata_ko_dict.txt \
14 indexdata_zh_pinyin.txt \
15 indexdata_zh_radical.txt \
16 indexdata_zh_stroke.txt \
17 indexdata_zh_TW_radical.txt \
18 indexdata_zh_TW_stroke.txt \
19 indexdata_zh_zhuyin.txt \
24 $(call gb_CustomTarget_get_target
,i18npool
/indexentry
) : $(SRCDIR
)/i18npool
/CustomTarget_indexentry.mk \
25 $(patsubst %.txt
,$(call gb_CustomTarget_get_workdir
,i18npool
/indexentry
)/%.
cxx,$(i18npool_IDXTXTS
))
27 $(call gb_CustomTarget_get_workdir
,i18npool
/indexentry
)/%.
cxx : \
28 $(SRCDIR
)/i18npool
/source
/indexentry
/data
/%.txt \
29 $(call gb_Executable_get_runtime_dependencies
,genindex_data
) \
30 |
$(call gb_CustomTarget_get_workdir
,i18npool
/indexentry
)/.
dir
31 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),IND
,1)
32 $(call gb_Trace_StartRange
,$(subst $(WORKDIR
)/,,$@
),IND
)
33 $(call gb_Helper_abbreviate_dirs
, \
34 $(call gb_Helper_execute
,genindex_data
) $< $@.tmp
$* && \
35 sed
's/\(^.*get_\)/SAL_DLLPUBLIC_EXPORT \1/' $@.tmp
> $@
&& \
37 $(call gb_Trace_EndRange
,$(subst $(WORKDIR
)/,,$@
),IND
)
39 # vim: set noet sw=4 ts=4: