]> git.saurik.com Git - bison.git/blame_incremental - lib/Makefile.am
(warn_at, warn, complain_at, complain, fatal_at, fatal): Don't invoke
[bison.git] / lib / Makefile.am
... / ...
CommitLineData
1## Copyright (C) 2001, 2002 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., 59 Temple Place, Suite 330, Boston, MA
16## 02111-1307 USA
17
18AM_CFLAGS = $(WARNING_CFLAGS)
19
20lib_LIBRARIES = liby.a
21noinst_LIBRARIES = libbison.a
22
23# config.h is in build/., and system.h is in src/src/.
24INCLUDES = -I$(top_builddir) \
25 -I$(top_srcdir)/src \
26 -I$(top_srcdir)/lib
27
28liby_a_SOURCES = main.c yyerror.c
29
30# Heck, we are still using an old version of Automake which does not
31# understand inner AC_LIBOBJ (i.e., from Autoconf itself, not from
32# configure.in).
33EXTRA_DIST = malloc.c realloc.c strnlen.c
34
35libbison_a_SOURCES = \
36 gettext.h \
37 basename.c dirname.h dirname.c \
38 get-errno.h get-errno.c \
39 getopt.h getopt.c getopt1.c \
40 hash.h hash.c \
41 mbswidth.h mbswidth.c \
42 quote.h quote.c quotearg.h quotearg.c \
43 subpipe.h subpipe.c unlocked-io.h \
44 xalloc.h xmalloc.c xstrdup.c xstrndup.c \
45 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
46
47# Implementation of bitsets
48bitsets_sources = \
49libiberty.h \
50abitset.c bitset.c bitset_stats.h ebitset.c lbitset.h \
51abitset.h bitset.h bitsetv.c ebitset.h \
52bbitset.h bitset_stats.c bitsetv.h lbitset.c
53
54# Additional bitset operations.
55additional_bitsets_sources = \
56 bitsetv-print.h bitsetv-print.c
57
58# timevars, stolen from GCC.
59timevars_sources = \
60 timevar.h timevar.c timevar.def
61
62libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
63libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)