]> git.saurik.com Git - bison.git/blob - lib/local.mk
1235a0e48e637a067dc66cbfc4b88fcca87ce6b9
[bison.git] / lib / local.mk
1 # Copyright (C) 2001-2012 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 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
16 include lib/gnulib.mk
17
18 # Implementation of bitsets.
19 lib_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.
38 lib_libbison_a_SOURCES += \
39 lib/bitsetv-print.h \
40 lib/bitsetv-print.c
41
42 # timevars, stolen from GCC.
43 lib_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.
49 lib_libbison_a_SOURCES += \
50 lib/get-errno.h \
51 lib/get-errno.c
52
53 # The Yacc compatibility library.
54 lib_LIBRARIES = $(YACC_LIBRARY)
55 EXTRA_LIBRARIES = lib/liby.a
56 lib_liby_a_SOURCES = lib/main.c lib/yyerror.c