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