start service tasks separately in-case platforms need to perform additional set-up...
[AROS.git] / workbench / libs / freetype / Jamrules
blobd8d1c7e617b66e6cc25101fbaede609cc08d9629
1 # FreeType 2 JamRules.
3 # Copyright 2001, 2002, 2003 by
4 # David Turner, Robert Wilhelm, and Werner Lemberg.
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.
13 # This file contains the Jam rules needed to build the FreeType 2 library.
14 # It is shared by all Jamfiles and is included only once in the build
15 # process.
19 # Call SubDirHdrs on a list of directories.
21 rule AddSubDirHdrs
23   local x ;
25   for x in $(<)
26   {
27     SubDirHdrs $(x) ;
28   }
32 # Determine prefix of library file.  We must use "libxxxxx" on Unix systems,
33 # while all other simply use the real name.
35 if $(UNIX)
37   LIBPREFIX ?= lib ;
39 else
41   LIBPREFIX ?= "" ;
44 # FT2_TOP contains the location of the FreeType source directory.  You can
45 # set it to a specific value if you want to compile the library as part of a
46 # larger project.
48 FT2_TOP ?= $(DOT) ;
50 # Define a new rule used to declare a sub directory of the Nirvana source
51 # tree.
53 rule FT2_SubDir
55   if $(FT2_TOP) = $(DOT)
56   {
57     return [ FDirName  $(<) ] ;
58   }
59   else
60   {
61     return [ FDirName  $(FT2_TOP) $(<) ] ;
62   }
65 # We also set ALL_LOCATE_TARGET in order to place all object and library
66 # files in "objs".
68 ALL_LOCATE_TARGET ?= [ FT2_SubDir  objs ] ;
71 # end of Jamrules