]> git.saurik.com Git - bison.git/blame - lib/Makefile.am
* lib/.cvsignore: Add charset.alias.
[bison.git] / lib / Makefile.am
CommitLineData
3b2942e6 1# Make bison/lib.
2c8a9dfa 2
3b2942e6 3# Copyright (C) 2001, 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
2c8a9dfa 4
3b2942e6
PE
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2, or (at your option)
8# any later version.
2c8a9dfa 9
3b2942e6
PE
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
18539825 14
3b2942e6
PE
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18# 02110-1301, USA.
2c8a9dfa 19
3b2942e6 20include gnulib.mk
1f14d97a 21
10f429ef 22AM_CFLAGS = $(WARNING_CFLAGS)
18539825 23
3b2942e6 24# Implementation of bitsets.
81fe8b23 25bitsets_sources = \
94a23f96
PE
26 abitset.c abitset.h bbitset.h bitset.c bitset.h bitset_stats.c \
27 bitset_stats.h bitsetv.c bitsetv.h ebitset.c ebitset.h lbitset.c \
28 lbitset.h libiberty.h vbitset.c vbitset.h
7086e707 29
1565b720 30# Additional bitset operations.
81fe8b23 31additional_bitsets_sources = \
3b2942e6 32 bitsetv-print.h bitsetv-print.c
1565b720 33
1509d42f 34# timevars, stolen from GCC.
81fe8b23 35timevars_sources = \
3b2942e6 36 timevar.h timevar.c timevar.def
1509d42f 37
3b2942e6
PE
38# Non-gnulib sources in Bison's internal library.
39libbison_a_SOURCES += \
40 get-errno.h get-errno.c \
41 subpipe.h subpipe.c \
42 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
1f65350a 43
3b2942e6
PE
44# The Yacc compatibility library.
45lib_LIBRARIES = $(YACC_LIBRARY)
46EXTRA_LIBRARIES = liby.a
47liby_a_SOURCES = main.c yyerror.c