]> git.saurik.com Git - bison.git/blame - lib/Makefile.am
Work around Java's ``code too large'' problem for parser tables.
[bison.git] / lib / Makefile.am
CommitLineData
3b2942e6 1# Make bison/lib.
2c8a9dfa 2
3b2942e6 3# Copyright (C) 2001, 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
2c8a9dfa 4
f16b0819 5# This program is free software: you can redistribute it and/or modify
3b2942e6 6# it under the terms of the GNU General Public License as published by
f16b0819
PE
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9#
3b2942e6
PE
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
f16b0819 14#
3b2942e6 15# You should have received a copy of the GNU General Public License
f16b0819 16# along with this program. If not, see <http://www.gnu.org/licenses/>.
2c8a9dfa 17
3b2942e6 18include gnulib.mk
1f14d97a 19
10f429ef 20AM_CFLAGS = $(WARNING_CFLAGS)
18539825 21
3b2942e6 22# Implementation of bitsets.
81fe8b23 23bitsets_sources = \
94a23f96
PE
24 abitset.c abitset.h bbitset.h bitset.c bitset.h bitset_stats.c \
25 bitset_stats.h bitsetv.c bitsetv.h ebitset.c ebitset.h lbitset.c \
26 lbitset.h libiberty.h vbitset.c vbitset.h
7086e707 27
1565b720 28# Additional bitset operations.
81fe8b23 29additional_bitsets_sources = \
3b2942e6 30 bitsetv-print.h bitsetv-print.c
1565b720 31
1509d42f 32# timevars, stolen from GCC.
81fe8b23 33timevars_sources = \
3b2942e6 34 timevar.h timevar.c timevar.def
1509d42f 35
3b2942e6
PE
36# Non-gnulib sources in Bison's internal library.
37libbison_a_SOURCES += \
38 get-errno.h get-errno.c \
39 subpipe.h subpipe.c \
40 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
1f65350a 41
3b2942e6
PE
42# The Yacc compatibility library.
43lib_LIBRARIES = $(YACC_LIBRARY)
44EXTRA_LIBRARIES = liby.a
45liby_a_SOURCES = main.c yyerror.c