12 |
lscpresultset.cpp lscpresultset.h \ |
lscpresultset.cpp lscpresultset.h \ |
13 |
lscpevent.cpp lscpevent.h |
lscpevent.cpp lscpevent.h |
14 |
|
|
15 |
EXTRA_DIST = lscp.y |
yacc_sources = lscp.y |
16 |
|
|
17 |
|
EXTRA_DIST = $(yacc_sources) |
18 |
|
|
19 |
|
# automatically (re)generate lscpsymbols.h with bison / yacc if the |
20 |
|
# yacc source file(s) have been changed |
21 |
|
lscpsymbols.h: $(yacc_sources) |
22 |
|
$(top_builddir)/scripts/generate_parser.sh |
23 |
|
|
24 |
|
# automatically (re)generate lscpparser.cpp with bison / yacc if the |
25 |
|
# yacc source file(s) have been changed |
26 |
|
lscpparser.cpp: $(yacc_sources) |
27 |
|
$(top_builddir)/scripts/generate_parser.sh |
28 |
|
|
29 |
|
|
30 |
.PHONY: parser |
.PHONY: parser |
31 |
|
|
32 |
# generate parser with bison / yacc |
# "make parser" was explicitly requested |
33 |
parser: |
parser: |
34 |
$(top_builddir)/scripts/generate_parser.sh |
$(top_builddir)/scripts/generate_parser.sh |