1 |
AM_CPPFLAGS = $(all_includes) $(GIG_CFLAGS) $(SQLITE3_CFLAGS) |
2 |
METASOURCES = AUTO |
3 |
|
4 |
AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) |
5 |
|
6 |
if HAVE_WINDOWS |
7 |
winsocket_ldflags = -lws2_32 -lole32 |
8 |
else |
9 |
winsocket_ldflags = |
10 |
endif |
11 |
|
12 |
noinst_LTLIBRARIES = liblinuxsamplernetwork.la |
13 |
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 |
lscp_shell_reference.cpp lscp_shell_reference.h \ |
20 |
lscpevent.cpp lscpevent.h |
21 |
liblinuxsamplernetwork_la_LIBADD = $(winsocket_ldflags) |
22 |
|
23 |
yacc_sources = lscp.y |
24 |
|
25 |
EXTRA_DIST = $(yacc_sources) |
26 |
|
27 |
# automatically (re)generate lscpsymbols.h with bison / yacc if the |
28 |
# yacc source file(s) have been changed |
29 |
lscpsymbols.h: $(yacc_sources) |
30 |
$(top_srcdir)/scripts/generate_lscp_parser.sh |
31 |
|
32 |
# automatically (re)generate lscpparser.cpp with bison / yacc if the |
33 |
# yacc source file(s) have been changed |
34 |
lscpparser.cpp: $(yacc_sources) |
35 |
$(top_srcdir)/scripts/generate_lscp_parser.sh |
36 |
|
37 |
# automatically (re)generate lscp_shell_reference.cpp if the |
38 |
# yacc source file or lscp.xml source have been changed |
39 |
lscp_shell_reference.cpp: $(yacc_sources) ../../Documentation/lscp.xml |
40 |
$(top_srcdir)/scripts/generate_lscp_parser.sh |
41 |
|
42 |
.PHONY: parser |
43 |
|
44 |
# "make parser" was explicitly requested |
45 |
parser: |
46 |
$(top_builddir)/scripts/generate_lscp_parser.sh |