1 |
schoenebeck |
2581 |
AM_CPPFLAGS = $(all_includes) |
2 |
|
|
METASOURCES = AUTO |
3 |
|
|
|
4 |
|
|
AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) |
5 |
|
|
|
6 |
|
|
AM_YFLAGS = -d |
7 |
|
|
BUILT_SOURCES = parser.h |
8 |
|
|
|
9 |
|
|
noinst_LTLIBRARIES = liblinuxsamplerscriptvm.la |
10 |
|
|
liblinuxsamplerscriptvm_la_SOURCES = \ |
11 |
|
|
scanner.cpp \ |
12 |
|
|
parser.h parser.cpp \ |
13 |
|
|
tree.h tree.cpp \ |
14 |
|
|
CoreVMFunctions.h CoreVMFunctions.cpp \ |
15 |
|
|
ScriptVM.h ScriptVM.cpp |
16 |
|
|
|
17 |
|
|
yacc_sources = parser.y |
18 |
|
|
|
19 |
|
|
EXTRA_DIST = $(yacc_sources) scanner.l |
20 |
|
|
|
21 |
|
|
# automatically (re)generate scanner.cpp with flex / lex if the |
22 |
|
|
# lex source file(s) have been changed |
23 |
|
|
scanner.cpp: scanner.l tree.h parser_shared.h |
24 |
|
|
$(top_srcdir)/scripts/generate_instrument_script_parser.sh |
25 |
|
|
|
26 |
|
|
# automatically (re)generate parser.cpp with bison / yacc if the |
27 |
|
|
# yacc source file(s) have been changed |
28 |
|
|
parser.cpp: $(yacc_sources) scanner.l tree.h parser_shared.h |
29 |
|
|
$(top_srcdir)/scripts/generate_instrument_script_parser.sh |
30 |
|
|
|
31 |
|
|
.PHONY: parser |
32 |
|
|
|
33 |
|
|
# "make parser" was explicitly requested |
34 |
|
|
parser: |
35 |
|
|
$(top_srcdir)/scripts/generate_instrument_script_parser.sh |