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