xref: /aosp_15_r20/prebuilts/build-tools/common/bison/local.mk (revision cda5da8d549138a6648c5ee6d7a49cf8f4a657be)
1## Copyright (C) 2002, 2005-2015, 2018-2021 Free Software Foundation,
2## Inc.
3
4## This program is free software: you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation, either version 3 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program.  If not, see <https://www.gnu.org/licenses/>.
16
17dist_pkgdata_DATA =                             \
18  data/README.md                                \
19  data/bison-default.css
20
21skeletonsdir = $(pkgdatadir)/skeletons
22dist_skeletons_DATA =                           \
23  data/skeletons/bison.m4                       \
24  data/skeletons/c++-skel.m4                    \
25  data/skeletons/c++.m4                         \
26  data/skeletons/c-like.m4                      \
27  data/skeletons/c-skel.m4                      \
28  data/skeletons/c.m4                           \
29  data/skeletons/glr.c                          \
30  data/skeletons/glr.cc                         \
31  data/skeletons/glr2.cc                        \
32  data/skeletons/java-skel.m4                   \
33  data/skeletons/java.m4                        \
34  data/skeletons/lalr1.cc                       \
35  data/skeletons/lalr1.java                     \
36  data/skeletons/location.cc                    \
37  data/skeletons/stack.hh                       \
38  data/skeletons/traceon.m4                     \
39  data/skeletons/variant.hh                     \
40  data/skeletons/yacc.c
41
42# Experimental support for the D language.
43dist_skeletons_DATA +=                          \
44  data/skeletons/d-skel.m4                      \
45  data/skeletons/d.m4                           \
46  data/skeletons/lalr1.d
47
48m4sugardir = $(pkgdatadir)/m4sugar
49dist_m4sugar_DATA =                             \
50  data/m4sugar/foreach.m4                       \
51  data/m4sugar/m4sugar.m4
52
53xsltdir = $(pkgdatadir)/xslt
54dist_xslt_DATA =                                \
55  data/xslt/bison.xsl                           \
56  data/xslt/xml2dot.xsl                         \
57  data/xslt/xml2text.xsl                        \
58  data/xslt/xml2xhtml.xsl
59