X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e141f4d4bb6584bfbf13003047a2e48e9a6eab6a..ea99d6e6a02a06bd63e788393fd42cde5cb1fa71:/lib/local.mk?ds=sidebyside diff --git a/lib/local.mk b/lib/local.mk index e9edefb2..1069b50c 100644 --- a/lib/local.mk +++ b/lib/local.mk @@ -1,8 +1,5 @@ -# Make bison/lib. - -# Copyright (C) 2001-2004, 2006, 2008-2010 Free Software Foundation, -# Inc. - +# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or @@ -51,11 +48,11 @@ lib_libbison_a_SOURCES += \ # Non-gnulib sources in Bison's internal library. lib_libbison_a_SOURCES += \ lib/get-errno.h \ - lib/get-errno.c \ - lib/subpipe.h \ - lib/subpipe.c + lib/get-errno.c # The Yacc compatibility library. -lib_LIBRARIES = $(YACC_LIBRARY) +if ENABLE_YACC +lib_LIBRARIES = lib/liby.a EXTRA_LIBRARIES = lib/liby.a lib_liby_a_SOURCES = lib/main.c lib/yyerror.c +endif