3 |
|
|
4 |
AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) |
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 |
noinst_LTLIBRARIES = liblinuxsamplernetwork.la |
13 |
liblinuxsamplernetwork_la_SOURCES = \ |
liblinuxsamplernetwork_la_SOURCES = \ |
14 |
lscp.h \ |
lscp.h \ |
17 |
lscpsymbols.h \ |
lscpsymbols.h \ |
18 |
lscpresultset.cpp lscpresultset.h \ |
lscpresultset.cpp lscpresultset.h \ |
19 |
lscpevent.cpp lscpevent.h |
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 |
|
|
|
EXTRA_DIST = lscp.y |
|
36 |
|
|
37 |
.PHONY: parser |
.PHONY: parser |
38 |
|
|
39 |
# generate parser with bison / yacc |
# "make parser" was explicitly requested |
40 |
parser: |
parser: |
41 |
$(top_builddir)/scripts/generate_parser.sh |
$(top_builddir)/scripts/generate_parser.sh |