1# FreeType 2 src/base Jamfile 2# 3# Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by 4# David Turner, Robert Wilhelm, and Werner Lemberg. 5# 6# This file is part of the FreeType project, and may only be used, modified, 7# and distributed under the terms of the FreeType project license, 8# LICENSE.TXT. By continuing to use, modify, or distribute this file you 9# indicate that you have read the license and understand and accept it 10# fully. 11 12SubDir FT2_TOP $(FT2_SRC_DIR) base ; 13 14 15{ 16 local _sources ; 17 18 if $(FT2_MULTI) 19 { 20 _sources = ftadvanc ftcalc ftdbgmem ftgloadr 21 ftobjs ftoutln ftrfork ftsnames 22 ftstream fttrigon ftutil 23 basepic ftpic 24 ; 25 } 26 else 27 { 28 _sources = ftbase ; 29 } 30 31 Library $(FT2_LIB) : $(_sources).c ; 32} 33 34# Add the optional/replaceable files. 35# 36{ 37 local _sources = bbox bdf bitmap debug gasp 38 glyph gxval init lcdfil mm 39 otval pfr stroke synth system 40 type1 winfnt xf86 patent 41 ; 42 43 Library $(FT2_LIB) : ft$(_sources).c ; 44} 45 46# Add Macintosh-specific file to the library when necessary. 47# 48if $(MAC) 49{ 50 Library $(FT2_LIB) : ftmac.c ; 51} 52else if $(OS) = MACOSX 53{ 54 if $(FT2_MULTI) 55 { 56 Library $(FT2_LIB) : ftmac.c ; 57 } 58} 59 60# end of src/base Jamfile 61