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

Contents of /linuxsampler/trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4085 - (show annotations) (download)
Fri Jan 26 18:34:32 2024 UTC (2 months ago) by schoenebeck
File size: 1659 byte(s)
more 'make dist' rule updates

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 Makefile.svn \
13 benchmarks/gigsynth.cpp \
14 benchmarks/lfobench.h \
15 benchmarks/Makefile \
16 benchmarks/saw.cpp \
17 benchmarks/sine.cpp \
18 benchmarks/square.cpp \
19 benchmarks/triang.cpp
20
21 # let GCC auto detect whether it (sh/c)ould output its messages in color
22 export GCC_COLORS=auto
23
24 .PHONY: parser testcases
25
26 if HAVE_SQLITE3
27 have_sqlite = "yes"
28 else
29 have_sqlite = "no"
30 endif
31
32 if !CROSS_COMPILING
33 install-data-local:
34 @if [ ! -e "$(DESTDIR)/var/lib/linuxsampler/instruments.db" -a \
35 $(have_sqlite) = "yes" ] ; then \
36 echo "****************************************************************"; \
37 echo "*** LinuxSampler was compiled with instruments DB support and"; \
38 echo "*** $(DESTDIR)/var/lib/linuxsampler/instruments.db"; \
39 echo "*** doesn't exist yet, creating it now:"; \
40 mkdir -p $(DESTDIR)/var/lib/linuxsampler && ./src/linuxsampler \
41 --create-instruments-db $(DESTDIR)/var/lib/linuxsampler/instruments.db ; \
42 fi
43 endif
44
45 # generate parser with yacc
46 parser:
47 @cd $(srcdir)/src/network && make $@
48 @cd $(srcdir)/src/scriptvm && make $@
49
50 # compile test cases for the LinuxSampler codebase
51 testcases:
52 @cd $(srcdir)/src/testcases && make linuxsamplertest
53
54 tests: testcases
55
56 docs: Doxyfile
57 @echo '*** Running doxygen ***'
58 doxygen Doxyfile

  ViewVC Help
Powered by ViewVC