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

Annotation of /linuxsampler/trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


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

1 schoenebeck 658 # require automake (>= 1.5) due to 'dist-bzip2' option
2     AUTOMAKE_OPTIONS = 1.5 dist-bzip2
3 schoenebeck 9
4 schoenebeck 654 SUBDIRS = man src scripts osx Artwork Documentation debian
5 schoenebeck 35
6 schoenebeck 697 pkgconfigdir = $(libdir)/pkgconfig
7     pkgconfig_DATA = linuxsampler.pc
8    
9 schoenebeck 700 EXTRA_DIST = Doxyfile.in \
10     linuxsampler.pc.in \
11 schoenebeck 884 linuxsampler.kdevelop \
12 schoenebeck 4085 Makefile.svn \
13 schoenebeck 884 benchmarks/gigsynth.cpp \
14 schoenebeck 4085 benchmarks/lfobench.h \
15 schoenebeck 884 benchmarks/Makefile \
16 schoenebeck 4085 benchmarks/saw.cpp \
17     benchmarks/sine.cpp \
18     benchmarks/square.cpp \
19 schoenebeck 884 benchmarks/triang.cpp
20 schoenebeck 654
21 schoenebeck 2884 # let GCC auto detect whether it (sh/c)ould output its messages in color
22     export GCC_COLORS=auto
23    
24 schoenebeck 57 .PHONY: parser testcases
25 schoenebeck 35
26 iliev 1161 if HAVE_SQLITE3
27     have_sqlite = "yes"
28     else
29     have_sqlite = "no"
30     endif
31    
32 persson 1931 if !CROSS_COMPILING
33 iliev 1161 install-data-local:
34 schoenebeck 1211 @if [ ! -e "$(DESTDIR)/var/lib/linuxsampler/instruments.db" -a \
35 iliev 1187 $(have_sqlite) = "yes" ] ; then \
36 schoenebeck 1312 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 schoenebeck 1211 mkdir -p $(DESTDIR)/var/lib/linuxsampler && ./src/linuxsampler \
41     --create-instruments-db $(DESTDIR)/var/lib/linuxsampler/instruments.db ; \
42 iliev 1161 fi
43 persson 1931 endif
44 iliev 1161
45 schoenebeck 579 # generate parser with yacc
46 schoenebeck 35 parser:
47     @cd $(srcdir)/src/network && make $@
48 schoenebeck 2581 @cd $(srcdir)/src/scriptvm && make $@
49 schoenebeck 57
50     # compile test cases for the LinuxSampler codebase
51     testcases:
52     @cd $(srcdir)/src/testcases && make linuxsamplertest
53 schoenebeck 211
54     tests: testcases
55 schoenebeck 697
56     docs: Doxyfile
57     @echo '*** Running doxygen ***'
58     doxygen Doxyfile

  ViewVC Help
Powered by ViewVC