]> git.saurik.com Git - bison.git/blame - lib/Makefile.am
(libbison_a_SOURCES): Add mbswidth.h, mbswidth.c.
[bison.git] / lib / Makefile.am
CommitLineData
be2a1a68 1## Copyright (C) 2001, 2002 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
15## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
16## 02111-1307 USA
18539825 17
cd931d9b 18AM_CFLAGS = $(WARNING_CFLAGS)
2c8a9dfa 19
18539825
AD
20noinst_LIBRARIES = libbison.a
21
81fe8b23
PE
22# config.h is in build/., and system.h is in src/src/.
23INCLUDES = -I$(top_builddir) \
a64d6fe0 24 -I$(top_srcdir)/src \
1a4648ff 25 -I$(top_srcdir)/lib
18539825 26
18569462 27# Heck, we are still using an old version of Automake which does not
842e8679
AD
28# understand inner AC_LIBOBJ (i.e., from Autoconf itself, not from
29# configure.in).
30EXTRA_DIST = malloc.c realloc.c strnlen.c
18569462 31
ff4a34be 32libbison_a_SOURCES = \
9208d17f 33 gettext.h \
22312b71 34 basename.c dirname.h dirname.c \
ff4a34be 35 getopt.h getopt.c getopt1.c \
68bd3b6b 36 hash.h hash.c \
aad8382e 37 mbswidth.h mbswidth.c \
ff4a34be 38 quote.h quote.c quotearg.h quotearg.c \
6d55632c 39 subpipe.h subpipe.c unlocked-io.h \
be2a1a68 40 xalloc.h xmalloc.c xstrdup.c xstrndup.c \
81fe8b23 41 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
18539825 42
7086e707 43# Implementation of bitsets
81fe8b23 44bitsets_sources = \
613f5e1a
AD
45libiberty.h \
46abitset.c bitset.c bitset_stats.h ebitset.c lbitset.h \
47abitset.h bitset.h bitsetv.c ebitset.h \
48bbitset.h bitset_stats.c bitsetv.h lbitset.c
7086e707 49
1565b720 50# Additional bitset operations.
81fe8b23 51additional_bitsets_sources = \
1565b720
AD
52 bitsetv-print.h bitsetv-print.c
53
1509d42f 54# timevars, stolen from GCC.
81fe8b23 55timevars_sources = \
1509d42f
AD
56 timevar.h timevar.c timevar.def
57
5b0d29bb 58libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
18539825 59libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)