1 |
INCLUDES = $(all_includes) $(GIG_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 |
lscpevent.cpp lscpevent.h |
20 |
liblinuxsamplernetwork_la_LIBADD = $(winsocket_ldflags) |
21 |
|
22 |
yacc_sources = lscp.y |
23 |
|
24 |
EXTRA_DIST = $(yacc_sources) |
25 |
|
26 |
# automatically (re)generate lscpsymbols.h with bison / yacc if the |
27 |
# yacc source file(s) have been changed |
28 |
lscpsymbols.h: $(yacc_sources) |
29 |
$(top_builddir)/scripts/generate_parser.sh |
30 |
|
31 |
# automatically (re)generate lscpparser.cpp with bison / yacc if the |
32 |
# yacc source file(s) have been changed |
33 |
lscpparser.cpp: $(yacc_sources) |
34 |
$(top_builddir)/scripts/generate_parser.sh |
35 |
|
36 |
|
37 |
.PHONY: parser |
38 |
|
39 |
# "make parser" was explicitly requested |
40 |
parser: |
41 |
$(top_builddir)/scripts/generate_parser.sh |