summaryrefslogtreecommitdiffstats
path: root/examples/hosts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-12 20:20:32 +0000
committerDavid Robillard <d@drobilla.net>2007-01-12 20:20:32 +0000
commit9f8222447d8d5d60799eb9182bdf727747cfafd9 (patch)
tree61e2e35c2417bff8c5f17e1935d9c05a960ff2ab /examples/hosts
parentcd88e6750d837f8f7aa2b7f3ca54e929172fbbef (diff)
downloadlilv-9f8222447d8d5d60799eb9182bdf727747cfafd9.tar.gz
lilv-9f8222447d8d5d60799eb9182bdf727747cfafd9.tar.bz2
lilv-9f8222447d8d5d60799eb9182bdf727747cfafd9.zip
Fixed build errors
git-svn-id: http://svn.drobilla.net/lad/slv2@255 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'examples/hosts')
-rw-r--r--examples/hosts/Makefile.am16
1 files changed, 9 insertions, 7 deletions
diff --git a/examples/hosts/Makefile.am b/examples/hosts/Makefile.am
index a5ffd44..f483161 100644
--- a/examples/hosts/Makefile.am
+++ b/examples/hosts/Makefile.am
@@ -1,7 +1,10 @@
-AM_CFLAGS = -std=c99 -I. -I$(top_srcdir)/include -I$(top_srcdir) `pkg-config --cflags rasqal`
-AM_LDFLAGS = `pkg-config --libs rasqal`
+AM_CFLAGS = -std=c99 -I$(top_srcdir) @RASQAL_CFLAGS@
-bin_PROGRAMS = slv2_test_host slv2_simple_jack_host slv2_host
+bin_PROGRAMS = slv2_test_host
+
+if WITH_JACK
+bin_PROGRAMS += slv2_simple_jack_host slv2_host
+endif
slv2_test_host_DEPENDENCIES = ../../src/libslv2.la
slv2_test_host_LDADD = ../../src/libslv2.la
@@ -13,20 +16,19 @@ slv2_test_host_SOURCES = \
if WITH_JACK
slv2_simple_jack_host_CFLAGS = @JACK_CFLAGS@ $(AM_CFLAGS)
-#simple_jack_host_LIBS = @JACK_LIBS@
slv2_simple_jack_host_DEPENDENCIES = ../../src/libslv2.la
-slv2_simple_jack_host_LDADD = ../../src/libslv2.la @JACK_LIBS@
+slv2_simple_jack_host_LDADD = ../../src/libslv2.la @JACK_LIBS@ @RASQAL_LIBS@
slv2_simple_jack_host_SOURCES = \
simple_jack_host.c
slv2_host_CFLAGS = @JACK_CFLAGS@ $(AM_CFLAGS)
-#host_LIBS = @JACK_LIBS@
+
slv2_host_DEPENDENCIES = ../../src/libslv2.la
-slv2_host_LDADD = ../../src/libslv2.la @JACK_LIBS@
+slv2_host_LDADD = ../../src/libslv2.la @JACK_LIBS@ @RASQAL_LIBS@
slv2_host_SOURCES = \
host.c