]> git.saurik.com Git - bison.git/blob - lib/Makefile.am
do not ignore errors like ENOSPC,EIO when writing to stdout
[bison.git] / lib / Makefile.am
1 # Make bison/lib.
2
3 # Copyright (C) 2001-2004, 2006, 2008-2012 Free Software Foundation,
4 # Inc.
5
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
10 #
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.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19 AM_CFLAGS =
20 AM_CPPFLAGS =
21 BUILT_SOURCES =
22 CLEANFILES =
23 EXTRA_DIST =
24 MOSTLYCLEANDIRS =
25 MOSTLYCLEANFILES =
26 SUFFIXES =
27 noinst_LIBRARIES =
28
29 include gnulib.mk
30
31 AM_CFLAGS += $(WARN_CFLAGS)
32
33 # Implementation of bitsets.
34 bitsets_sources = \
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
38
39 # Additional bitset operations.
40 additional_bitsets_sources = \
41 bitsetv-print.h bitsetv-print.c
42
43 # timevars, stolen from GCC.
44 timevars_sources = \
45 timevar.h timevar.c timevar.def
46
47 # Non-gnulib sources in Bison's internal library.
48 libbison_a_SOURCES += \
49 get-errno.h get-errno.c \
50 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
51
52 # The Yacc compatibility library.
53 lib_LIBRARIES = $(YACC_LIBRARY)
54 EXTRA_LIBRARIES = liby.a
55 liby_a_SOURCES = main.c yyerror.c