]> git.saurik.com Git - bison.git/blame - lib/Makefile.am
and Akim Demaille <akim@epita.fr>
[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
AD
17
18AUTOMAKE_OPTIONS = ansi2knr
19
2c8a9dfa
AD
20CFLAGS = @CFLAGS@ $(WARNING_CFLAGS)
21
18539825
AD
22noinst_LIBRARIES = libbison.a
23
1a4648ff
AD
24# libintl.h in is build/intl, libgettext.h in src/intl/,
25# config.h in build/., and system.h is in src/src/.
26INCLUDES = -I$(top_builddir)/intl \
27 -I$(top_builddir) \
a64d6fe0 28 -I$(top_srcdir)/src \
1a4648ff
AD
29 -I$(top_srcdir)/intl \
30 -I$(top_srcdir)/lib
18539825 31
18569462 32# Heck, we are still using an old version of Automake which does not
842e8679
AD
33# understand inner AC_LIBOBJ (i.e., from Autoconf itself, not from
34# configure.in).
35EXTRA_DIST = malloc.c realloc.c strnlen.c
18569462 36
ff4a34be 37libbison_a_SOURCES = \
ec3bc396 38 argmatch.h argmatch.c \
9208d17f 39 gettext.h \
22312b71 40 basename.c dirname.h dirname.c \
ff4a34be 41 getopt.h getopt.c getopt1.c \
68bd3b6b 42 hash.h hash.c \
ff4a34be 43 quote.h quote.c quotearg.h quotearg.c \
be2a1a68
AD
44 xalloc.h xmalloc.c xstrdup.c xstrndup.c \
45 readpipe.c
18539825 46
7086e707
AD
47# Implementation of bitsets
48libbison_a_SOURCES += \
ef017502 49 bbitset.h \
7086e707
AD
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
52
1565b720
AD
53# Additional bitset operations.
54libbison_a_SOURCES += \
55 bitsetv-print.h bitsetv-print.c
56
5b0d29bb 57libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
18539825 58libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)