1## Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
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
15## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16## 02110-1301  USA
17
18AM_CFLAGS = $(WARNING_CFLAGS)
19
20BUILT_SOURCES =
21EXTRA_DIST =
22MOSTLYCLEANFILES =
23
24lib_LIBRARIES = $(YACC_LIBRARY)
25EXTRA_LIBRARIES = liby.a
26noinst_LIBRARIES = libbison.a
27
28liby_a_SOURCES = main.c yyerror.c
29
30libbison_a_SOURCES = $(lib_SOURCES)
31lib_SOURCES = \
32  get-errno.h get-errno.c \
33  subpipe.h subpipe.c \
34  $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
35
36# Implementation of bitsets
37bitsets_sources = \
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
41
42# Additional bitset operations.
43additional_bitsets_sources = \
44	bitsetv-print.h bitsetv-print.c
45
46# timevars, stolen from GCC.
47timevars_sources = \
48	timevar.h timevar.c timevar.def
49
50libbison_a_LIBADD = $(LIBOBJS) $(ALLOCA)
51libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)
52
53include gnulib.mk
54