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

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

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

revision 53 by schoenebeck, Mon Apr 26 17:15:51 2004 UTC revision 111 by schoenebeck, Sat Jun 5 20:55:50 2004 UTC
# Line 1  Line 1 
1  INCLUDES = $(all_includes)  INCLUDES = $(all_includes)
2  METASOURCES = AUTO  METASOURCES = AUTO
3  noinst_LIBRARIES = liblinuxsamplernetwork.a  
4  liblinuxsamplernetwork_a_SOURCES = lscp.h lscpparser.cpp lscpparser.h lscpscanner.cpp lscpserver.cpp lscpserver.h lscpsymbols.h  AM_CXXFLAGS = -ffast-math -march=$(target_cpu) -mcpu=$(target_cpu)
5    
6    noinst_LTLIBRARIES = liblinuxsamplernetwork.la
7    liblinuxsamplernetwork_la_SOURCES = lscp.h lscpparser.cpp lscpparser.h lscpscanner.cpp lscpserver.cpp lscpserver.h lscpsymbols.h
8    
9  .PHONY: parser  .PHONY: parser
10    
# Line 10  parser: Line 13  parser:
13          @echo "Generating LSCP parser..."          @echo "Generating LSCP parser..."
14          @if which "lex" > /dev/null && which "yacc" > /dev/null; then \          @if which "lex" > /dev/null && which "yacc" > /dev/null; then \
15              yacc -d lscp.y && \              yacc -d lscp.y && \
16              lex -f lscp.l && \              lex --fast --8bit lscp.l && \
17              yacc lscp.y && \              yacc lscp.y && \
18              mv -f y.tab.h lscpsymbols.h && \              mv -f y.tab.h lscpsymbols.h && \
19              mv -f y.tab.c lscpparser.cpp && \              mv -f y.tab.c lscpparser.cpp && \
# Line 18  parser: Line 21  parser:
21          else \          else \
22              echo "You need lex (or flex) and yacc (or bison) to generate the parser."; \              echo "You need lex (or flex) and yacc (or bison) to generate the parser."; \
23          fi;          fi;
   

Legend:
Removed from v.53  
changed lines
  Added in v.111

  ViewVC Help
Powered by ViewVC