Avoid potential negative array index access to cached text.
[LibreOffice.git] / linguistic / Library_lng.mk
blob4991163ed0706705dff61ca7123548fe569437b4
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,lng))
22 $(eval $(call gb_Library_set_componentfile,lng,linguistic/source/lng,services))
24 $(eval $(call gb_Library_set_include,lng,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/linguistic/inc \
29 $(eval $(call gb_Library_use_sdk_api,lng))
31 $(eval $(call gb_Library_use_custom_headers,lng,\
32 officecfg/registry \
35 $(eval $(call gb_Library_add_defs,lng,\
36 -DLNG_DLLIMPLEMENTATION \
39 $(eval $(call gb_Library_use_libraries,lng,\
40 comphelper \
41 cppu \
42 cppuhelper \
43 i18nlangtag \
44 sal \
45 sax \
46 svl \
47 tl \
48 ucbhelper \
49 utl \
50 vcl \
51 xo \
54 $(eval $(call gb_Library_use_externals,lng,\
55 boost_headers \
56 icuuc \
57 icu_headers \
58 $(if $(ENABLE_CURL),curl) \
61 $(eval $(call gb_Library_add_exception_objects,lng,\
62 linguistic/source/convdic \
63 linguistic/source/convdiclist \
64 linguistic/source/convdicxml \
65 linguistic/source/dicimp \
66 linguistic/source/dlistimp \
67 linguistic/source/gciterator \
68 linguistic/source/hhconvdic \
69 linguistic/source/hyphdsp \
70 linguistic/source/hyphdta \
71 linguistic/source/iprcache \
72 linguistic/source/lngopt \
73 linguistic/source/lngprophelp \
74 linguistic/source/lngsvcmgr \
75 linguistic/source/misc \
76 linguistic/source/misc2 \
77 linguistic/source/spelldsp \
78 linguistic/source/spelldta \
79 linguistic/source/thesdsp \
80 $(if $(ENABLE_CURL),linguistic/source/translate) \
83 # vim: set noet sw=4 ts=4: