diff options
-rw-r--r-- | src/jalv.c | 6 | ||||
-rw-r--r-- | wscript | 5 |
2 files changed, 6 insertions, 5 deletions
@@ -23,6 +23,9 @@ #include <stdlib.h> #include <string.h> +#include "jalv_internal.h" +#include "jalv-config.h" + #include <jack/jack.h> #include <jack/midiport.h> #ifdef JALV_JACK_SESSION @@ -37,9 +40,6 @@ #include "suil/suil.h" -#include "jalv_internal.h" -#include "jalv-config.h" - sem_t exit_sem; /**< Exit semaphore */ #define MIDI_BUFFER_SIZE 1024 @@ -64,13 +64,12 @@ def configure(conf): def build(bld): libs = 'LILV SUIL JACK' - if bld.is_defined('JALV_JACK_SESSION'): - libs += ' GLIB GTHREAD' # Non-GUI version obj = bld(features = 'c cprogram', source = 'src/jalv.c src/symap.c src/jalv_console.c', target = 'jalv', + includes = ['.'], install_path = '${BINDIR}') autowaf.use_lib(bld, obj, libs) @@ -79,6 +78,7 @@ def build(bld): obj = bld(features = 'c cprogram', source = 'src/jalv.c src/symap.c src/jalv_gtk2.c', target = 'jalv.gtk', + includes = ['.'], install_path = '${BINDIR}') autowaf.use_lib(bld, obj, libs + ' GTK2') @@ -87,6 +87,7 @@ def build(bld): obj = bld(features = 'c cxx cxxprogram', source = 'src/jalv.c src/symap.c src/jalv_qt4.cpp', target = 'jalv.qt', + includes = ['.'], install_path = '${BINDIR}') autowaf.use_lib(bld, obj, libs + ' QT4') |