gbuild need no env anymore
[LibreOffice.git] / i18npool / Executable_gencoll_rule.mk
blobe03d8b057a5faa47c8302bd7e8e6bd656192eec6
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Initial Developer of the Original Code is
15 # Matúš Kukan <matus.kukan@gmail.com>
16 # Portions created by the Initial Developer are Copyright (C) 2011 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval $(call gb_Executable_Executable,gencoll_rule))
31 $(eval $(call gb_Executable_add_precompiled_header,gencoll_rule,$(SRCDIR)/i18npool/inc/pch/precompiled_i18npool))
33 $(eval $(call gb_Executable_set_include,gencoll_rule,\
34 $$(INCLUDE) \
35 -I$(realpath $(SRCDIR)/i18npool/inc) \
36 -I$(realpath $(SRCDIR)/i18npool/inc/pch) \
39 $(eval $(call gb_Executable_add_linked_libs,gencoll_rule,\
40 sal \
41 $(gb_STDLIBS) \
44 ifeq ($(OS)$(COM),WNTMSC)
45 $(eval $(call gb_Executable_use_externals,gencoll_rule,\
46 icudt \
47 icuin \
48 icuuc \
50 else
51 $(eval $(call gb_Executable_use_externals,gencoll_rule,\
52 icudata \
53 icui18n \
54 icuuc \
56 endif
58 $(eval $(call gb_Executable_add_exception_objects,gencoll_rule,\
59 i18npool/source/collator/gencoll_rule \
62 # vim: set noet sw=4 ts=4: