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 i18npool_ICULT53
:= $(filter 1, $(shell expr
$(ICU_MAJOR
) \
< 53))
11 i18npool_LCDALL
:= $(wildcard $(SRCDIR
)/i18npool
/source
/collator
/data
/*.txt
)
12 i18npool_LCDTXTS
:= $(if
$(i18npool_ICULT53
), $(i18npool_LCDALL
), $(filter-out %/ko_charset.txt
, $(i18npool_LCDALL
)))
14 $(eval
$(call gb_Library_Library
,collator_data
))
16 $(eval
$(call gb_Library_use_libraries
,collator_data
,\
20 $(eval
$(call gb_Library_add_generated_exception_objects
,collator_data
,\
21 $(foreach txt
,$(i18npool_LCDTXTS
),\
22 CustomTarget
/i18npool
/collator
/collator_
$(notdir $(basename $(txt
)))) \
25 # vim: set noet sw=4 ts=4: