sd: sidebars are now visible in LOOL
[LibreOffice.git] / external / graphite / StaticLibrary_graphite.mk
blobee233a10b02868aa9c8d727a68527cf6312c9fd1
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 $(eval $(call gb_StaticLibrary_StaticLibrary,graphite))
12 $(eval $(call gb_StaticLibrary_use_unpacked,graphite,graphite))
14 $(eval $(call gb_StaticLibrary_set_warnings_disabled,graphite))
16 $(eval $(call gb_StaticLibrary_set_include,graphite,\
17 -I$(call gb_UnpackedTarball_get_dir,graphite/include) \
18 -I$(call gb_UnpackedTarball_get_dir,graphite/src) \
19 $$(INCLUDE) \
22 $(eval $(call gb_StaticLibrary_add_defs,graphite,\
23 -DGRAPHITE2_NTRACING \
24 -DGRAPHITE2_STATIC \
27 ifeq ($(COM),GCC)
28 ifneq ($(COM_IS_CLANG),TRUE)
29 $(eval $(call gb_StaticLibrary_add_cxxflags,graphite,\
30 -fpermissive \
32 endif
33 endif
35 ifeq ($(OS),ANDROID)
36 # Force optimizations on Android, because otherwise Pass.cpp triggers an
37 # infinite loop in clang, at least in this version:
38 # Android (5058415 based on r339409) clang version 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec746213857d083c0e8b0abb568790) (https://android.googlesource.com/toolchain/llvm 7a6618d69e7e8111e1d49dc9e7813767c5ca756a) (based on LLVM 8.0.2svn)
39 $(eval $(call gb_StaticLibrary_add_cxxflags,graphite,\
40 -Os \
42 endif
44 $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,graphite,cpp))
46 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,graphite,\
47 UnpackedTarball/graphite/src/$(if $(filter GCC,$(COM)),direct,call)_machine \
48 UnpackedTarball/graphite/src/gr_char_info \
49 UnpackedTarball/graphite/src/gr_face \
50 UnpackedTarball/graphite/src/gr_features \
51 UnpackedTarball/graphite/src/gr_font \
52 UnpackedTarball/graphite/src/gr_logging \
53 UnpackedTarball/graphite/src/gr_segment \
54 UnpackedTarball/graphite/src/gr_slot \
55 UnpackedTarball/graphite/src/json \
56 UnpackedTarball/graphite/src/CmapCache \
57 UnpackedTarball/graphite/src/Code \
58 UnpackedTarball/graphite/src/Collider \
59 UnpackedTarball/graphite/src/Decompressor \
60 UnpackedTarball/graphite/src/Face \
61 UnpackedTarball/graphite/src/FeatureMap \
62 UnpackedTarball/graphite/src/FileFace \
63 UnpackedTarball/graphite/src/Font \
64 UnpackedTarball/graphite/src/GlyphCache \
65 UnpackedTarball/graphite/src/GlyphFace \
66 UnpackedTarball/graphite/src/Intervals \
67 UnpackedTarball/graphite/src/Justifier \
68 UnpackedTarball/graphite/src/NameTable \
69 UnpackedTarball/graphite/src/Pass \
70 UnpackedTarball/graphite/src/Position \
71 UnpackedTarball/graphite/src/Segment \
72 UnpackedTarball/graphite/src/Silf \
73 UnpackedTarball/graphite/src/Slot \
74 UnpackedTarball/graphite/src/Sparse \
75 UnpackedTarball/graphite/src/TtfUtil \
76 UnpackedTarball/graphite/src/UtfCodec \
79 # vim: set noet sw=4 ts=4: