1 ## Copyright (C) 2018-2022 Free Software Foundation, Inc.
3 ## This program is free software: you can redistribute it and/or modify
4 ## it under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation, either version 3 of the License, or
6 ## (at your option) any later version.
8 ## This program is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 ## GNU General Public License for more details.
13 ## You should have received a copy of the GNU General Public License
14 ## along with this program. If not, see <https://www.gnu.org/licenses/>.
16 java_calcdir
= $(docdir
)/%D
%
23 check_SCRIPTS
+= %D
%/Calc.class
24 TESTS
+= %D
%/Calc.
test
26 EXTRA_DIST
+= %D
%/Calc.
test
28 %D
%/Calc.java
: %D
%/Calc.y
$(dependencies
)
29 $(AM_V_GEN
)$(MKDIR_P
) %D
%
30 $(AM_V_at
)$(BISON
) -o
$@
$(srcdir)/%D
%/Calc.y
32 %D
%/Calc.class
: %D
%/Calc.java
33 $(AM_V_GEN
) $(SHELL
) $(top_builddir
)/javacomp.sh
%D
%/Calc.java
35 dist_java_calc_DATA
= %D
%/Calc.y
%D
%/Makefile
36 CLEANFILES
+= %D
%/*.class
%D
%/Calc.java