]> git.saurik.com Git - bison.git/blobdiff - examples/local.mk
tests: use -fno-strict-aliasing with variants
[bison.git] / examples / local.mk
index 24763a85b1f66a929a339f6200ec75138aafcab9..3a6fcf0dbcf86f20e8394a8ff63d9d873fa6930b 100644 (file)
 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)