michael@0: # GRAPHITE2 LICENSING michael@0: # michael@0: # Copyright 2011, SIL International michael@0: # All rights reserved. michael@0: # michael@0: # This library is free software; you can redistribute it and/or modify michael@0: # it under the terms of the GNU Lesser General Public License as published michael@0: # by the Free Software Foundation; either version 2.1 of License, or michael@0: # (at your option) any later version. michael@0: # michael@0: # This program is distributed in the hope that it will be useful, michael@0: # but WITHOUT ANY WARRANTY; without even the implied warranty of michael@0: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU michael@0: # Lesser General Public License for more details. michael@0: # michael@0: # You should also have received a copy of the GNU Lesser General Public michael@0: # License along with this library in the file named "LICENSE". michael@0: # If not, write to the Free Software Foundation, 51 Franklin Street, michael@0: # Suite 500, Boston, MA 02110-1335, USA or visit their web page on the michael@0: # internet at http://www.fsf.org/licenses/lgpl.html. michael@0: # michael@0: # Alternatively, the contents of this file may be used under the terms of the michael@0: # Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public michael@0: # License, as published by the Free Software Foundation, either version 2 michael@0: # of the License or (at your option) any later version. michael@0: michael@0: # Makefile helper file for those wanting to build Graphite2 using make michael@0: # The including makefile should set the following variables michael@0: # _NS Prefix to all variables this file creates (namespace) michael@0: # $(_NS)_MACHINE Set to direct or call. Set to direct if using gcc else michael@0: # set to call michael@0: # $(_NS)_BASE path to root of graphite2 project michael@0: # michael@0: # Returns: michael@0: # $(_NS)_SOURCES List of source files (with .cpp extension) michael@0: # $(_NS)_PRIVATE_HEADERS List of private header files (with .h extension) michael@0: # $(_NS)_PUBLIC_HEADERS List of public header files (with .h extension) michael@0: michael@0: michael@0: $(_NS)_SOURCES = \ michael@0: $($(_NS)_BASE)/src/$($(_NS)_MACHINE)_machine.cpp \ michael@0: $($(_NS)_BASE)/src/gr_char_info.cpp \ michael@0: $($(_NS)_BASE)/src/gr_face.cpp \ michael@0: $($(_NS)_BASE)/src/gr_features.cpp \ michael@0: $($(_NS)_BASE)/src/gr_font.cpp \ michael@0: $($(_NS)_BASE)/src/gr_logging.cpp \ michael@0: $($(_NS)_BASE)/src/gr_segment.cpp \ michael@0: $($(_NS)_BASE)/src/gr_slot.cpp \ michael@0: $($(_NS)_BASE)/src/json.cpp \ michael@0: $($(_NS)_BASE)/src/Bidi.cpp \ michael@0: $($(_NS)_BASE)/src/CachedFace.cpp \ michael@0: $($(_NS)_BASE)/src/CmapCache.cpp \ michael@0: $($(_NS)_BASE)/src/Code.cpp \ michael@0: $($(_NS)_BASE)/src/Face.cpp \ michael@0: $($(_NS)_BASE)/src/FeatureMap.cpp \ michael@0: $($(_NS)_BASE)/src/FileFace.cpp \ michael@0: $($(_NS)_BASE)/src/Font.cpp \ michael@0: $($(_NS)_BASE)/src/GlyphCache.cpp \ michael@0: $($(_NS)_BASE)/src/GlyphFace.cpp \ michael@0: $($(_NS)_BASE)/src/Justifier.cpp \ michael@0: $($(_NS)_BASE)/src/NameTable.cpp \ michael@0: $($(_NS)_BASE)/src/Pass.cpp \ michael@0: $($(_NS)_BASE)/src/SegCache.cpp \ michael@0: $($(_NS)_BASE)/src/SegCacheEntry.cpp \ michael@0: $($(_NS)_BASE)/src/SegCacheStore.cpp \ michael@0: $($(_NS)_BASE)/src/Segment.cpp \ michael@0: $($(_NS)_BASE)/src/Silf.cpp \ michael@0: $($(_NS)_BASE)/src/Slot.cpp \ michael@0: $($(_NS)_BASE)/src/Sparse.cpp \ michael@0: $($(_NS)_BASE)/src/TtfUtil.cpp \ michael@0: $($(_NS)_BASE)/src/UtfCodec.cpp michael@0: michael@0: $(_NS)_PRIVATE_HEADERS = \ michael@0: $($(_NS)_BASE)/src/inc/bits.h \ michael@0: $($(_NS)_BASE)/src/inc/debug.h \ michael@0: $($(_NS)_BASE)/src/inc/json.h \ michael@0: $($(_NS)_BASE)/src/inc/CachedFace.h \ michael@0: $($(_NS)_BASE)/src/inc/CharInfo.h \ michael@0: $($(_NS)_BASE)/src/inc/CmapCache.h \ michael@0: $($(_NS)_BASE)/src/inc/Code.h \ michael@0: $($(_NS)_BASE)/src/inc/Endian.h \ michael@0: $($(_NS)_BASE)/src/inc/Error.h \ michael@0: $($(_NS)_BASE)/src/inc/Face.h \ michael@0: $($(_NS)_BASE)/src/inc/FeatureMap.h \ michael@0: $($(_NS)_BASE)/src/inc/FeatureVal.h \ michael@0: $($(_NS)_BASE)/src/inc/FileFace.h \ michael@0: $($(_NS)_BASE)/src/inc/Font.h \ michael@0: $($(_NS)_BASE)/src/inc/GlyphCache.h \ michael@0: $($(_NS)_BASE)/src/inc/GlyphFace.h \ michael@0: $($(_NS)_BASE)/src/inc/List.h \ michael@0: $($(_NS)_BASE)/src/inc/locale2lcid.h \ michael@0: $($(_NS)_BASE)/src/inc/Machine.h \ michael@0: $($(_NS)_BASE)/src/inc/Main.h \ michael@0: $($(_NS)_BASE)/src/inc/NameTable.h \ michael@0: $($(_NS)_BASE)/src/inc/opcode_table.h \ michael@0: $($(_NS)_BASE)/src/inc/opcodes.h \ michael@0: $($(_NS)_BASE)/src/inc/Pass.h \ michael@0: $($(_NS)_BASE)/src/inc/Position.h \ michael@0: $($(_NS)_BASE)/src/inc/Rule.h \ michael@0: $($(_NS)_BASE)/src/inc/SegCache.h \ michael@0: $($(_NS)_BASE)/src/inc/SegCacheEntry.h \ michael@0: $($(_NS)_BASE)/src/inc/SegCacheStore.h \ michael@0: $($(_NS)_BASE)/src/inc/Segment.h \ michael@0: $($(_NS)_BASE)/src/inc/Silf.h \ michael@0: $($(_NS)_BASE)/src/inc/Slot.h \ michael@0: $($(_NS)_BASE)/src/inc/Sparse.h \ michael@0: $($(_NS)_BASE)/src/inc/TtfTypes.h \ michael@0: $($(_NS)_BASE)/src/inc/TtfUtil.h \ michael@0: $($(_NS)_BASE)/src/inc/UtfCodec.h michael@0: michael@0: $(_NS)_PUBLIC_HEADERS = \ michael@0: $($(_NS)_BASE)/include/graphite2/Font.h \ michael@0: $($(_NS)_BASE)/include/graphite2/Log.h \ michael@0: $($(_NS)_BASE)/include/graphite2/Segment.h \ michael@0: $($(_NS)_BASE)/include/graphite2/Types.h michael@0: