1 |
|
if HAVE_SQLITE3 |
2 |
INCLUDES = $(all_includes) |
INCLUDES = $(all_includes) |
3 |
AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) |
AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) |
4 |
METASOURCES = AUTO |
METASOURCES = AUTO |
5 |
|
|
|
if HAVE_SQLITE3 |
|
6 |
sqlite3_lflags = $(SQLITE3_LIBS) |
sqlite3_lflags = $(SQLITE3_LIBS) |
7 |
sqlite3_cflags = $(SQLITE3_CFLAGS) |
sqlite3_cflags = $(SQLITE3_CFLAGS) |
8 |
instruments_db_headers = \ |
instruments_db_headers = \ |
10 |
instruments_db_sources = \ |
instruments_db_sources = \ |
11 |
InstrumentsDb.cpp InstrumentsDb.h \ |
InstrumentsDb.cpp InstrumentsDb.h \ |
12 |
InstrumentsDbUtilities.cpp InstrumentsDbUtilities.h |
InstrumentsDbUtilities.cpp InstrumentsDbUtilities.h |
|
else |
|
|
sqlite3_lflags = |
|
|
sqlite3_cflags = |
|
|
instruments_db_headers = |
|
|
instruments_db_sources = |
|
|
endif |
|
13 |
|
|
14 |
## no need to expose the instruments DB to the C++ API ATM |
## no need to expose the instruments DB to the C++ API ATM |
15 |
#liblinuxsamplerdbincludedir = $(includedir)/linuxsampler/db |
#liblinuxsamplerdbincludedir = $(includedir)/linuxsampler/db |
23 |
liblinuxsamplerdb_la_LIBADD = $(sqlite3_lflags) |
liblinuxsamplerdb_la_LIBADD = $(sqlite3_lflags) |
24 |
liblinuxsamplerdb_la_CFLAGS = $(sqlite3_cflags) |
liblinuxsamplerdb_la_CFLAGS = $(sqlite3_cflags) |
25 |
liblinuxsamplerdb_la_CXXFLAGS = $(sqlite3_cflags) |
liblinuxsamplerdb_la_CXXFLAGS = $(sqlite3_cflags) |
26 |
|
endif |