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

Annotation of /linuxsampler/trunk/src/network/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 654 - (hide annotations) (download)
Wed Jun 15 20:25:25 2005 UTC (18 years, 10 months ago) by schoenebeck
File size: 1008 byte(s)
* fixed 'make dist' build rule to include all necessary files

1 schoenebeck 35 INCLUDES = $(all_includes)
2     METASOURCES = AUTO
3 schoenebeck 80
4 schoenebeck 510 AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH)
5 schoenebeck 80
6 senkov 397 if HAVE_SQLITE3
7     sqlite3_lflags = $(SQLITE3_LIBS)
8     else
9     sqlite3_lflags =
10     endif
11    
12 schoenebeck 57 noinst_LTLIBRARIES = liblinuxsamplernetwork.la
13 schoenebeck 654 liblinuxsamplernetwork_la_SOURCES = \
14     lscp.h \
15     lscpparser.cpp lscpparser.h \
16     lscpserver.cpp lscpserver.h \
17     lscpsymbols.h \
18     lscpresultset.cpp lscpresultset.h \
19     lscpevent.cpp lscpevent.h \
20     lscpinstrumentloader.h lscpinstrumentloader.cpp
21 senkov 397 liblinuxsamplernetwork_la_LIBADD = $(sqlite3_lflags)
22 schoenebeck 35
23 schoenebeck 654 EXTRA_DIST = lscp.y
24    
25 schoenebeck 35 .PHONY: parser
26    
27     # generate parser with lex and yacc
28     parser:
29     @echo "Generating LSCP parser..."
30 schoenebeck 219 @if which "yacc" > /dev/null; then \
31 schoenebeck 35 yacc -d lscp.y && \
32     yacc lscp.y && \
33     mv -f y.tab.h lscpsymbols.h && \
34 schoenebeck 573 mv -f y.tab.c lscpparser.cpp && \
35     echo -n "Updating Documentation/lscp.xml..." && \
36     (cd ../../scripts/ && ./update_grammar.pl) && \
37     echo "OK"; \
38 schoenebeck 35 else \
39 schoenebeck 219 echo "You need yacc (or bison) to generate the parser."; \
40 schoenebeck 35 fi;

  ViewVC Help
Powered by ViewVC