/[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 35 - (show annotations) (download)
Fri Mar 5 13:46:15 2004 UTC (20 years ago) by schoenebeck
File size: 645 byte(s)
* implemented parser for the LinuxSampler control protocol (LSCP) by using
  flex / bison (where src/network/lscp.l is the input file for lex / flex
  and src/network/lscp.y is the input file for yacc / bison), parser and
  scanner can be regenerated by 'make parser'
* implemented LSCP network server (only single threaded so far), LSCP
  server will be launched if LinuxSampler was started with "--server" flag,
  implemented the following LSCP commands so far: "LOAD INSTRUMENT", "GET
  CHANNEL VOICE_COUNT", "GET CHANNEL STREAM_COUNT", "GET CHANNEL
  BUFFER_FILL", "SET CHANNEL VOLUME" and "RESET CHANNEL"
* disk thread now started within the engine

1 INCLUDES = $(all_includes)
2 METASOURCES = AUTO
3 lib_LIBRARIES = liblscpserver.a
4
5 liblscpserver_a_SOURCES = lscpparser.h lscpserver.cpp lscpparser.cpp lscpscanner.cpp
6 noinst_HEADERS = lscpserver.h lscp.h
7
8 .PHONY: parser
9
10 # generate parser with lex and yacc
11 parser:
12 @echo "Generating LSCP parser..."
13 @if which "lex" > /dev/null && which "yacc" > /dev/null; then \
14 yacc -d lscp.y && \
15 lex -f lscp.l && \
16 yacc lscp.y && \
17 mv -f y.tab.h lscpsymbols.h && \
18 mv -f y.tab.c lscpparser.cpp && \
19 mv -f lex.yy.c lscpscanner.cpp; \
20 else \
21 echo "You need lex (or flex) and yacc (or bison) to generate the parser."; \
22 fi;

  ViewVC Help
Powered by ViewVC