Merge branch 'branch-2.5'
[bison/ericb.git] / lib / local.mk
blob7b12dcc4c50d198283ba8c105a06bdee094df042
1 # Make bison/lib.
3 # Copyright (C) 2001, 2002, 2003, 2004, 2006, 2008 Free Software
4 # Foundation, Inc.
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 include lib/gnulib.mk
21 # Implementation of bitsets.
22 lib_libbison_a_SOURCES += \
23 lib/abitset.c \
24 lib/abitset.h \
25 lib/bbitset.h \
26 lib/bitset.c \
27 lib/bitset.h \
28 lib/bitset_stats.c \
29 lib/bitset_stats.h \
30 lib/bitsetv.c \
31 lib/bitsetv.h \
32 lib/ebitset.c \
33 lib/ebitset.h \
34 lib/lbitset.c \
35 lib/lbitset.h \
36 lib/libiberty.h \
37 lib/vbitset.c \
38 lib/vbitset.h
40 # Additional bitset operations.
41 lib_libbison_a_SOURCES += \
42 lib/bitsetv-print.h \
43 lib/bitsetv-print.c
45 # timevars, stolen from GCC.
46 lib_libbison_a_SOURCES += \
47 lib/timevar.h \
48 lib/timevar.c \
49 lib/timevar.def
51 # Non-gnulib sources in Bison's internal library.
52 lib_libbison_a_SOURCES += \
53 lib/get-errno.h \
54 lib/get-errno.c \
55 lib/subpipe.h \
56 lib/subpipe.c
58 # The Yacc compatibility library.
59 lib_LIBRARIES = $(YACC_LIBRARY)
60 EXTRA_LIBRARIES = lib/liby.a
61 lib_liby_a_SOURCES = lib/main.c lib/yyerror.c