X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3d6ca339083c278d907c9f030f4ba6bc5ecb07f2..026816664ff8283a55f91915843a8ff0ac5cf86c:/src/local.mk diff --git a/src/local.mk b/src/local.mk index c05a4039..bbed7b76 100644 --- a/src/local.mk +++ b/src/local.mk @@ -1,21 +1,23 @@ -## Copyright (C) 2001-2012 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 -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see . +# 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 +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . LDADD = lib/libbison.a $(LIBINTL) bin_PROGRAMS = src/bison +# Prettify Automake-computed names of compiled objects. +src_bison_SHORTNAME = bison src_bison_CFLAGS = $(AM_CFLAGS) $(WERROR_CFLAGS) src_bison_SOURCES = \ @@ -109,7 +111,9 @@ BUILT_SOURCES += \ ## yacc. ## ## ------ ## -bin_SCRIPTS = $(YACC_SCRIPT) +if ENABLE_YACC +bin_SCRIPTS = src/yacc +endif EXTRA_SCRIPTS = src/yacc MOSTLYCLEANFILES += src/yacc