]> git.saurik.com Git - bison.git/blame - lib/local.mk
Merge tag 'v2.5.1_rc2'
[bison.git] / lib / local.mk
CommitLineData
2a559307
AD
1# Copyright (C) 2001-2012 Free Software Foundation, Inc.
2#
feda5527
AD
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 3 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, see <http://www.gnu.org/licenses/>.
15
16include lib/gnulib.mk
17
18# Implementation of bitsets.
19lib_libbison_a_SOURCES += \
20 lib/abitset.c \
21 lib/abitset.h \
22 lib/bbitset.h \
23 lib/bitset.c \
24 lib/bitset.h \
25 lib/bitset_stats.c \
26 lib/bitset_stats.h \
27 lib/bitsetv.c \
28 lib/bitsetv.h \
29 lib/ebitset.c \
30 lib/ebitset.h \
31 lib/lbitset.c \
32 lib/lbitset.h \
33 lib/libiberty.h \
34 lib/vbitset.c \
35 lib/vbitset.h
36
37# Additional bitset operations.
38lib_libbison_a_SOURCES += \
39 lib/bitsetv-print.h \
40 lib/bitsetv-print.c
41
42# timevars, stolen from GCC.
43lib_libbison_a_SOURCES += \
44 lib/timevar.h \
45 lib/timevar.c \
46 lib/timevar.def
47
48# Non-gnulib sources in Bison's internal library.
49lib_libbison_a_SOURCES += \
50 lib/get-errno.h \
f39ab286 51 lib/get-errno.c
feda5527
AD
52
53# The Yacc compatibility library.
54lib_LIBRARIES = $(YACC_LIBRARY)
55EXTRA_LIBRARIES = lib/liby.a
56lib_liby_a_SOURCES = lib/main.c lib/yyerror.c