doc: factor ifnottex/iftex examples
[bison.git] / lib / local.mk
blob9e6347869b2ee43331d10cc7f16719d094267a47
1 ## Copyright (C) 2001-2015, 2018-2020 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.
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/>.
16 include lib/gnulib.mk
18 # Non-gnulib sources in Bison's internal library.
19 lib_libbison_a_SOURCES += \
20 lib/get-errno.h \
21 lib/get-errno.c \
22 lib/path-join.h \
23 lib/path-join.c
25 # The Yacc compatibility library.
26 if ENABLE_YACC
27 lib_LIBRARIES = lib/liby.a
28 EXTRA_LIBRARIES = lib/liby.a
29 lib_liby_a_SOURCES = lib/main.c lib/yyerror.c
30 endif