files.mk (4658B)
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. 26 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) 38 39 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/CmapCache.cpp \ 51 $($(_NS)_BASE)/src/Code.cpp \ 52 $($(_NS)_BASE)/src/Collider.cpp \ 53 $($(_NS)_BASE)/src/Decompressor.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/Intervals.cpp \ 61 $($(_NS)_BASE)/src/Justifier.cpp \ 62 $($(_NS)_BASE)/src/NameTable.cpp \ 63 $($(_NS)_BASE)/src/Pass.cpp \ 64 $($(_NS)_BASE)/src/Position.cpp \ 65 $($(_NS)_BASE)/src/Segment.cpp \ 66 $($(_NS)_BASE)/src/Silf.cpp \ 67 $($(_NS)_BASE)/src/Slot.cpp \ 68 $($(_NS)_BASE)/src/Sparse.cpp \ 69 $($(_NS)_BASE)/src/TtfUtil.cpp \ 70 $($(_NS)_BASE)/src/UtfCodec.cpp 71 72 $(_NS)_PRIVATE_HEADERS = \ 73 $($(_NS)_BASE)/src/inc/bits.h \ 74 $($(_NS)_BASE)/src/inc/debug.h \ 75 $($(_NS)_BASE)/src/inc/json.h \ 76 $($(_NS)_BASE)/src/inc/CharInfo.h \ 77 $($(_NS)_BASE)/src/inc/CmapCache.h \ 78 $($(_NS)_BASE)/src/inc/Code.h \ 79 $($(_NS)_BASE)/src/inc/Collider.h \ 80 $($(_NS)_BASE)/src/inc/Compression.h \ 81 $($(_NS)_BASE)/src/inc/Decompressor.h \ 82 $($(_NS)_BASE)/src/inc/Endian.h \ 83 $($(_NS)_BASE)/src/inc/Error.h \ 84 $($(_NS)_BASE)/src/inc/Face.h \ 85 $($(_NS)_BASE)/src/inc/FeatureMap.h \ 86 $($(_NS)_BASE)/src/inc/FeatureVal.h \ 87 $($(_NS)_BASE)/src/inc/FileFace.h \ 88 $($(_NS)_BASE)/src/inc/Font.h \ 89 $($(_NS)_BASE)/src/inc/GlyphCache.h \ 90 $($(_NS)_BASE)/src/inc/GlyphFace.h \ 91 $($(_NS)_BASE)/src/inc/Intervals.h \ 92 $($(_NS)_BASE)/src/inc/List.h \ 93 $($(_NS)_BASE)/src/inc/locale2lcid.h \ 94 $($(_NS)_BASE)/src/inc/Machine.h \ 95 $($(_NS)_BASE)/src/inc/Main.h \ 96 $($(_NS)_BASE)/src/inc/NameTable.h \ 97 $($(_NS)_BASE)/src/inc/opcode_table.h \ 98 $($(_NS)_BASE)/src/inc/opcodes.h \ 99 $($(_NS)_BASE)/src/inc/Pass.h \ 100 $($(_NS)_BASE)/src/inc/Position.h \ 101 $($(_NS)_BASE)/src/inc/Rule.h \ 102 $($(_NS)_BASE)/src/inc/Segment.h \ 103 $($(_NS)_BASE)/src/inc/Silf.h \ 104 $($(_NS)_BASE)/src/inc/Slot.h \ 105 $($(_NS)_BASE)/src/inc/Sparse.h \ 106 $($(_NS)_BASE)/src/inc/TtfTypes.h \ 107 $($(_NS)_BASE)/src/inc/TtfUtil.h \ 108 $($(_NS)_BASE)/src/inc/UtfCodec.h 109 110 $(_NS)_PUBLIC_HEADERS = \ 111 $($(_NS)_BASE)/include/graphite2/Font.h \ 112 $($(_NS)_BASE)/include/graphite2/Log.h \ 113 $($(_NS)_BASE)/include/graphite2/Segment.h \ 114 $($(_NS)_BASE)/include/graphite2/Types.h