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