README
1
2Templates_Parser
3----------------
4
5Some make variables can be adjusted to change the default setup:
6
7 DEFAULT_LIBRARY_TYPE=[static|relocatable]
8 (default is static)
9
10 prefix=<install directory>
11 (default to compiler root directory)
12
13 ENABLE_STATIC=[true|false]
14 (default true)
15
16 ENABLE_SHARED=[true|false]
17 (default yes on platforms supporting shared libraries)
18
19 DEBUG=[true|false]
20 (default false)
21
22 PROCESSORS=N
23 Number of parallel compilations
24 (default 2)
25
26To build both the static and shared version (if supported) using the
27default setup:
28
29 $ make
30
31To setup the default library as relocatable and change the installation
32directory:
33
34 $ make DEFAULT_LIBRARY_TYPE=relocatable prefix=/opt/templates_parser setup
35 $ make
36
37To install:
38
39 $ make install
40
41Note that the installation will be done into your current GNAT root
42directory by default. It is possible to change this default by setting the
43prefix make variable, for example:
44
45 $ make prefix=/opt/templates_parser install
46
47or using the setup step:
48
49 $ make prefix=/opt/templates_parser setup
50 $ make && make install
51