437aa3d81070d545fbd43c5eedf7db3a04e0d9f1
[senf.git] / debian / README.Debian
1
2 Th SENF debian distribution consists of the following packages:
3
4   libsenf       non-debug static library   /usr/lib/libsenf.a 
5                                            /usr/lib/senf-packets/
6
7   libsenf-dbg   debug static library       /usr/lib/libsenf_g.a
8                                            /usr/lib/debug/senf-packets/
9
10   libsenf-dev   include files              /usr/include/senf
11
12   libsenf-doc   documentation              /usr/share/doc/libsenf-doc/
13
14
15 So to develop using SENF, you will need 'libsenf-dev' and one of
16 'libsenf' or 'libsenf-dbg' however, you will probably want to install
17 both, 'libsenf' and 'libsenf-dbg'.
18
19 To compile an application against the debug library, just link against
20 the libsenf_g.a library.
21
22 To compile an application against the non-debug library, link against
23 libsenf.a AND ENSURE, THE PREPROCESSOR SYMBOL 'SENF_NO_DEBUG' IS
24 DEFINED in your build, best by adding '-DSENF_NO_DEBUG' to CPPFLAGS.
25
26 Lets repeat that:
27
28   VERY IMPORTANT: When building against libsenf.a, you MUST define
29   SENF_NO_DEBUG. Don't say, you haven't been warned ...
30