]> git.saurik.com Git - bison.git/blob - lib/local.mk
maint: re-anchor all .gitignore entries.
[bison.git] / lib / local.mk
1 # Make bison/lib.
2
3 # Copyright (C) 2001, 2002, 2003, 2004, 2006, 2008, 2009, 2010 Free
4 # Software Foundation, Inc.
5
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.
10 #
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.
15 #
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/>.
18
19 include lib/gnulib.mk
20
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
39
40 # Additional bitset operations.
41 lib_libbison_a_SOURCES += \
42 lib/bitsetv-print.h \
43 lib/bitsetv-print.c
44
45 # timevars, stolen from GCC.
46 lib_libbison_a_SOURCES += \
47 lib/timevar.h \
48 lib/timevar.c \
49 lib/timevar.def
50
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
56 # The Yacc compatibility library.
57 lib_LIBRARIES = $(YACC_LIBRARY)
58 EXTRA_LIBRARIES = lib/liby.a
59 lib_liby_a_SOURCES = lib/main.c lib/yyerror.c