1 ## Copyright (C) 2001, 2002 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., 59 Temple Place, Suite 330, Boston, MA
18 AM_CFLAGS = $(WARNING_CFLAGS)
20 noinst_LIBRARIES = libbison.a
22 # config.h is in build/., and system.h is in src/src/.
23 INCLUDES = -I$(top_builddir) \
27 # Heck, we are still using an old version of Automake which does not
28 # understand inner AC_LIBOBJ (i.e., from Autoconf itself, not from
30 EXTRA_DIST = malloc.c realloc.c strnlen.c
32 libbison_a_SOURCES = \
34 basename.c dirname.h dirname.c \
35 getopt.h getopt.c getopt1.c \
37 mbswidth.h mbswidth.c \
38 quote.h quote.c quotearg.h quotearg.c \
39 subpipe.h subpipe.c unlocked-io.h \
40 xalloc.h xmalloc.c xstrdup.c xstrndup.c \
41 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
43 # Implementation of bitsets
46 abitset.c bitset.c bitset_stats.h ebitset.c lbitset.h \
47 abitset.h bitset.h bitsetv.c ebitset.h \
48 bbitset.h bitset_stats.c bitsetv.h lbitset.c
50 # Additional bitset operations.
51 additional_bitsets_sources = \
52 bitsetv-print.h bitsetv-print.c
54 # timevars, stolen from GCC.
56 timevar.h timevar.c timevar.def
58 libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
59 libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)