11 |
1. Install GNU Make |
1. Install GNU Make |
12 |
------------------- |
------------------- |
13 |
|
|
14 |
Because GNU Make is the only Make tool supported to compile |
Because GNU Make is the only Make tool supported to compile FreeType |
15 |
FreeType 2, you should install it on your machine. |
2, you should install it on your machine. |
16 |
|
|
17 |
The FreeType 2 build system relies on many features special to GNU |
The FreeType 2 build system relies on many features special to GNU |
18 |
Make -- trying to build the library with any other Make tool will |
Make. |
|
*fail*. |
|
19 |
|
|
20 |
NEARLY ALL OTHER MAKE TOOLS WILL FAIL, INCLUDING "BSD MAKE", SO |
NEARLY ALL OTHER MAKE TOOLS FAIL, INCLUDING `BSD MAKE', SO REALLY |
21 |
REALLY INSTALL A RECENT VERSION OF GNU MAKE ON YOUR SYSTEM! |
INSTALL A RECENT VERSION OF GNU MAKE ON YOUR SYSTEM! |
22 |
|
|
23 |
Note that make++, a make tool written in Perl, supports enough |
Note that make++, a make tool written in Perl, supports enough |
24 |
features of GNU make to compile FreeType. See |
features of GNU make to compile FreeType. See |
25 |
http://makepp.sourceforge.net for more information; you need version |
|
26 |
1.19 or newer, and you must pass option `--norc-substitution'. |
http://makepp.sourceforge.net |
27 |
|
|
28 |
|
for more information; you need version 1.19 or newer, and you must |
29 |
|
pass option `--norc-substitution'. |
30 |
|
|
31 |
Make sure that you are invoking GNU Make from the command line, by |
Make sure that you are invoking GNU Make from the command line, by |
32 |
typing something like: |
typing something like: |
38 |
VERSION 3.78.1 OR NEWER IS NEEDED! |
VERSION 3.78.1 OR NEWER IS NEEDED! |
39 |
|
|
40 |
|
|
41 |
2. Invoke 'make' |
2. Invoke `make' |
42 |
---------------- |
---------------- |
43 |
|
|
44 |
Go to the root directory of FreeType 2, then simply invoke GNU Make |
Go to the root directory of FreeType 2, then simply invoke GNU Make |
61 |
remove the file 'config.mk' from this directory then read the |
remove the file 'config.mk' from this directory then read the |
62 |
INSTALL file for help. |
INSTALL file for help. |
63 |
|
|
64 |
Otherwise, simply type 'make' again to build the library. |
Otherwise, simply type 'make' again to build the library |
65 |
|
or 'make refdoc' to build the API reference (the latter needs |
66 |
|
python). |
67 |
============================================================= |
============================================================= |
68 |
|
|
69 |
|
|
70 |
If the detected settings correspond to your platform and compiler, |
If the detected settings correspond to your platform and compiler, |
71 |
skip to step 5. Note that if your platform is completely alien to |
skip to step 5. Note that if your platform is completely alien to |
72 |
the build system, the detected platform will be 'ansi'. |
the build system, the detected platform will be `ansi'. |
73 |
|
|
74 |
|
|
75 |
3. Configure the build system for a different compiler |
3. Configure the build system for a different compiler |
94 |
|
|
95 |
The <compiler> name to use is platform-dependent. The list of |
The <compiler> name to use is platform-dependent. The list of |
96 |
available compilers for your system is available in the file |
available compilers for your system is available in the file |
97 |
`builds/<system>/detect.mk' |
`builds/<system>/detect.mk'. |
98 |
|
|
99 |
If you are satisfied by the new configuration summary, skip to |
If you are satisfied by the new configuration summary, skip to |
100 |
step 5. |
step 5. |
101 |
|
|
102 |
|
|
135 |
Final note |
Final note |
136 |
|
|
137 |
The build system builds a statically linked library of the font |
The build system builds a statically linked library of the font |
138 |
engine in the "objs" directory. It does _not_ support the build of |
engine in the `objs' directory. It does _not_ support the build of |
139 |
DLLs on Windows and OS/2. If you need these, you have to either use |
DLLs on Windows and OS/2. If you need these, you have to either use |
140 |
a IDE-specific project file, or follow the instructions in |
an IDE-specific project file, or follow the instructions in |
141 |
"INSTALL.ANY" to create your own Makefiles. |
`INSTALL.ANY' to create your own Makefiles. |
142 |
|
|
143 |
------------------------------------------------------------------------ |
------------------------------------------------------------------------ |
144 |
|
|
145 |
Copyright 2003, 2004 by |
Copyright 2003, 2004, 2005 by |
146 |
David Turner, Robert Wilhelm, and Werner Lemberg. |
David Turner, Robert Wilhelm, and Werner Lemberg. |
147 |
|
|
148 |
This file is part of the FreeType project, and may only be used, |
This file is part of the FreeType project, and may only be used, |
149 |
modified, and distributed under the terms of the FreeType project |
modified, and distributed under the terms of the FreeType project |
150 |
license, LICENSE.TXT. By continuing to use, modify, or distribute this |
license, LICENSE.TXT. By continuing to use, modify, or distribute this |
151 |
file you indicate that you have read the license and understand and |
file you indicate that you have read the license and understand and |
152 |
accept it fully. |
accept it fully. |
153 |
|
|
154 |
|
|