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
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_Library_Library
,i18nisolang1
))
31 $(eval
$(call gb_Library_use_packages
,i18nisolang1
,\
36 $(eval
$(call gb_Library_set_include
,i18nisolang1
,\
37 -I
$(SRCDIR
)/i18npool
/inc \
41 $(eval
$(call gb_Library_use_sdk_api
,i18nisolang1
))
43 $(eval
$(call gb_Library_add_defs
,i18nisolang1
,\
44 -DI18NISOLANG_DLLIMPLEMENTATION \
47 $(eval
$(call gb_Library_use_libraries
,i18nisolang1
,\
52 $(eval
$(call gb_Library_add_exception_objects
,i18nisolang1
,\
53 i18npool
/source
/isolang
/insys \
54 i18npool
/source
/isolang
/isolang \
55 i18npool
/source
/isolang
/mslangid \
56 i18npool
/source
/languagetag
/languagetag \
60 ifeq ($(ENABLE_LIBLANGTAG
),YES
)
61 $(eval
$(call gb_Library_add_defs
,i18nisolang1
,-DENABLE_LIBLANGTAG
))
62 $(eval
$(call gb_Library_use_external
,i18nisolang1
,liblangtag
))
63 $(eval
$(call gb_Library_use_external
,i18nisolang1
,libxml2
))
64 $(eval
$(call gb_Library_use_system_win32_libs
,i18nisolang1
,\
65 $(if
$(filter $(COM
),MSC
), \
71 # vim: set noet sw=4 ts=4: