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

Annotation of /linuxsampler/trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1931 - (hide annotations) (download)
Sat Jul 4 14:58:34 2009 UTC (14 years, 9 months ago) by persson
File size: 1352 byte(s)
* when cross-compiling, don't try to create instruments.db
* fix for new mingw-w64 version, which has usleep

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     benchmarks/gigsynth.cpp \
13     benchmarks/Makefile \
14     benchmarks/triang.cpp
15 schoenebeck 654
16 schoenebeck 57 .PHONY: parser testcases
17 schoenebeck 35
18 iliev 1161 if HAVE_SQLITE3
19     have_sqlite = "yes"
20     else
21     have_sqlite = "no"
22     endif
23    
24 persson 1931 if !CROSS_COMPILING
25 iliev 1161 install-data-local:
26 schoenebeck 1211 @if [ ! -e "$(DESTDIR)/var/lib/linuxsampler/instruments.db" -a \
27 iliev 1187 $(have_sqlite) = "yes" ] ; then \
28 schoenebeck 1312 echo "****************************************************************"; \
29     echo "*** LinuxSampler was compiled with instruments DB support and"; \
30     echo "*** $(DESTDIR)/var/lib/linuxsampler/instruments.db"; \
31     echo "*** doesn't exist yet, creating it now:"; \
32 schoenebeck 1211 mkdir -p $(DESTDIR)/var/lib/linuxsampler && ./src/linuxsampler \
33     --create-instruments-db $(DESTDIR)/var/lib/linuxsampler/instruments.db ; \
34 iliev 1161 fi
35 persson 1931 endif
36 iliev 1161
37 schoenebeck 579 # generate parser with yacc
38 schoenebeck 35 parser:
39     @cd $(srcdir)/src/network && make $@
40 schoenebeck 57
41     # compile test cases for the LinuxSampler codebase
42     testcases:
43     @cd $(srcdir)/src/testcases && make linuxsamplertest
44 schoenebeck 211
45     tests: testcases
46 schoenebeck 697
47     docs: Doxyfile
48     @echo '*** Running doxygen ***'
49     doxygen Doxyfile

  ViewVC Help
Powered by ViewVC