13 |
benchmarks/Makefile \ |
benchmarks/Makefile \ |
14 |
benchmarks/triang.cpp |
benchmarks/triang.cpp |
15 |
|
|
16 |
|
# let GCC auto detect whether it (sh/c)ould output its messages in color |
17 |
|
export GCC_COLORS=auto |
18 |
|
|
19 |
.PHONY: parser testcases |
.PHONY: parser testcases |
20 |
|
|
21 |
if HAVE_SQLITE3 |
if HAVE_SQLITE3 |
24 |
have_sqlite = "no" |
have_sqlite = "no" |
25 |
endif |
endif |
26 |
|
|
27 |
|
if !CROSS_COMPILING |
28 |
install-data-local: |
install-data-local: |
29 |
@if [ ! -e "/var/lib/linuxsampler/instruments.db" -a \ |
@if [ ! -e "$(DESTDIR)/var/lib/linuxsampler/instruments.db" -a \ |
30 |
$(have_sqlite) = "yes" ] ; then \ |
$(have_sqlite) = "yes" ] ; then \ |
31 |
mkdir -p /var/lib/linuxsampler && ./src/linuxsampler \ |
echo "****************************************************************"; \ |
32 |
--create-instruments-db /var/lib/linuxsampler/instruments.db ; \ |
echo "*** LinuxSampler was compiled with instruments DB support and"; \ |
33 |
|
echo "*** $(DESTDIR)/var/lib/linuxsampler/instruments.db"; \ |
34 |
|
echo "*** doesn't exist yet, creating it now:"; \ |
35 |
|
mkdir -p $(DESTDIR)/var/lib/linuxsampler && ./src/linuxsampler \ |
36 |
|
--create-instruments-db $(DESTDIR)/var/lib/linuxsampler/instruments.db ; \ |
37 |
fi |
fi |
38 |
|
endif |
39 |
|
|
40 |
# generate parser with yacc |
# generate parser with yacc |
41 |
parser: |
parser: |
42 |
@cd $(srcdir)/src/network && make $@ |
@cd $(srcdir)/src/network && make $@ |
43 |
|
@cd $(srcdir)/src/scriptvm && make $@ |
44 |
|
|
45 |
# compile test cases for the LinuxSampler codebase |
# compile test cases for the LinuxSampler codebase |
46 |
testcases: |
testcases: |