AM_CPPFLAGS = $(all_includes) METASOURCES = AUTO AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) SUBDIRS = editor auto_generated_sources = parser.tab.h parser.tab.cpp scanner.cpp BUILT_SOURCES = $(auto_generated_sources) CLEANFILES = $(auto_generated_sources) DISTCLEANFILES = $(auto_generated_sources) liblinuxsamplerscriptvmincludedir = $(includedir)/linuxsampler/scriptvm liblinuxsamplerscriptvminclude_HEADERS = \ common.h \ ScriptVM.h \ ScriptVMFactory.h noinst_LTLIBRARIES = liblinuxsamplerscriptvm.la liblinuxsamplerscriptvm_la_SOURCES = \ common.h common.cpp \ parser_shared.h \ tree.h tree.cpp \ CoreVMFunctions.h CoreVMFunctions.cpp \ CoreVMDynVars.h CoreVMDynVars.cpp \ ScriptVM.h ScriptVM.cpp \ ScriptVMFactory.h ScriptVMFactory.cpp nodist_liblinuxsamplerscriptvm_la_SOURCES = \ $(auto_generated_sources) lex_sources = scanner.l yacc_sources = parser.y EXTRA_DIST = $(yacc_sources) $(lex_sources) examples tests # automatically (re)generate all auto generated files with GNU Bison and Flex # if the yacc/lex source file(s) have been changed $(auto_generated_sources): $(yacc_sources) $(lex_sources) ## IMPORTANT: shell script must only be called once in Makefile to avoid ## concurrent re-generation of its output files with 'make -j'. $(top_srcdir)/scripts/generate_instrument_script_parser.sh .NOTPARALLEL: $(auto_generated_sources) .PHONY: parser # "make parser" was explicitly requested parser: ## Exception of above's rule: this is never automatically called. $(top_srcdir)/scripts/generate_instrument_script_parser.sh