Avoid potential negative array index access to cached text.
[LibreOffice.git] / cppuhelper / Library_cppuhelper.mk
blob3a1b4b776f6634e20e6a563b026dd2540e593306
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval $(call gb_Library_Library,cppuhelper))
13 $(eval $(call gb_Library_set_soversion_script,cppuhelper,$(SRCDIR)/cppuhelper/source/gcc3.map))
15 $(eval $(call gb_Library_set_precompiled_header,cppuhelper,cppuhelper/inc/pch/precompiled_cppuhelper))
17 $(eval $(call gb_Library_use_internal_comprehensive_api,cppuhelper,\
18 cppuhelper \
19 udkapi \
20 offapi \
23 $(eval $(call gb_Library_set_is_ure_library_or_dependency,cppuhelper))
25 $(eval $(call gb_Library_add_defs,cppuhelper,\
26 -DCPPUHELPER_DLLIMPLEMENTATION \
29 $(eval $(call gb_Library_use_libraries,cppuhelper,\
30 cppu \
31 reg \
32 sal \
33 salhelper \
34 unoidl \
35 xmlreader \
38 $(eval $(call gb_Library_use_static_libraries,cppuhelper,\
39 findsofficepath \
42 ifeq ($(OS),iOS)
43 $(eval $(call gb_Library_add_cxxflags,cppuhelper,\
44 $(gb_OBJCXXFLAGS) \
46 endif
48 $(eval $(call gb_Library_set_include,cppuhelper,\
49 -I$(SRCDIR)/cppuhelper/inc \
50 $$(INCLUDE) \
53 $(eval $(call gb_Library_add_exception_objects,cppuhelper,\
54 cppuhelper/source/access_control \
55 cppuhelper/source/bootstrap \
56 cppuhelper/source/compat \
57 cppuhelper/source/compbase \
58 cppuhelper/source/component_context \
59 cppuhelper/source/component \
60 cppuhelper/source/defaultbootstrap \
61 cppuhelper/source/exc_thrower \
62 cppuhelper/source/factory \
63 cppuhelper/source/implbase \
64 cppuhelper/source/implbase_ex \
65 cppuhelper/source/implementationentry \
66 cppuhelper/source/interfacecontainer \
67 cppuhelper/source/macro_expander \
68 cppuhelper/source/paths \
69 cppuhelper/source/propertysetmixin \
70 cppuhelper/source/propshlp \
71 cppuhelper/source/servicemanager \
72 cppuhelper/source/shlib \
73 cppuhelper/source/supportsservice \
74 cppuhelper/source/tdmgr \
75 cppuhelper/source/typemanager \
76 cppuhelper/source/typeprovider \
77 cppuhelper/source/unoimplbase \
78 cppuhelper/source/unourl \
79 cppuhelper/source/weak \
82 # vim: set noet sw=4 ts=4: