+FSCTL_DISMOUNT_VOLUME define
[reactos.git] / lib / freetype / Jamrules
1 # FreeType 2 JamRules (c) 2001 David Turner
2 #
3 # This file contains the Jam rules needed to build the FreeType 2 library.
4 # It is shared by all Jamfiles and is included only once in the build
5 # process.
6 #
7
8
9 # call SubDirHdrs on a list of directories
10 #
11 rule AddSubDirHdrs
12 {
13   local x ;
14
15   for x in $(<)
16   {
17     SubDirHdrs $(x) ;
18   }
19 }
20
21
22 # Determine prefix of library file.  We must use "libxxxxx" on Unix systems,
23 # while all other simply use the real name.
24 #
25 if $(UNIX)
26 {
27   LIBPREFIX ?= lib ;
28 }
29 else
30 {
31   LIBPREFIX ?= "" ;
32 }
33
34 # FT2_TOP contains the location of the FreeType source directory.  You can
35 # set it to a specific value if you want to compile the library as part of a
36 # larger project.
37 #
38 FT2_TOP ?= $(DOT) ;
39
40 # Define a new rule used to declare a sub directory of the Nirvana source
41 # tree.
42 #
43 rule FT2_SubDir
44 {
45   if $(FT2_TOP) = $(DOT)
46   {
47     return [ FDirName  $(<) ] ;
48   }
49   else
50   {
51     return [ FDirName  $(FT2_TOP) $(<) ] ;
52   }
53 }
54
55 # We also set ALL_LOCATE_TARGET in order to place all object and library
56 # files in "objs".
57 #
58 ALL_LOCATE_TARGET ?= [ FT2_SubDir  objs ] ;
59
60
61 # end of Jamrules