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 |
|
16 |
noinst_LTLIBRARIES = liblinuxsamplerscriptvm.la |
17 |
liblinuxsamplerscriptvm_la_SOURCES = \ |
18 |
common.h common.cpp \ |
19 |
scanner.cpp \ |
20 |
parser.h parser.cpp \ |
21 |
tree.h tree.cpp \ |
22 |
CoreVMFunctions.h CoreVMFunctions.cpp \ |
23 |
ScriptVM.h ScriptVM.cpp |
24 |
|
25 |
yacc_sources = parser.y |
26 |
|
27 |
EXTRA_DIST = $(yacc_sources) scanner.l |
28 |
|
29 |
# automatically (re)generate scanner.cpp with flex / lex if the |
30 |
# lex source file(s) have been changed |
31 |
scanner.cpp: scanner.l tree.h parser_shared.h |
32 |
$(top_srcdir)/scripts/generate_instrument_script_parser.sh |
33 |
|
34 |
# automatically (re)generate parser.cpp with bison / yacc if the |
35 |
# yacc source file(s) have been changed |
36 |
parser.cpp: $(yacc_sources) scanner.l tree.h parser_shared.h |
37 |
$(top_srcdir)/scripts/generate_instrument_script_parser.sh |
38 |
|
39 |
.PHONY: parser |
40 |
|
41 |
# "make parser" was explicitly requested |
42 |
parser: |
43 |
$(top_srcdir)/scripts/generate_instrument_script_parser.sh |