5 |
if HAVE_SQLITE3 |
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 = \ |
9 |
|
InstrumentsDb.h InstrumentsDbUtilities.h |
10 |
|
instruments_db_sources = \ |
11 |
|
InstrumentsDb.cpp InstrumentsDb.h \ |
12 |
|
InstrumentsDbUtilities.cpp InstrumentsDbUtilities.h |
13 |
else |
else |
14 |
sqlite3_lflags = |
sqlite3_lflags = |
15 |
sqlite3_cflags = |
sqlite3_cflags = |
16 |
|
instruments_db_headers = |
17 |
|
instruments_db_sources = |
18 |
endif |
endif |
19 |
|
|
20 |
liblinuxsamplerdbincludedir = $(includedir)/linuxsampler/db |
liblinuxsamplerdbincludedir = $(includedir)/linuxsampler/db |
21 |
liblinuxsamplerdbinclude_HEADERS = \ |
liblinuxsamplerdbinclude_HEADERS = \ |
22 |
InstrumentsDb.h InstrumentsDbUtilities.h |
$(instruments_db_headers) |
23 |
|
|
24 |
noinst_LTLIBRARIES = liblinuxsamplerdb.la |
noinst_LTLIBRARIES = liblinuxsamplerdb.la |
25 |
liblinuxsamplerdb_la_SOURCES = \ |
liblinuxsamplerdb_la_SOURCES = \ |
26 |
InstrumentsDb.cpp InstrumentsDb.h \ |
$(instruments_db_sources) |
|
InstrumentsDbUtilities.cpp InstrumentsDbUtilities.h |
|
27 |
|
|
28 |
liblinuxsamplerdb_la_LIBADD = $(sqlite3_lflags) |
liblinuxsamplerdb_la_LIBADD = $(sqlite3_lflags) |
29 |
liblinuxsamplerdb_la_CFLAGS = $(sqlite3_cflags) |
liblinuxsamplerdb_la_CFLAGS = $(sqlite3_cflags) |