X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3e75a2c92b12766add442d00a86d5ec1c67ce560..70b7c357476ed3525ddb5d2739e70690cfebb207:/examples/local.mk diff --git a/examples/local.mk b/examples/local.mk index 24763a85..3185976a 100644 --- a/examples/local.mk +++ b/examples/local.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2005, 2008-2012 Free Software Foundation, Inc. +# Copyright (C) 2005, 2008-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 @@ -16,13 +16,17 @@ dist_noinst_SCRIPTS = examples/extexi examples/test TEST_LOG_COMPILER = $(top_srcdir)/examples/test +AM_CXXFLAGS = \ + $(NO_STRICT_ALIAS_CXXFLAGS) \ + $(WARN_CXXFLAGS) $(WARN_CXXFLAGS_TEST) $(WERROR_CXXFLAGS) + ## ------------ ## ## Extracting. ## ## ------------ ## -doc = $(top_srcdir)/doc/bison.texinfo +doc = $(top_srcdir)/doc/bison.texi extexi = $(top_srcdir)/examples/extexi -extract = $(AWK) -f $(extexi) -v VERSION="$(VERSION)" $(doc) -- +extract = VERSION="$(VERSION)" $(PERL) -f $(extexi) $(doc) -- extracted = CLEANFILES += $(extracted) examples/extracted.stamp examples/extracted.stamp: $(doc) $(extexi)