aboutsummaryrefslogtreecommitdiffstats
path: root/fastlib/INSTALL
blob: 501c4adf5502715dba652998229779ac7f40bc51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
**********************************************************************
**               FastLib Build and Installation Guide               **
**********************************************************************


----------------------------------------------------------------------

How do I build and install the C++ library?

  cd src/cpp
  ./configure --fastos-dir <full path to fastos> [--help | <options>]
  make -s bootstrap
  make -s install

The default install directory is '../..' (relative to the src/cpp
directory). This means that the library file will be installed in
../../lib/ and the include files in ../../include/fastlib/.
To override the default install directory, use the configure option
'--install-dir'. Try './configure --fastos-dir <fastosdir> --help'
for all available options.

Support for additional functionality is available when configuring
with --libxml2-dir <full path to libxml2>.
The XML include files must have been installed in
<libxml2-dir>/includes/libxml2/libxml
The XML library must have been installed as
<libxml2-dir>/lib/libxml2.a (or xml2.a on Windows)


----------------------------------------------------------------------

What kind of make targets are available, and what do they do?

make depend              - generate make-dependancy information
make makefiles           - generate makefiles for all modules
make clean               - delete all intermediate and output files
make cleandir            - does 'make clean' + deletes depend info
make install             - install the library and include files
                           to location $(INSTALLDIR)
make kdoc                - generate kdoc documentation
make doxygen             - generate doxygen documentation
make bootstrap           - (recommended build target) does:
                                 make cleandir
                                 make depend
                                 make makefiles
                                 make
make tests               - Compiles test programs, and runs them.
                           If a test program fails to compile or run,
                           the make process is stopped.
                           Please run 'make tests' after changing fastlib code
                           to ensure you have not broken anything.

----------------------------------------------------------------------