/[svn]/linuxsampler/trunk/src/db/Makefile.am
ViewVC logotype

Annotation of /linuxsampler/trunk/src/db/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1364 - (hide annotations) (download)
Mon Oct 1 13:38:37 2007 UTC (16 years, 8 months ago) by schoenebeck
File size: 845 byte(s)
* fixed egoistic --instruments-db-location command line switch ;-)
  which caused all subsequent command line switches to be ignored
* the default location of the instruments DB file can now be overridden
  with ./configure --enable-default-instruments-db-location=/foo/bar.db
* instruments DB feature can be disabled at compile time with
  ./configure --disable-instruments-db (i.e. for cross compilation)
* in case instruments DB feature is disable at compile time, don't
  actually compile the instruments DB source files and don't install the
  instruments DB API header files either

1 iliev 1161 INCLUDES = $(all_includes)
2     AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH)
3     METASOURCES = AUTO
4    
5     if HAVE_SQLITE3
6     sqlite3_lflags = $(SQLITE3_LIBS)
7     sqlite3_cflags = $(SQLITE3_CFLAGS)
8 schoenebeck 1364 instruments_db_headers = \
9     InstrumentsDb.h InstrumentsDbUtilities.h
10     instruments_db_sources = \
11     InstrumentsDb.cpp InstrumentsDb.h \
12     InstrumentsDbUtilities.cpp InstrumentsDbUtilities.h
13 iliev 1161 else
14     sqlite3_lflags =
15     sqlite3_cflags =
16 schoenebeck 1364 instruments_db_headers =
17     instruments_db_sources =
18 iliev 1161 endif
19    
20     liblinuxsamplerdbincludedir = $(includedir)/linuxsampler/db
21     liblinuxsamplerdbinclude_HEADERS = \
22 schoenebeck 1364 $(instruments_db_headers)
23 iliev 1161
24     noinst_LTLIBRARIES = liblinuxsamplerdb.la
25     liblinuxsamplerdb_la_SOURCES = \
26 schoenebeck 1364 $(instruments_db_sources)
27 iliev 1161
28     liblinuxsamplerdb_la_LIBADD = $(sqlite3_lflags)
29     liblinuxsamplerdb_la_CFLAGS = $(sqlite3_cflags)
30     liblinuxsamplerdb_la_CXXFLAGS = $(sqlite3_cflags)

  ViewVC Help
Powered by ViewVC