Matt Fischer
c18d0444b5
Add support for QCC compiler
This patch adds a small waf tool to add support for the QCC compiler,
which has a somewhat different command line syntax from GCC. It also
fixes some small C++ issues which arise when trying to compile with the
QCC C++ library.
Change-Id: Id6ee4284095198bff206e45aa0e9a5fa5a2f8b74
10 years ago
Matt Fischer
4ce2c37bb0
Add systemd support
This patch adds optional support for systemd, by adding use of the
sd_notify() function to allow jackd to report when the daemon has
started and stopped. This is similar to the Apple notification
support which is already present.
10 years ago
Matt Fischer
1af2252bff
More QNX build fixes
This patch adds a missing case to the tests wscript, to handle the QNX
platform. It also adds code to the setup for the various directory
macros, to handle the case when the build is taking place on Windows,
to ensure that the directory paths still come across in POSIX format.
Change-Id: If8054284d390e40c97c8c585af2851e94275aad8
10 years ago
Andrew Cooper
29fd3ad250
Add QNX io-audio driver
Adds a driver for QNX io-audio system that acts as a JACK client.
10 years ago
Andrew Cooper
7978a9e18a
Add Basic QNX support
Adds enough support and platform-specific files to get JACK building
on QNX SDP 6.6.0. This does not include any integration with the QNX
audio system, io-audio.
10 years ago
Karl Lindén
cc6f7c438d
update to waf 1.8.9 (it is now stored in source form to ease downstream maintainence)
10 years ago
Karl Lindén
adae4b538e
replace deprecated bld.add_subdirs with bld.recurse
10 years ago
Karl Lindén
eccfdb908d
replace compiler_cc with compiler_c since the former is just an alias for the latter
10 years ago
Karl Lindén
731d5759e9
replace calls to deprecated opt.tool_options with opt.load
10 years ago
Karl Lindén
d6b0620188
replace deprecated call to opt.sub_options with opt.recurse
10 years ago
Karl Lindén
bf3a21ef2a
drop calls to deprecated conf.check_tool since they have been replaced with conf.load
10 years ago
Karl Lindén
a7936d51de
replace calls to conf.sub_config with calls to conf.recurse
10 years ago
Karl Lindén
4a1934cb13
explicitly import Logs, Options, Task and Utils from waflib
10 years ago
Karl Lindén
11ee46fbbd
use Options instead of waflib.Options
10 years ago
Karl Lindén
d2c85fab0d
catch IOError instead of FileNotFoundError to not break compilation on python2
10 years ago
Karl Lindén
5db744029a
let svnversion_regenerate.sh be a source to svnversion.h to make the waf output
look prettier
10 years ago
Karl Lindén
28fe48cd1a
generate svnversion.h before building cxx objects (so that also cxx sources can
use the header)
10 years ago
Karl Lindén
dd934f8f86
do not hardcode path to svnversion_regenerate.sh, but instead use find_resource
(fixes builds with nonstandard out directory)
10 years ago
Karl Lindén
1e096d2052
inline create_svnversion_task as it is called only once
10 years ago
Karl Lindén
9cbc7901e0
move the svnversion.h handling in build function
10 years ago
Karl Lindén
7f36813c55
fix configuration when svnversion.h exists in source directory
10 years ago
Karl Lindén
0dcd1ce2d9
fix svnversion.h generation upon dist
10 years ago
Karl Lindén
7b824ef68b
document global auto option related funtions with comments rather than docstrings so that ./waf --help is not polluted with internal documentation
10 years ago
Tim Mayberry
4a6f026c93
Fix check for mmsystem.h when building with --winmme option
The mmsystem.h header check didn't include windows.h so check fails even though mmsystem.h was present.
10 years ago
Karl Lindén
e869769b3c
add the --htmldir option and install HTML docs into it if given
10 years ago
Karl Lindén
aa118070e4
fix uninstall with doxygen by moving definition of share_dir and html_install_dir
10 years ago
Karl Lindén
ad5d803a2c
do not hardcode version in doxyfile.in, subst it from waf instead
10 years ago
Karl Lindén
66c37eb9f2
fix install with doxygen by generating doxyfile from doxyfile.in and letting waf do most of the process
10 years ago
Karl Lindén
5f85e9731d
rename the html_source_dir variable to html_build_dir (the directory contains built files, not sources)
10 years ago
Karl Lindén
55ccbaf5c2
rename html_docs_*_dir variables to the shorter and unambiguous html_*_dir
10 years ago
Karl Lindén
9b2ad3b05d
add a custom check for readline/readline.h that works around the header's stdio.h dependeny
10 years ago
Karl Lindén
5a59aef94c
add the --readline auto option
10 years ago
Karl Lindén
bac7cc775d
add the --sndfile auto option and check sndfile availability with env['SNDFILE'] instead of is_defined('HAVE_SNDFILE')
10 years ago
Karl Lindén
7a5793d9e4
add the --samplerate auto option and use pkg-config to find samplerate
(the AutoOption class takes care of defining env['SAMPLERATE'] and HAVE_SAMPLERATE)
10 years ago
Karl Lindén
94efc64f20
use conf.env['SAMPLERATE'] to determine wether samplerate is available instead of conf.is_defined('HAVE_SAMPLERATE')
10 years ago
Karl Lindén
ad24b255be
move check for samplerate.h to before conf.sub_config('common') and remove the duplicate check in common
10 years ago
Karl Lindén
7f2bc7f037
add the --opus auto option
10 years ago
Karl Lindén
170c0d5f39
add the --celt auto option and rewrite the celt check using a smaller loop
(drop conf.define('HAVE_CELT', ...) since the AutoOption class handles this)
10 years ago
Karl Lindén
b0c4633a75
make build option --winmme an auto option and use mmsystem.h and windows.h to check if winmme can be built
10 years ago
Karl Lindén
fcec68f903
make build option --portaudio an auto option
10 years ago
Karl Lindén
b77fa414f5
make build option --iio an auto option
10 years ago
Karl Lindén
5586a5b88d
make build option --freebob an auto option
10 years ago
Karl Lindén
1b27e13418
make build option --firewire an auto option
10 years ago
Karl Lindén
97499df9c0
make build option --alsa an auto option
10 years ago
Karl Lindén
61421de456
fix a typo in _configure_error in the AutoOption class
10 years ago
Karl Lindén
b8b68cadad
do not share the private AutoOption lists and results between different instances of the class
10 years ago
Karl Lindén
bcc742b6b1
respect the DOXYGEN environment variable when building docs
10 years ago
Karl Lindén
a31f352e61
make the --doxygen option an auto option
10 years ago
Karl Lindén
e4006fba40
in the AutoOption class, make the set_check_hook documentation string more precise
10 years ago
Karl Lindén
f98fdba3d9
rename the check_hook function to set_check_hook in the AutoOption class to prevent name clash
10 years ago