aboutsummaryrefslogtreecommitdiff
path: root/README
blob: fbdb4dea3a6664aa1061362cec6073c049f5951b (plain)
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
63
64
65
66
67
68
This archive contains pre-configured libcutl source code with all its 
dependencies. It allows you to built libcutl in non-interactive mode
(that is, without answering any questions).

GNU make 3.81 or later is required to build libcutl. Any fairly recent 
GNU/Linux distribution should have it already installed (use 
make --version to check).

The build system supports the following standard variables:

CXX        (defaults to g++ if not set)
CPPFLAGS
CXXFLAGS
LDFALGS
LIBS

For example:

$ make CXX=g++-4.2 CXXFLAGS=-O3

After the build, libcutl.so be found in the libcutl/cutl/ directory.

If you would like to see the full compiler/linker/etc., command lines,
you can add verbose=1 to the command line, for example:

$ make verbose=1

To build and run automated tests for libcutl as well as all the 
dependencies, run:

$ make test

To clean the object files, libraries, executable, etc., run:

$ make clean

To install the libcutl library, header files, and documentation use the
install target, for example:

$ make install_prefix=/usr install

You can fine-tune the installation locations with the following make
variables:

install_prefix       default is /usr/local
install_data_prefix  default is install_prefix
install_exec_prefix  default is install_prefix

install_bin_dir      default is install_exec_prefix/bin
install_sbin_dir     default is install_exec_prefix/sbin
install_lib_dir      default is install_exec_prefix/lib

install_data_dir     default is install_data_prefix/share
install_inc_dir      default is install_data_prefix/include

install_doc_dir      default is install_data_dir/doc
install_man_dir      default is install_data_dir/man
install_info_dir     default is install_data_dir/info

You can also run make from various sub-directories in this package. For
example, to build and run automated tests only for libcutl, you can do
the following:

$ cd libcutl/tests
$ make test

Send questions, bug reports, or any other feedback to 
boris@codesynthesis.com.