modules/freetype2/Jamrules

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/modules/freetype2/Jamrules	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,71 @@
     1.4 +# FreeType 2 JamRules.
     1.5 +#
     1.6 +# Copyright 2001, 2002, 2003 by
     1.7 +# David Turner, Robert Wilhelm, and Werner Lemberg.
     1.8 +#
     1.9 +# This file is part of the FreeType project, and may only be used, modified,
    1.10 +# and distributed under the terms of the FreeType project license,
    1.11 +# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
    1.12 +# indicate that you have read the license and understand and accept it
    1.13 +# fully.
    1.14 +
    1.15 +
    1.16 +# This file contains the Jam rules needed to build the FreeType 2 library.
    1.17 +# It is shared by all Jamfiles and is included only once in the build
    1.18 +# process.
    1.19 +#
    1.20 +
    1.21 +
    1.22 +# Call SubDirHdrs on a list of directories.
    1.23 +#
    1.24 +rule AddSubDirHdrs
    1.25 +{
    1.26 +  local x ;
    1.27 +
    1.28 +  for x in $(<)
    1.29 +  {
    1.30 +    SubDirHdrs $(x) ;
    1.31 +  }
    1.32 +}
    1.33 +
    1.34 +
    1.35 +# Determine prefix of library file.  We must use "libxxxxx" on Unix systems,
    1.36 +# while all other simply use the real name.
    1.37 +#
    1.38 +if $(UNIX)
    1.39 +{
    1.40 +  LIBPREFIX ?= lib ;
    1.41 +}
    1.42 +else
    1.43 +{
    1.44 +  LIBPREFIX ?= "" ;
    1.45 +}
    1.46 +
    1.47 +# FT2_TOP contains the location of the FreeType source directory.  You can
    1.48 +# set it to a specific value if you want to compile the library as part of a
    1.49 +# larger project.
    1.50 +#
    1.51 +FT2_TOP ?= $(DOT) ;
    1.52 +
    1.53 +# Define a new rule used to declare a sub directory of the Nirvana source
    1.54 +# tree.
    1.55 +#
    1.56 +rule FT2_SubDir
    1.57 +{
    1.58 +  if $(FT2_TOP) = $(DOT)
    1.59 +  {
    1.60 +    return [ FDirName  $(<) ] ;
    1.61 +  }
    1.62 +  else
    1.63 +  {
    1.64 +    return [ FDirName  $(FT2_TOP) $(<) ] ;
    1.65 +  }
    1.66 +}
    1.67 +
    1.68 +# We also set ALL_LOCATE_TARGET in order to place all object and library
    1.69 +# files in "objs".
    1.70 +#
    1.71 +ALL_LOCATE_TARGET ?= [ FT2_SubDir  objs ] ;
    1.72 +
    1.73 +
    1.74 +# end of Jamrules

mercurial