]> git.saurik.com Git - bison.git/blame - lib/Makefile.am
* data/c.m4 (b4_error_verbose_if): New.
[bison.git] / lib / Makefile.am
CommitLineData
dd0e0635 1## Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
2c8a9dfa
AD
2
3## This program is free software; you can redistribute it and/or modify
4## it under the terms of the GNU General Public License as published by
5## the Free Software Foundation; either version 2 of the License, or
6## (at your option) any later version.
7
8## This program is distributed in the hope that it will be useful,
9## but WITHOUT ANY WARRANTY; without even the implied warranty of
10## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11## GNU General Public License for more details.
12
13## You should have received a copy of the GNU General Public License
14## along with this program; if not, write to the Free Software
0fb669f9
PE
15## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16## 02110-1301 USA
18539825 17
cd931d9b 18AM_CFLAGS = $(WARNING_CFLAGS)
2c8a9dfa 19
1f65350a
PE
20BUILT_SOURCES =
21EXTRA_DIST =
22MOSTLYCLEANFILES =
23
f0057011 24lib_LIBRARIES = $(YACC_LIBRARY)
66abff15 25EXTRA_LIBRARIES = liby.a
18539825
AD
26noinst_LIBRARIES = libbison.a
27
1f14d97a
PE
28liby_a_SOURCES = main.c yyerror.c
29
1f65350a
PE
30libbison_a_SOURCES = $(lib_SOURCES)
31lib_SOURCES = \
f6a8ccf4 32 get-errno.h get-errno.c \
1f65350a 33 subpipe.h subpipe.c \
81fe8b23 34 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
18539825 35
7086e707 36# Implementation of bitsets
81fe8b23 37bitsets_sources = \
94a23f96
PE
38 abitset.c abitset.h bbitset.h bitset.c bitset.h bitset_stats.c \
39 bitset_stats.h bitsetv.c bitsetv.h ebitset.c ebitset.h lbitset.c \
40 lbitset.h libiberty.h vbitset.c vbitset.h
7086e707 41
1565b720 42# Additional bitset operations.
81fe8b23 43additional_bitsets_sources = \
1565b720
AD
44 bitsetv-print.h bitsetv-print.c
45
1509d42f 46# timevars, stolen from GCC.
81fe8b23 47timevars_sources = \
1509d42f
AD
48 timevar.h timevar.c timevar.def
49
f0057011 50libbison_a_LIBADD = $(LIBOBJS) $(ALLOCA)
18539825 51libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)
1f65350a
PE
52
53include gnulib.mk