27 |
# automatically (re)generate lscpsymbols.h with bison / yacc if the |
# automatically (re)generate lscpsymbols.h with bison / yacc if the |
28 |
# yacc source file(s) have been changed |
# yacc source file(s) have been changed |
29 |
lscpsymbols.h: $(yacc_sources) |
lscpsymbols.h: $(yacc_sources) |
30 |
$(top_srcdir)/scripts/generate_parser.sh |
$(top_srcdir)/scripts/generate_lscp_parser.sh |
31 |
|
|
32 |
# automatically (re)generate lscpparser.cpp with bison / yacc if the |
# automatically (re)generate lscpparser.cpp with bison / yacc if the |
33 |
# yacc source file(s) have been changed |
# yacc source file(s) have been changed |
34 |
lscpparser.cpp: $(yacc_sources) |
lscpparser.cpp: $(yacc_sources) |
35 |
$(top_srcdir)/scripts/generate_parser.sh |
$(top_srcdir)/scripts/generate_lscp_parser.sh |
36 |
|
|
37 |
# automatically (re)generate lscp_shell_reference.cpp if the |
# automatically (re)generate lscp_shell_reference.cpp if the |
38 |
# yacc source file or lscp.xml source have been changed |
# yacc source file or lscp.xml source have been changed |
39 |
lscp_shell_reference.cpp: $(yacc_sources) ../../Documentation/lscp.xml |
lscp_shell_reference.cpp: $(yacc_sources) ../../Documentation/lscp.xml |
40 |
$(top_srcdir)/scripts/generate_parser.sh |
$(top_srcdir)/scripts/generate_lscp_parser.sh |
41 |
|
|
42 |
.PHONY: parser |
.PHONY: parser |
43 |
|
|
44 |
# "make parser" was explicitly requested |
# "make parser" was explicitly requested |
45 |
parser: |
parser: |
46 |
$(top_builddir)/scripts/generate_parser.sh |
$(top_builddir)/scripts/generate_lscp_parser.sh |