]> git.saurik.com Git - bison.git/blame - lib/Makefile.am
misc: require getline
[bison.git] / lib / Makefile.am
CommitLineData
3b2942e6 1# Make bison/lib.
2c8a9dfa 2
c932d613 3# Copyright (C) 2001-2004, 2006, 2008-2012 Free Software Foundation,
ea0a7676 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
ee7e9e3b
JM
19AM_CFLAGS =
20AM_CPPFLAGS =
21BUILT_SOURCES =
22CLEANFILES =
23EXTRA_DIST =
24MOSTLYCLEANDIRS =
25MOSTLYCLEANFILES =
26SUFFIXES =
27noinst_LIBRARIES =
28
3b2942e6 29include gnulib.mk
1f14d97a 30
f3079439 31AM_CFLAGS += $(WARN_CFLAGS)
18539825 32
3b2942e6 33# Implementation of bitsets.
81fe8b23 34bitsets_sources = \
94a23f96
PE
35 abitset.c abitset.h bbitset.h bitset.c bitset.h bitset_stats.c \
36 bitset_stats.h bitsetv.c bitsetv.h ebitset.c ebitset.h lbitset.c \
37 lbitset.h libiberty.h vbitset.c vbitset.h
7086e707 38
1565b720 39# Additional bitset operations.
81fe8b23 40additional_bitsets_sources = \
3b2942e6 41 bitsetv-print.h bitsetv-print.c
1565b720 42
1509d42f 43# timevars, stolen from GCC.
81fe8b23 44timevars_sources = \
3b2942e6 45 timevar.h timevar.c timevar.def
1509d42f 46
3b2942e6
PE
47# Non-gnulib sources in Bison's internal library.
48libbison_a_SOURCES += \
49 get-errno.h get-errno.c \
3b2942e6 50 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
1f65350a 51
3b2942e6
PE
52# The Yacc compatibility library.
53lib_LIBRARIES = $(YACC_LIBRARY)
54EXTRA_LIBRARIES = liby.a
55liby_a_SOURCES = main.c yyerror.c