~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/Jamrules

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# FreeType 2 JamRules (c) 2001, 2002, 2003 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