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

Contents of /linuxsampler/trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2884 - (show annotations) (download)
Wed Apr 20 15:22:58 2016 UTC (7 years, 11 months ago) by schoenebeck
File size: 1488 byte(s)
* Automake: set environment variable GCC_COLORS=auto to allow GCC to
  auto detect whether it (sh/c)ould output its messages in color.
* Fixed behavior of built-in script function "ignore_event()".
* Bumped version (2.0.0.svn4).

1 # require automake (>= 1.5) due to 'dist-bzip2' option
2 AUTOMAKE_OPTIONS = 1.5 dist-bzip2
3
4 SUBDIRS = man src scripts osx Artwork Documentation debian
5
6 pkgconfigdir = $(libdir)/pkgconfig
7 pkgconfig_DATA = linuxsampler.pc
8
9 EXTRA_DIST = Doxyfile.in \
10 linuxsampler.pc.in \
11 linuxsampler.kdevelop \
12 benchmarks/gigsynth.cpp \
13 benchmarks/Makefile \
14 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
20
21 if HAVE_SQLITE3
22 have_sqlite = "yes"
23 else
24 have_sqlite = "no"
25 endif
26
27 if !CROSS_COMPILING
28 install-data-local:
29 @if [ ! -e "$(DESTDIR)/var/lib/linuxsampler/instruments.db" -a \
30 $(have_sqlite) = "yes" ] ; then \
31 echo "****************************************************************"; \
32 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
38 endif
39
40 # generate parser with yacc
41 parser:
42 @cd $(srcdir)/src/network && make $@
43 @cd $(srcdir)/src/scriptvm && make $@
44
45 # compile test cases for the LinuxSampler codebase
46 testcases:
47 @cd $(srcdir)/src/testcases && make linuxsamplertest
48
49 tests: testcases
50
51 docs: Doxyfile
52 @echo '*** Running doxygen ***'
53 doxygen Doxyfile

  ViewVC Help
Powered by ViewVC