"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile.am" between
gawk-5.0.1.tar.xz and gawk-5.1.0.tar.xz

About: GNU awk - pattern scanning and processing language.

Makefile.am  (gawk-5.0.1.tar.xz):Makefile.am  (gawk-5.1.0.tar.xz)
# #
# Makefile.am --- automake input file for gawk # Makefile.am --- automake input file for gawk
# #
# Copyright (C) 2000-2019 the Free Software Foundation, Inc. # Copyright (C) 2000-2020 the Free Software Foundation, Inc.
# #
# This file is part of GAWK, the GNU implementation of the # This file is part of GAWK, the GNU implementation of the
# AWK Programming Language. # AWK Programming Language.
# #
# GAWK is free software; you can redistribute it and/or modify # GAWK is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or # the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# GAWK is distributed in the hope that it will be useful, # GAWK is distributed in the hope that it will be useful,
skipping to change at line 30 skipping to change at line 30
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
# #
## process this file with automake to produce Makefile.in ## process this file with automake to produce Makefile.in
# This variable insures that aclocal runs # This variable insures that aclocal runs
# correctly after changing configure.ac # correctly after changing configure.ac
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
# This insures that make flags get passed down to child makes. AM_CFLAGS = @CFLAGS@
AM_MAKEFLAGS = 'CFLAGS=$(CFLAGS)' 'LDFLAGS=$(LDFLAGS)' AM_LDFLAGS = @LDFLAGS@
# Stuff to include in the dist that doesn't need it's own # Stuff to include in the dist that doesn't need it's own
# Makefile.am files # Makefile.am files
EXTRA_DIST = \ EXTRA_DIST = \
ChangeLog.0 \ ChangeLog.0 \
ChangeLog.1 \ ChangeLog.1 \
COPYING \ COPYING \
INSTALL \ INSTALL \
NEWS \ NEWS \
NEWS.0 \ NEWS.0 \
skipping to change at line 80 skipping to change at line 80
SUBDIRS += extension SUBDIRS += extension
endif endif
# Build in awklib after in doc, since we want to extract # Build in awklib after in doc, since we want to extract
# sample files if doc/gawk.texi changed. # sample files if doc/gawk.texi changed.
SUBDIRS += extras doc awklib po test SUBDIRS += extras doc awklib po test
# what to make and install # what to make and install
bin_PROGRAMS = gawk bin_PROGRAMS = gawk
include_HEADERS = gawkapi.h include_HEADERS = gawkapi.h
BUILT_SOURCES = $(srcdir)/pc/Makefile.tst
# sources for both gawk and dgawk # sources for both gawk and dgawk
base_sources = \ base_sources = \
array.c \ array.c \
awk.h \ awk.h \
awkgram.y \ awkgram.y \
builtin.c \ builtin.c \
cint_array.c \ cint_array.c \
cmd.h \ cmd.h \
command.y \ command.y \
skipping to change at line 173 skipping to change at line 174
name=`echo gawk | sed '$(transform)'` ; \ name=`echo gawk | sed '$(transform)'` ; \
if [ -f awk$(EXEEXT) ] && cmp awk$(EXEEXT) $${name}$(EXEEXT) > /dev/null; then rm -f awk$(EXEEXT); fi ; \ if [ -f awk$(EXEEXT) ] && cmp awk$(EXEEXT) $${name}$(EXEEXT) > /dev/null; then rm -f awk$(EXEEXT); fi ; \
rm -f gawk-$(VERSION)$(EXEEXT); exit 0) rm -f gawk-$(VERSION)$(EXEEXT); exit 0)
uninstall-recursive: uninstall-links uninstall-recursive: uninstall-links
# force there to be a gawk executable before running tests # force there to be a gawk executable before running tests
check-local: gawk$(EXEEXT) check-local: gawk$(EXEEXT)
# A little extra clean up when making distributions. # A little extra clean up when making distributions.
# And additional set up for the pc directory. dist-hook:
dist-hook: pc/Makefile.tst
cd "$(distdir)"/extension ; rm -f *.o *.so cd "$(distdir)"/extension ; rm -f *.o *.so
cd "$(srcdir)"/pc ; \ cd "$(srcdir)"/pc ; \
chmod u+w config.h ; \ chmod u+w config.h ; \
sed -n -f configpk.sed < ../configure.ac > /tmp/tmp.sed ; \ sed -n -f configpk.sed < ../configure.ac > /tmp/tmp.sed ; \
sed -f config.sed < ../configh.in > /tmp/config.tmp ; \ sed -f config.sed < ../configh.in > /tmp/config.tmp ; \
sed -f /tmp/tmp.sed < /tmp/config.tmp > config.h ; \ sed -f /tmp/tmp.sed < /tmp/config.tmp > config.h ; \
$(RM) /tmp/tmp.sed /tmp/config.tmp $(RM) /tmp/tmp.sed /tmp/config.tmp
pwd pwd
chmod u+w "$(distdir)"/pc/config.h chmod u+w "$(distdir)"/pc/config.h
cp "$(srcdir)"/pc/config.h "$(distdir)"/pc/config.h cp "$(srcdir)"/pc/config.h "$(distdir)"/pc/config.h
# Special rules for individual files # Special rules for individual files
awkgram.c: awkgram.y $(srcdir)/awkgram.c: awkgram.y
$(YACC) -o $@ $(AM_YFLAGS) $(YFLAGS) $< $(YACC) -o $@ $(AM_YFLAGS) $(YFLAGS) $<
sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@ sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@
command.c: command.y $(srcdir)/command.c: command.y
$(YACC) -o $@ -p zz $< $(YACC) -o $@ -p zz $<
sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@ sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@
pc/Makefile.tst: test/Makefile.in $(srcdir)/pc/Makefile.tst: test/Makefile.in pc/Makefile.tst.prologue pc/GenMakef
test -d pc || mkdir pc ileTst.awk
cat "$(top_srcdir)"/pc/Makefile.tst.prologue > pc/Makefile.tst $(AM_V_GEN)$(MKDIR_P) "$(srcdir)"/pc && \
awk -f "$(top_srcdir)"/pc/GenMakefileTst.awk "$(top_srcdir)"/test/Makefil cat "$(srcdir)"/pc/Makefile.tst.prologue > "$(srcdir)"/pc/Makefile.tst &&
e.in >> pc/Makefile.tst \
$(AWK) -f "$(srcdir)"/pc/GenMakefileTst.awk "$(srcdir)"/test/Makefile.in
>> "$(srcdir)"/pc/Makefile.tst
# This is for my development & testing. # This is for my development & testing.
efence: gawk efence: gawk
$(CC) $(LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LDADD) $(LIBS) - lefence $(CC) $(AM_LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LDADD) $(LIBS ) -lefence
diffout valgrind-scan: diffout valgrind-scan zos-diffout:
@cd test && $(MAKE) $(AM_MAKEFLAGS) $@ @cd test && $(MAKE) $(AM_MAKEFLAGS) $@
valgrind: valgrind:
cd test; rm -f log.[0-9]*; \ cd test; rm -f log.[0-9]*; \
make check VALGRIND="valgrind --leak-check=full --log-file=log.%p"; \ make check VALGRIND="valgrind --leak-check=full --log-file=log.%p"; \
make valgrind-scan make valgrind-scan
valgrind-noleak: valgrind-noleak:
cd test; rm -f log.[0-9]*; \ cd test; rm -f log.[0-9]*; \
make check VALGRIND="valgrind --leak-check=no --log-file=log.%p"; \ make check VALGRIND="valgrind --leak-check=no --log-file=log.%p"; \
 End of changes. 9 change blocks. 
14 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)