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

Diff of /linuxsampler/trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 57 by schoenebeck, Sun May 2 17:45:43 2004 UTC revision 1312 by schoenebeck, Thu Aug 30 11:40:14 2007 UTC
# Line 1  Line 1 
1  # not a GNU package. You can remove this line, if  # require automake (>= 1.5) due to 'dist-bzip2' option
2  # have all needed files, that a GNU package needs  AUTOMAKE_OPTIONS = 1.5 dist-bzip2
 AUTOMAKE_OPTIONS = foreign 1.4  
3    
4  SUBDIRS = src  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  .PHONY: parser testcases  .PHONY: parser testcases
17    
18  # generate parser with lex and yacc  if HAVE_SQLITE3
19    have_sqlite = "yes"
20    else
21    have_sqlite = "no"
22    endif
23    
24    install-data-local:
25            @if [ ! -e "$(DESTDIR)/var/lib/linuxsampler/instruments.db" -a \
26            $(have_sqlite) = "yes" ] ; then \
27            echo "****************************************************************"; \
28            echo "*** LinuxSampler was compiled with instruments DB support and"; \
29            echo "*** $(DESTDIR)/var/lib/linuxsampler/instruments.db"; \
30            echo "*** doesn't exist yet, creating it now:"; \
31            mkdir -p $(DESTDIR)/var/lib/linuxsampler && ./src/linuxsampler \
32            --create-instruments-db $(DESTDIR)/var/lib/linuxsampler/instruments.db ; \
33            fi
34    
35    # generate parser with yacc
36  parser:  parser:
37          @cd $(srcdir)/src/network && make $@          @cd $(srcdir)/src/network && make $@
38    
39  # compile test cases for the LinuxSampler codebase  # compile test cases for the LinuxSampler codebase
40  testcases:  testcases:
41          @cd $(srcdir)/src/testcases && make linuxsamplertest          @cd $(srcdir)/src/testcases && make linuxsamplertest
42    
43    tests: testcases
44    
45    docs: Doxyfile
46            @echo '*** Running doxygen ***'
47            doxygen Doxyfile

Legend:
Removed from v.57  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC