Revision 17198,
1.1 KB
checked in by ghudson, 23 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r17197,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
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 | # Determine prefix of library file. We must use "libxxxxx" on Unix systems, |
---|
10 | # while all other simply use the real name. |
---|
11 | # |
---|
12 | if $(UNIX) |
---|
13 | { |
---|
14 | LIBPREFIX ?= lib ; |
---|
15 | } |
---|
16 | else |
---|
17 | { |
---|
18 | LIBPREFIX ?= "" ; |
---|
19 | } |
---|
20 | |
---|
21 | # FT2_TOP contains the location of the FreeType source directory. You can |
---|
22 | # set it to a specific value if you want to compile the library as part of a |
---|
23 | # larger project. |
---|
24 | # |
---|
25 | FT2_TOP ?= $(DOT) ; |
---|
26 | |
---|
27 | # Define a new rule used to declare a sub directory of the Nirvana source |
---|
28 | # tree. |
---|
29 | # |
---|
30 | rule FT2_SubDir |
---|
31 | { |
---|
32 | if $(FT2_TOP) = $(DOT) |
---|
33 | { |
---|
34 | return [ FDirName $(<) ] ; |
---|
35 | } |
---|
36 | else |
---|
37 | { |
---|
38 | return [ FDirName $(FT2_TOP) $(<) ] ; |
---|
39 | } |
---|
40 | } |
---|
41 | |
---|
42 | # The directory "include" must be in the current include path when compiling |
---|
43 | # any part of FreeType. We thus update the HDRS variable there. |
---|
44 | # |
---|
45 | HDRS += [ FT2_SubDir include ] ; |
---|
46 | |
---|
47 | # We also set ALL_LOCATE_TARGET in order to place all object and library |
---|
48 | # files in "objs". |
---|
49 | # |
---|
50 | ALL_LOCATE_TARGET ?= [ FT2_SubDir objs ] ; |
---|
51 | |
---|
52 | |
---|
53 | # end of Jamrules |
---|
Note: See
TracBrowser
for help on using the repository browser.