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 AUTOMAKE_OPTIONS = ansi2knr
20 CFLAGS = @CFLAGS@ $(WARNING_CFLAGS)
22 noinst_LIBRARIES = libbison.a
24 # libintl.h in is build/intl, libgettext.h in src/intl/,
25 # config.h in build/., and system.h is in src/src/.
26 INCLUDES = -I$(top_builddir)/intl \
29 -I$(top_srcdir)/intl \
32 # Heck, we are still using an old version of Automake which does not
33 # understand inner AC_LIBOBJ (i.e., from Autoconf itself, not from
35 EXTRA_DIST = malloc.c realloc.c strnlen.c
37 libbison_a_SOURCES = \
38 argmatch.h argmatch.c \
40 basename.c dirname.h dirname.c \
41 getopt.h getopt.c getopt1.c \
43 quote.h quote.c quotearg.h quotearg.c \
44 xalloc.h xmalloc.c xstrdup.c xstrndup.c \
47 # Implementation of bitsets
48 libbison_a_SOURCES += \
50 bitset-int.h bitset.h bitsetv.h ebitset.h lbitset.h sbitset.h \
51 bitset.c bitsetv.c ebitset.c lbitset.c sbitset.c
53 # Additional bitset operations.
54 libbison_a_SOURCES += \
55 bitsetv-print.h bitsetv-print.c
57 libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
58 libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)