1 ## Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
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.
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.
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
18 AM_CFLAGS = $(WARNING_CFLAGS)
24 lib_LIBRARIES = $(YACC_LIBRARY)
25 EXTRA_LIBRARIES = liby.a
26 noinst_LIBRARIES = libbison.a
28 liby_a_SOURCES = main.c yyerror.c
30 libbison_a_SOURCES = $(lib_SOURCES)
32 get-errno.h get-errno.c \
34 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
36 # Implementation of bitsets
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
42 # Additional bitset operations.
43 additional_bitsets_sources = \
44 bitsetv-print.h bitsetv-print.c
46 # timevars, stolen from GCC.
48 timevar.h timevar.c timevar.def
50 libbison_a_LIBADD = $(LIBOBJS) $(ALLOCA)
51 libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)