/[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 815 - (show annotations) (download)
Thu Dec 22 19:28:36 2005 UTC (18 years, 4 months ago) by wylder
File size: 1168 byte(s)
add sqlite3_cflags to build

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

  ViewVC Help
Powered by ViewVC