Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 # GRAPHITE2 LICENSING
2 #
3 # Copyright 2011, SIL International
4 # All rights reserved.
5 #
6 # This library is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU Lesser General Public License as published
8 # by the Free Software Foundation; either version 2.1 of License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
15 #
16 # You should also have received a copy of the GNU Lesser General Public
17 # License along with this library in the file named "LICENSE".
18 # If not, write to the Free Software Foundation, 51 Franklin Street,
19 # Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
20 # internet at http://www.fsf.org/licenses/lgpl.html.
21 #
22 # Alternatively, the contents of this file may be used under the terms of the
23 # Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
24 # License, as published by the Free Software Foundation, either version 2
25 # of the License or (at your option) any later version.
27 # Makefile helper file for those wanting to build Graphite2 using make
28 # The including makefile should set the following variables
29 # _NS Prefix to all variables this file creates (namespace)
30 # $(_NS)_MACHINE Set to direct or call. Set to direct if using gcc else
31 # set to call
32 # $(_NS)_BASE path to root of graphite2 project
33 #
34 # Returns:
35 # $(_NS)_SOURCES List of source files (with .cpp extension)
36 # $(_NS)_PRIVATE_HEADERS List of private header files (with .h extension)
37 # $(_NS)_PUBLIC_HEADERS List of public header files (with .h extension)
40 $(_NS)_SOURCES = \
41 $($(_NS)_BASE)/src/$($(_NS)_MACHINE)_machine.cpp \
42 $($(_NS)_BASE)/src/gr_char_info.cpp \
43 $($(_NS)_BASE)/src/gr_face.cpp \
44 $($(_NS)_BASE)/src/gr_features.cpp \
45 $($(_NS)_BASE)/src/gr_font.cpp \
46 $($(_NS)_BASE)/src/gr_logging.cpp \
47 $($(_NS)_BASE)/src/gr_segment.cpp \
48 $($(_NS)_BASE)/src/gr_slot.cpp \
49 $($(_NS)_BASE)/src/json.cpp \
50 $($(_NS)_BASE)/src/Bidi.cpp \
51 $($(_NS)_BASE)/src/CachedFace.cpp \
52 $($(_NS)_BASE)/src/CmapCache.cpp \
53 $($(_NS)_BASE)/src/Code.cpp \
54 $($(_NS)_BASE)/src/Face.cpp \
55 $($(_NS)_BASE)/src/FeatureMap.cpp \
56 $($(_NS)_BASE)/src/FileFace.cpp \
57 $($(_NS)_BASE)/src/Font.cpp \
58 $($(_NS)_BASE)/src/GlyphCache.cpp \
59 $($(_NS)_BASE)/src/GlyphFace.cpp \
60 $($(_NS)_BASE)/src/Justifier.cpp \
61 $($(_NS)_BASE)/src/NameTable.cpp \
62 $($(_NS)_BASE)/src/Pass.cpp \
63 $($(_NS)_BASE)/src/SegCache.cpp \
64 $($(_NS)_BASE)/src/SegCacheEntry.cpp \
65 $($(_NS)_BASE)/src/SegCacheStore.cpp \
66 $($(_NS)_BASE)/src/Segment.cpp \
67 $($(_NS)_BASE)/src/Silf.cpp \
68 $($(_NS)_BASE)/src/Slot.cpp \
69 $($(_NS)_BASE)/src/Sparse.cpp \
70 $($(_NS)_BASE)/src/TtfUtil.cpp \
71 $($(_NS)_BASE)/src/UtfCodec.cpp
73 $(_NS)_PRIVATE_HEADERS = \
74 $($(_NS)_BASE)/src/inc/bits.h \
75 $($(_NS)_BASE)/src/inc/debug.h \
76 $($(_NS)_BASE)/src/inc/json.h \
77 $($(_NS)_BASE)/src/inc/CachedFace.h \
78 $($(_NS)_BASE)/src/inc/CharInfo.h \
79 $($(_NS)_BASE)/src/inc/CmapCache.h \
80 $($(_NS)_BASE)/src/inc/Code.h \
81 $($(_NS)_BASE)/src/inc/Endian.h \
82 $($(_NS)_BASE)/src/inc/Error.h \
83 $($(_NS)_BASE)/src/inc/Face.h \
84 $($(_NS)_BASE)/src/inc/FeatureMap.h \
85 $($(_NS)_BASE)/src/inc/FeatureVal.h \
86 $($(_NS)_BASE)/src/inc/FileFace.h \
87 $($(_NS)_BASE)/src/inc/Font.h \
88 $($(_NS)_BASE)/src/inc/GlyphCache.h \
89 $($(_NS)_BASE)/src/inc/GlyphFace.h \
90 $($(_NS)_BASE)/src/inc/List.h \
91 $($(_NS)_BASE)/src/inc/locale2lcid.h \
92 $($(_NS)_BASE)/src/inc/Machine.h \
93 $($(_NS)_BASE)/src/inc/Main.h \
94 $($(_NS)_BASE)/src/inc/NameTable.h \
95 $($(_NS)_BASE)/src/inc/opcode_table.h \
96 $($(_NS)_BASE)/src/inc/opcodes.h \
97 $($(_NS)_BASE)/src/inc/Pass.h \
98 $($(_NS)_BASE)/src/inc/Position.h \
99 $($(_NS)_BASE)/src/inc/Rule.h \
100 $($(_NS)_BASE)/src/inc/SegCache.h \
101 $($(_NS)_BASE)/src/inc/SegCacheEntry.h \
102 $($(_NS)_BASE)/src/inc/SegCacheStore.h \
103 $($(_NS)_BASE)/src/inc/Segment.h \
104 $($(_NS)_BASE)/src/inc/Silf.h \
105 $($(_NS)_BASE)/src/inc/Slot.h \
106 $($(_NS)_BASE)/src/inc/Sparse.h \
107 $($(_NS)_BASE)/src/inc/TtfTypes.h \
108 $($(_NS)_BASE)/src/inc/TtfUtil.h \
109 $($(_NS)_BASE)/src/inc/UtfCodec.h
111 $(_NS)_PUBLIC_HEADERS = \
112 $($(_NS)_BASE)/include/graphite2/Font.h \
113 $($(_NS)_BASE)/include/graphite2/Log.h \
114 $($(_NS)_BASE)/include/graphite2/Segment.h \
115 $($(_NS)_BASE)/include/graphite2/Types.h