diff options
author | jin-eld <jin at mediatomb dot cc> | 2013-08-13 21:55:32 +0300 |
---|---|---|
committer | jin-eld <jin at mediatomb dot cc> | 2013-08-24 03:25:07 +0300 |
commit | 50c8a820e5ab46acc129a49ab849f8848e40d915 (patch) | |
tree | 4eb66794fd31fd96cf0ac0c6cbb01bca5e122283 /.gitignore | |
parent | e658892793c42b2d058eed0937025ef2ddaaa372 (diff) |
Implemented autotools based build scripts
supported options:
--with-dependency-search=DIR will tell configure to look for various
dependencies in DIR/include and DIR/lib
Alternatively you can also specify libsodium header and libs location
with --with-libsodium-headers and --with-libsodium-libs if it is
installed elsewhere.
Ncurses and libconfig are handled via the default pkg-config way, see
./configure --help=short for detailed information.
The tox library is compiled as libtoxcore in shared and static variants,
public headers are installed to ${prefix}/include/tox
A pkg-config libtoxcore.pc configuration file is provided.
Use ./configure --help for a full list of configure options or
./configure --help=short for the options that I added.
To generate the configure script after pulling from git use:
autoreconf -i
To generate a release tarball use:
make dist
Unit tests are handled by the libcheck library integration that is provided
by autotools, use:
make check
to compile and run the tests.
Unit tests are currently optional, i.e. - if the check library is not
found on the system, then tests will be disabled. Same goes for nTox and
DHT bootstrap daemon - they will be enabled or disabled depending on the
availability of ncurses (for nTox) or libconfig (for DHT bootstrap
daemon).
The above can be also tuned by:
--enable-tests / --disable-tests
--enable-ntox / --disable-ntox
--enable-dht-bootstrap-daemon / --disable-dht-bootstrap-daemon
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -2,7 +2,8 @@ | |||
2 | 2 | ||
3 | //nacl build | 3 | //nacl build |
4 | nacl/build/ | 4 | nacl/build/ |
5 | build | 5 | build/ |
6 | !build/Makefile.am | ||
6 | sodium | 7 | sodium |
7 | 8 | ||
8 | CMakeCache.txt | 9 | CMakeCache.txt |
@@ -22,11 +23,32 @@ tags | |||
22 | 23 | ||
23 | # Object files | 24 | # Object files |
24 | *.o | 25 | *.o |
26 | *.lo | ||
27 | *.a | ||
25 | 28 | ||
26 | # Executables | 29 | # Executables |
27 | *.exe | 30 | *.exe |
28 | *.out | 31 | *.out |
29 | *.app | 32 | *.app |
33 | *.swp | ||
34 | *.la | ||
35 | |||
36 | m4/* | ||
37 | !m4/pkg.m4 | ||
38 | configure | ||
39 | configure_aux | ||
40 | Makefile.in | ||
41 | aclocal.m4 | ||
42 | config.h* | ||
43 | config.log | ||
44 | config.status | ||
45 | stamp-h1 | ||
46 | autom4te.cache | ||
47 | libtoxcore.pc | ||
48 | libtool | ||
49 | |||
50 | .deps | ||
51 | .libs | ||
30 | 52 | ||
31 | #netbeans | 53 | #netbeans |
32 | nbproject | 54 | nbproject |