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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1161 - (show annotations) (download)
Mon Apr 16 15:51:18 2007 UTC (16 years, 11 months ago) by iliev
File size: 826 byte(s)
* Implemented instruments database

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

  ViewVC Help
Powered by ViewVC