1
# Makefile.in generated by automake 1.16.5 from Makefile.am.
4
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18
# Makefile.am --- automake input file for gawk
20
# Copyright (C) 2000-2021 the Free Software Foundation, Inc.
22
# This file is part of GAWK, the GNU implementation of the
23
# AWK Programming Language.
25
# GAWK is free software; you can redistribute it and/or modify
26
# it under the terms of the GNU General Public License as published by
27
# the Free Software Foundation; either version 3 of the License, or
28
# (at your option) any later version.
30
# GAWK is distributed in the hope that it will be useful,
31
# but WITHOUT ANY WARRANTY; without even the implied warranty of
32
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33
# GNU General Public License for more details.
35
# You should have received a copy of the GNU General Public License
36
# along with this program; if not, write to the Free Software
37
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
44
if test -z '$(MAKELEVEL)'; then \
46
elif test -n '$(MAKE_HOST)'; then \
48
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
54
am__make_running_with_option = \
55
case $${target_option-} in \
57
*) echo "am__make_running_with_option: internal error: invalid" \
58
"target option '$${target_option-}' specified" >&2; \
62
sane_makeflags=$$MAKEFLAGS; \
63
if $(am__is_gnu_make); then \
64
sane_makeflags=$$MFLAGS; \
69
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
70
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
76
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
78
for flg in $$sane_makeflags; do \
79
test $$skip_next = yes && { skip_next=no; continue; }; \
82
-*I) strip_trailopt 'I'; skip_next=yes;; \
83
-*I?*) strip_trailopt 'I';; \
84
-*O) strip_trailopt 'O'; skip_next=yes;; \
85
-*O?*) strip_trailopt 'O';; \
86
-*l) strip_trailopt 'l'; skip_next=yes;; \
87
-*l?*) strip_trailopt 'l';; \
88
-[dEDm]) skip_next=yes;; \
89
-[JT]) skip_next=yes;; \
92
*$$target_option*) has_opt=yes; break;; \
96
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
97
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
98
pkgincludedir = $(includedir)/@PACKAGE@
99
pkglibdir = $(libdir)/@PACKAGE@
100
pkglibexecdir = $(libexecdir)/@PACKAGE@
101
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
102
install_sh_DATA = $(install_sh) -c -m 644
103
install_sh_PROGRAM = $(install_sh) -c
104
install_sh_SCRIPT = $(install_sh) -c
105
INSTALL_HEADER = $(INSTALL_DATA)
106
transform = $(program_transform_name)
113
build_triplet = @build@
114
host_triplet = @host@
116
# Build in extension before test so that
117
# ./configure && make check
118
# works properly too.
119
@ENABLE_EXTENSIONS_TRUE@am__append_1 = extension
120
bin_PROGRAMS = gawk$(EXEEXT)
122
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
123
am__aclocal_m4_deps = $(top_srcdir)/m4/arch.m4 \
124
$(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/gettext.m4 \
125
$(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \
126
$(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lcmessage.m4 \
127
$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
128
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libsigsegv.m4 \
129
$(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/mpfr.m4 \
130
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/noreturn.m4 \
131
$(top_srcdir)/m4/pma.m4 $(top_srcdir)/m4/po.m4 \
132
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/readline.m4 \
133
$(top_srcdir)/m4/socket.m4 \
134
$(top_srcdir)/m4/triplet-transformation.m4 \
135
$(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/configure.ac
136
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
138
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
139
$(am__configure_deps) $(include_HEADERS) $(am__DIST_COMMON)
140
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
141
configure.lineno config.status.lineno
142
mkinstalldirs = $(install_sh) -d
143
CONFIG_HEADER = config.h
144
CONFIG_CLEAN_FILES = gawkbug
145
CONFIG_CLEAN_VPATH_FILES =
146
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
147
"$(DESTDIR)$(includedir)"
148
PROGRAMS = $(bin_PROGRAMS)
149
am__objects_1 = array.$(OBJEXT) awkgram.$(OBJEXT) builtin.$(OBJEXT) \
150
cint_array.$(OBJEXT) command.$(OBJEXT) debug.$(OBJEXT) \
151
eval.$(OBJEXT) ext.$(OBJEXT) field.$(OBJEXT) \
152
floatcomp.$(OBJEXT) gawkapi.$(OBJEXT) gawkmisc.$(OBJEXT) \
153
int_array.$(OBJEXT) io.$(OBJEXT) main.$(OBJEXT) mpfr.$(OBJEXT) \
154
msg.$(OBJEXT) node.$(OBJEXT) profile.$(OBJEXT) re.$(OBJEXT) \
155
replace.$(OBJEXT) str_array.$(OBJEXT) symbol.$(OBJEXT) \
157
am_gawk_OBJECTS = $(am__objects_1)
158
gawk_OBJECTS = $(am_gawk_OBJECTS)
159
gawk_LDADD = $(LDADD)
161
gawk_DEPENDENCIES = support/libsupport.a $(am__DEPENDENCIES_1) \
162
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
163
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
164
$(am__DEPENDENCIES_1)
165
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
166
am__vpath_adj = case $$p in \
167
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
170
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
172
am__nobase_strip_setup = \
173
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
175
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
176
am__nobase_list = $(am__nobase_strip_setup); \
177
for p in $$list; do echo "$$p $$p"; done | \
178
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
179
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
180
if (++n[$$2] == $(am__install_max)) \
181
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
182
END { for (dir in files) print dir, files[dir] }'
184
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
185
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
186
am__uninstall_files_from_dir = { \
188
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
189
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
190
$(am__cd) "$$dir" && rm -f $$files; }; \
192
SCRIPTS = $(bin_SCRIPTS)
193
AM_V_P = $(am__v_P_@AM_V@)
194
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
197
AM_V_GEN = $(am__v_GEN_@AM_V@)
198
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
199
am__v_GEN_0 = @echo " GEN " $@;
201
AM_V_at = $(am__v_at_@AM_V@)
202
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
205
DEFAULT_INCLUDES = -I.@am__isrc@
206
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
207
am__maybe_remake_depfiles = depfiles
208
am__depfiles_remade = ./$(DEPDIR)/array.Po ./$(DEPDIR)/awkgram.Po \
209
./$(DEPDIR)/builtin.Po ./$(DEPDIR)/cint_array.Po \
210
./$(DEPDIR)/command.Po ./$(DEPDIR)/debug.Po \
211
./$(DEPDIR)/eval.Po ./$(DEPDIR)/ext.Po ./$(DEPDIR)/field.Po \
212
./$(DEPDIR)/floatcomp.Po ./$(DEPDIR)/gawkapi.Po \
213
./$(DEPDIR)/gawkmisc.Po ./$(DEPDIR)/int_array.Po \
214
./$(DEPDIR)/io.Po ./$(DEPDIR)/main.Po ./$(DEPDIR)/mpfr.Po \
215
./$(DEPDIR)/msg.Po ./$(DEPDIR)/node.Po ./$(DEPDIR)/profile.Po \
216
./$(DEPDIR)/re.Po ./$(DEPDIR)/replace.Po \
217
./$(DEPDIR)/str_array.Po ./$(DEPDIR)/symbol.Po \
218
./$(DEPDIR)/version.Po
220
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
221
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
222
AM_V_CC = $(am__v_CC_@AM_V@)
223
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
224
am__v_CC_0 = @echo " CC " $@;
227
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
228
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
229
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
230
am__v_CCLD_0 = @echo " CCLD " $@;
232
am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \
233
-e s/c++$$/h++/ -e s/c$$/h/
234
YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS)
235
AM_V_YACC = $(am__v_YACC_@AM_V@)
236
am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@)
237
am__v_YACC_0 = @echo " YACC " $@;
239
YLWRAP = $(top_srcdir)/build-aux/ylwrap
240
SOURCES = $(gawk_SOURCES)
241
DIST_SOURCES = $(gawk_SOURCES)
242
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
243
ctags-recursive dvi-recursive html-recursive info-recursive \
244
install-data-recursive install-dvi-recursive \
245
install-exec-recursive install-html-recursive \
246
install-info-recursive install-pdf-recursive \
247
install-ps-recursive install-recursive installcheck-recursive \
248
installdirs-recursive pdf-recursive ps-recursive \
249
tags-recursive uninstall-recursive
250
am__can_run_installinfo = \
251
case $$AM_UPDATE_INFO_DIR in \
253
*) (install-info --version) >/dev/null 2>&1;; \
255
HEADERS = $(include_HEADERS)
256
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
257
distclean-recursive maintainer-clean-recursive
258
am__recursive_targets = \
259
$(RECURSIVE_TARGETS) \
260
$(RECURSIVE_CLEAN_TARGETS) \
261
$(am__extra_recursive_targets)
262
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
263
cscope distdir distdir-am dist dist-all distcheck
264
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
266
# Read a list of newline-separated strings from the standard input,
267
# and print each of them once, without duplicates. Input order is
269
am__uniquify_input = $(AWK) '\
270
BEGIN { nonempty = 0; } \
271
{ items[$$0] = 1; nonempty = 1; } \
272
END { if (nonempty) { for (i in items) print i; }; } \
274
# Make sure the list of sources is unique. This is necessary because,
275
# e.g., the same source file might be shared among _SOURCES variables
276
# for different programs/libraries.
277
am__define_uniq_tagged_files = \
278
list='$(am__tagged_files)'; \
279
unique=`for i in $$list; do \
280
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
281
done | $(am__uniquify_input)`
282
DIST_SUBDIRS = support . extension extras doc awklib po test
283
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/configh.in \
284
$(srcdir)/gawkbug.in $(top_srcdir)/build-aux/ar-lib \
285
$(top_srcdir)/build-aux/compile \
286
$(top_srcdir)/build-aux/config.guess \
287
$(top_srcdir)/build-aux/config.rpath \
288
$(top_srcdir)/build-aux/config.sub \
289
$(top_srcdir)/build-aux/depcomp \
290
$(top_srcdir)/build-aux/install-sh \
291
$(top_srcdir)/build-aux/missing $(top_srcdir)/build-aux/ylwrap \
292
ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
293
awkgram.c build-aux/ChangeLog build-aux/ar-lib \
294
build-aux/compile build-aux/config.guess \
295
build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
296
build-aux/install-sh build-aux/ltmain.sh build-aux/missing \
297
build-aux/texinfo.tex build-aux/ylwrap command.c
298
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
299
distdir = $(PACKAGE)-$(VERSION)
300
top_distdir = $(distdir)
301
am__remove_distdir = \
302
if test -d "$(distdir)"; then \
303
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
304
&& rm -rf "$(distdir)" \
305
|| { sleep 5 && rm -rf "$(distdir)"; }; \
307
am__post_remove_distdir = $(am__remove_distdir)
310
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
311
sed_rest='s,^[^/]*/*,,'; \
312
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
313
sed_butlast='s,/*[^/]*$$,,'; \
314
while test -n "$$dir1"; do \
315
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
316
if test "$$first" != "."; then \
317
if test "$$first" = ".."; then \
318
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
319
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
321
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
322
if test "$$first2" = "$$first"; then \
323
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
327
dir0="$$dir0"/"$$first"; \
330
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
333
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.lz $(distdir).tar.xz
335
DIST_TARGETS = dist-lzip dist-xz dist-gzip
336
# Exists only to be overridden by the user if desired.
337
AM_DISTCHECK_DVI_TARGET = dvi
338
distuninstallcheck_listfiles = find . -type f -print
339
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
340
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
341
distcleancheck_listfiles = find . -type f -print
343
# Directory for gawk's data files. Automake supplies datadir.
344
pkgdatadir = $(datadir)/awk
347
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
349
AUTOCONF = @AUTOCONF@
350
AUTOHEADER = @AUTOHEADER@
351
AUTOMAKE = @AUTOMAKE@
354
CCDEPMODE = @CCDEPMODE@
357
CPPFLAGS = @CPPFLAGS@
360
CYGPATH_W = @CYGPATH_W@
361
DEFS = -DDEFPATH=$(DEFPATH) -DDEFLIBPATH=$(DEFLIBPATH) -DSHLIBEXT=$(SHLIBEXT) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(datadir)/locale"' -I"$(srcdir)/support"
369
GAWKLIBEXT = @GAWKLIBEXT@
370
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
372
GMSGFMT_015 = @GMSGFMT_015@
374
HAVE_LIBSIGSEGV = @HAVE_LIBSIGSEGV@
376
INSTALL_DATA = @INSTALL_DATA@
377
INSTALL_PROGRAM = @INSTALL_PROGRAM@
378
INSTALL_SCRIPT = @INSTALL_SCRIPT@
379
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
380
INTLLIBS = @INTLLIBS@
381
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
383
LIBICONV = @LIBICONV@
387
LIBREADLINE = @LIBREADLINE@
389
LIBSIGSEGV = @LIBSIGSEGV@
390
LIBSIGSEGV_PREFIX = @LIBSIGSEGV_PREFIX@
392
LTLIBICONV = @LTLIBICONV@
393
LTLIBINTL = @LTLIBINTL@
394
LTLIBOBJS = @LTLIBOBJS@
395
LTLIBSIGSEGV = @LTLIBSIGSEGV@
396
MAKEINFO = @MAKEINFO@
399
MSGMERGE = @MSGMERGE@
400
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
403
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
404
PACKAGE_NAME = @PACKAGE_NAME@
405
PACKAGE_STRING = @PACKAGE_STRING@
406
PACKAGE_TARNAME = @PACKAGE_TARNAME@
407
PACKAGE_URL = @PACKAGE_URL@
408
PACKAGE_VERSION = @PACKAGE_VERSION@
409
PATH_SEPARATOR = @PATH_SEPARATOR@
413
SET_MAKE = @SET_MAKE@
415
SOCKET_LIBS = @SOCKET_LIBS@
419
XGETTEXT = @XGETTEXT@
420
XGETTEXT_015 = @XGETTEXT_015@
421
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
424
ZOS_FAIL = @ZOS_FAIL@
425
abs_builddir = @abs_builddir@
426
abs_srcdir = @abs_srcdir@
427
abs_top_builddir = @abs_top_builddir@
428
abs_top_srcdir = @abs_top_srcdir@
429
ac_ct_AR = @ac_ct_AR@
430
ac_ct_CC = @ac_ct_CC@
431
acl_shlibext = @acl_shlibext@
432
am__include = @am__include@
433
am__leading_dot = @am__leading_dot@
434
am__quote = @am__quote@
436
am__untar = @am__untar@
439
build_alias = @build_alias@
440
build_cpu = @build_cpu@
441
build_os = @build_os@
442
build_vendor = @build_vendor@
443
builddir = @builddir@
445
datarootdir = @datarootdir@
448
exec_prefix = @exec_prefix@
450
host_alias = @host_alias@
451
host_cpu = @host_cpu@
453
host_vendor = @host_vendor@
455
includedir = @includedir@
457
install_sh = @install_sh@
459
libexecdir = @libexecdir@
460
localedir = @localedir@
461
localstatedir = @localstatedir@
464
oldincludedir = @oldincludedir@
466
pkgextensiondir = @pkgextensiondir@
468
program_transform_name = @program_transform_name@
470
runstatedir = @runstatedir@
472
sharedstatedir = @sharedstatedir@
475
sysconfdir = @sysconfdir@
476
target_alias = @target_alias@
477
top_build_prefix = @top_build_prefix@
478
top_builddir = @top_builddir@
479
top_srcdir = @top_srcdir@
481
# This variable insures that aclocal runs
482
# correctly after changing configure.ac
483
ACLOCAL_AMFLAGS = -I m4
485
AM_LDFLAGS = @LDFLAGS@
487
# Stuff to include in the dist that doesn't need it's own
507
# The order to do things in.
509
# Build in support first, since we need the support library.
511
# Build explicitly in "." in order to build gawk first, so
512
# that `make check' without a prior `make' works.
514
# Build in awklib after in doc, since we want to extract
515
# sample files if doc/gawk.texi changed.
516
SUBDIRS = support . $(am__append_1) extras doc awklib po test
517
bin_SCRIPTS = gawkbug
518
include_HEADERS = gawkapi.h
519
BUILT_SOURCES = $(srcdir)/pc/Makefile.tst
558
gawk_SOURCES = $(base_sources)
560
# Get extra libs as needed, Automake will supply LIBINTL and SOCKET_LIBS.
561
LDADD = support/libsupport.a \
562
$(LIBSIGSEGV) $(LIBINTL) $(SOCKET_LIBS) $(LIBREADLINE) $(LIBMPFR) \
566
# stuff for compiling gawk/pgawk
567
DEFPATH = '".$(PATH_SEPARATOR)$(pkgdatadir)"'
569
# shared library support:
570
SHLIBEXT = "\"$(GAWKLIBEXT)"\"
571
DEFLIBPATH = "\"$(pkgextensiondir)\""
573
# Get rid of core files when cleaning
574
CLEANFILES = core core.* $(bin_SCRIPTS)
576
# We want hard links for install-exec-hook, below
582
# For some make's, e.g. OpenBSD, that don't define this
584
all: $(BUILT_SOURCES) config.h
585
$(MAKE) $(AM_MAKEFLAGS) all-recursive
588
.SUFFIXES: .c .o .obj .y
589
am--refresh: Makefile
591
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
593
case '$(am__configure_deps)' in \
595
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
596
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
601
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
602
$(am__cd) $(top_srcdir) && \
603
$(AUTOMAKE) --gnu Makefile
604
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
607
echo ' $(SHELL) ./config.status'; \
608
$(SHELL) ./config.status;; \
610
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
611
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
614
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
615
$(SHELL) ./config.status --recheck
617
$(top_srcdir)/configure: $(am__configure_deps)
618
$(am__cd) $(srcdir) && $(AUTOCONF)
619
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
620
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
621
$(am__aclocal_m4_deps):
624
@test -f $@ || rm -f stamp-h1
625
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
627
stamp-h1: $(srcdir)/configh.in $(top_builddir)/config.status
629
cd $(top_builddir) && $(SHELL) ./config.status config.h
630
$(srcdir)/configh.in: $(am__configure_deps)
631
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
636
-rm -f config.h stamp-h1
637
gawkbug: $(top_builddir)/config.status $(srcdir)/gawkbug.in
638
cd $(top_builddir) && $(SHELL) ./config.status $@
639
install-binPROGRAMS: $(bin_PROGRAMS)
641
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
642
if test -n "$$list"; then \
643
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
644
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
646
for p in $$list; do echo "$$p $$p"; done | \
647
sed 's/$(EXEEXT)$$//' | \
648
while read p p1; do if test -f $$p \
649
; then echo "$$p"; echo "$$p"; else :; fi; \
651
sed -e 'p;s,.*/,,;n;h' \
653
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
654
sed 'N;N;N;s,\n, ,g' | \
655
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
656
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
657
if ($$2 == $$4) files[d] = files[d] " " $$1; \
658
else { print "f", $$3 "/" $$4, $$1; } } \
659
END { for (d in files) print "f", d, files[d] }' | \
660
while read type dir files; do \
661
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
662
test -z "$$files" || { \
663
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
664
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
668
uninstall-binPROGRAMS:
670
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
671
files=`for p in $$list; do echo "$$p"; done | \
672
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
673
-e 's/$$/$(EXEEXT)/' \
675
test -n "$$list" || exit 0; \
676
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
677
cd "$(DESTDIR)$(bindir)" && rm -f $$files
680
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
682
gawk$(EXEEXT): $(gawk_OBJECTS) $(gawk_DEPENDENCIES) $(EXTRA_gawk_DEPENDENCIES)
684
$(AM_V_CCLD)$(LINK) $(gawk_OBJECTS) $(gawk_LDADD) $(LIBS)
685
install-binSCRIPTS: $(bin_SCRIPTS)
687
@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
688
if test -n "$$list"; then \
689
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
690
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
692
for p in $$list; do \
693
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
694
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
696
sed -e 'p;s,.*/,,;n' \
698
-e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
699
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
700
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
701
if ($$2 == $$4) { files[d] = files[d] " " $$1; \
702
if (++n[d] == $(am__install_max)) { \
703
print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
704
else { print "f", d "/" $$4, $$1 } } \
705
END { for (d in files) print "f", d, files[d] }' | \
706
while read type dir files; do \
707
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
708
test -z "$$files" || { \
709
echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
710
$(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
714
uninstall-binSCRIPTS:
716
@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
717
files=`for p in $$list; do echo "$$p"; done | \
718
sed -e 's,.*/,,;$(transform)'`; \
719
dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
727
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ # am--include-marker
728
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/awkgram.Po@am__quote@ # am--include-marker
729
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/builtin.Po@am__quote@ # am--include-marker
730
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cint_array.Po@am__quote@ # am--include-marker
731
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command.Po@am__quote@ # am--include-marker
732
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/debug.Po@am__quote@ # am--include-marker
733
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eval.Po@am__quote@ # am--include-marker
734
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ext.Po@am__quote@ # am--include-marker
735
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/field.Po@am__quote@ # am--include-marker
736
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/floatcomp.Po@am__quote@ # am--include-marker
737
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gawkapi.Po@am__quote@ # am--include-marker
738
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gawkmisc.Po@am__quote@ # am--include-marker
739
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_array.Po@am__quote@ # am--include-marker
740
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io.Po@am__quote@ # am--include-marker
741
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ # am--include-marker
742
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpfr.Po@am__quote@ # am--include-marker
743
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg.Po@am__quote@ # am--include-marker
744
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/node.Po@am__quote@ # am--include-marker
745
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/profile.Po@am__quote@ # am--include-marker
746
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/re.Po@am__quote@ # am--include-marker
747
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/replace.Po@am__quote@ # am--include-marker
748
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/str_array.Po@am__quote@ # am--include-marker
749
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symbol.Po@am__quote@ # am--include-marker
750
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@ # am--include-marker
752
$(am__depfiles_remade):
754
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
756
am--depfiles: $(am__depfiles_remade)
759
@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
760
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
761
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
762
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
763
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
764
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
767
@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
768
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
769
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
770
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
771
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
772
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
775
$(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE)
776
install-includeHEADERS: $(include_HEADERS)
778
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
779
if test -n "$$list"; then \
780
echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
781
$(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
783
for p in $$list; do \
784
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
786
done | $(am__base_list) | \
787
while read files; do \
788
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
789
$(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
792
uninstall-includeHEADERS:
794
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
795
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
796
dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
798
# This directory's subdirectories are mostly independent; you can cd
799
# into them and run 'make' without going through this Makefile.
800
# To change the values of 'make' variables: instead of editing Makefiles,
801
# (1) if the variable is set in 'config.status', edit 'config.status'
802
# (which will cause the Makefiles to be regenerated when you run 'make');
803
# (2) otherwise, pass the desired values on the 'make' command line.
804
$(am__recursive_targets):
806
if $(am__make_keepgoing); then \
807
failcom='fail=yes'; \
812
target=`echo $@ | sed s/-recursive//`; \
814
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
815
*) list='$(SUBDIRS)' ;; \
817
for subdir in $$list; do \
818
echo "Making $$target in $$subdir"; \
819
if test "$$subdir" = "."; then \
821
local_target="$$target-am"; \
823
local_target="$$target"; \
825
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
828
if test "$$dot_seen" = "no"; then \
829
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
832
ID: $(am__tagged_files)
833
$(am__define_uniq_tagged_files); mkid -fID $$unique
837
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
840
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
841
include_option=--etags-include; \
844
include_option=--include; \
847
list='$(SUBDIRS)'; for subdir in $$list; do \
848
if test "$$subdir" = .; then :; else \
849
test ! -f $$subdir/TAGS || \
850
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
853
$(am__define_uniq_tagged_files); \
855
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
856
test -n "$$unique" || unique=$$empty_fix; \
857
if test $$# -gt 0; then \
858
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
861
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
865
ctags: ctags-recursive
868
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
869
$(am__define_uniq_tagged_files); \
870
test -z "$(CTAGS_ARGS)$$unique" \
871
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
875
here=`$(am__cd) $(top_builddir) && pwd` \
876
&& $(am__cd) $(top_srcdir) \
877
&& gtags -i $(GTAGS_ARGS) "$$here"
879
test ! -s cscope.files \
880
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
883
cscope.files: clean-cscope cscopelist
884
cscopelist: cscopelist-recursive
886
cscopelist-am: $(am__tagged_files)
887
list='$(am__tagged_files)'; \
888
case "$(srcdir)" in \
889
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
890
*) sdir=$(subdir)/$(srcdir) ;; \
892
for i in $$list; do \
893
if test -f "$$i"; then \
894
echo "$(subdir)/$$i"; \
898
done >> $(top_builddir)/cscope.files
901
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
902
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
903
distdir: $(BUILT_SOURCES)
904
$(MAKE) $(AM_MAKEFLAGS) distdir-am
906
distdir-am: $(DISTFILES)
907
$(am__remove_distdir)
908
test -d "$(distdir)" || mkdir "$(distdir)"
909
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
910
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
911
list='$(DISTFILES)'; \
912
dist_files=`for file in $$list; do echo $$file; done | \
913
sed -e "s|^$$srcdirstrip/||;t" \
914
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
915
case $$dist_files in \
916
*/*) $(MKDIR_P) `echo "$$dist_files" | \
917
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
920
for file in $$dist_files; do \
921
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
922
if test -d $$d/$$file; then \
923
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
924
if test -d "$(distdir)/$$file"; then \
925
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
927
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
928
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
929
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
931
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
933
test -f "$(distdir)/$$file" \
934
|| cp -p $$d/$$file "$(distdir)/$$file" \
938
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
939
if test "$$subdir" = .; then :; else \
941
|| test -d "$(distdir)/$$subdir" \
942
|| $(MKDIR_P) "$(distdir)/$$subdir" \
944
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
946
new_distdir=$$reldir; \
947
dir1=$$subdir; dir2="$(top_distdir)"; \
949
new_top_distdir=$$reldir; \
950
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
951
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
952
($(am__cd) $$subdir && \
953
$(MAKE) $(AM_MAKEFLAGS) \
954
top_distdir="$$new_top_distdir" \
955
distdir="$$new_distdir" \
956
am__remove_distdir=: \
957
am__skip_length_check=: \
958
am__skip_mode_fix=: \
963
$(MAKE) $(AM_MAKEFLAGS) \
964
top_distdir="$(top_distdir)" distdir="$(distdir)" \
966
-test -n "$(am__skip_mode_fix)" \
967
|| find "$(distdir)" -type d ! -perm -755 \
968
-exec chmod u+rwx,go+rx {} \; -o \
969
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
970
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
971
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
972
|| chmod -R a+r "$(distdir)"
974
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
975
$(am__post_remove_distdir)
978
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
979
$(am__post_remove_distdir)
981
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
982
$(am__post_remove_distdir)
984
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
985
$(am__post_remove_distdir)
988
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
989
$(am__post_remove_distdir)
992
@echo WARNING: "Support for distribution archives compressed with" \
993
"legacy program 'compress' is deprecated." >&2
994
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
995
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
996
$(am__post_remove_distdir)
999
@echo WARNING: "Support for shar distribution archives is" \
1001
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1002
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
1003
$(am__post_remove_distdir)
1006
-rm -f $(distdir).zip
1007
zip -rq $(distdir).zip $(distdir)
1008
$(am__post_remove_distdir)
1011
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1012
$(am__post_remove_distdir)
1014
# This target untars the dist file and tries a VPATH configuration. Then
1015
# it guarantees that the distribution is self-contained by making another
1018
case '$(DIST_ARCHIVES)' in \
1020
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
1022
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1024
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1026
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1028
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1030
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
1032
unzip $(distdir).zip ;;\
1034
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
1036
chmod -R a-w $(distdir)
1037
chmod u+w $(distdir)
1038
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1039
chmod a-w $(distdir)
1040
test -d $(distdir)/_build || exit 0; \
1041
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1042
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1044
&& $(am__cd) $(distdir)/_build/sub \
1045
&& ../../configure \
1046
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
1047
$(DISTCHECK_CONFIGURE_FLAGS) \
1048
--srcdir=../.. --prefix="$$dc_install_base" \
1049
&& $(MAKE) $(AM_MAKEFLAGS) \
1050
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
1051
&& $(MAKE) $(AM_MAKEFLAGS) check \
1052
&& $(MAKE) $(AM_MAKEFLAGS) install \
1053
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
1054
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
1055
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1056
distuninstallcheck \
1057
&& chmod -R a-w "$$dc_install_base" \
1059
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1060
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1061
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1062
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1063
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1064
} || { rm -rf "$$dc_destdir"; exit 1; }) \
1065
&& rm -rf "$$dc_destdir" \
1066
&& $(MAKE) $(AM_MAKEFLAGS) dist \
1067
&& rm -rf $(DIST_ARCHIVES) \
1068
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1071
$(am__post_remove_distdir)
1072
@(echo "$(distdir) archives ready for distribution: "; \
1073
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1074
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1076
@test -n '$(distuninstallcheck_dir)' || { \
1077
echo 'ERROR: trying to run $@ with an empty' \
1078
'$$(distuninstallcheck_dir)' >&2; \
1081
$(am__cd) '$(distuninstallcheck_dir)' || { \
1082
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1085
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1086
|| { echo "ERROR: files left after uninstall:" ; \
1087
if test -n "$(DESTDIR)"; then \
1088
echo " (check DESTDIR support)"; \
1090
$(distuninstallcheck_listfiles) ; \
1092
distcleancheck: distclean
1093
@if test '$(srcdir)' = . ; then \
1094
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1097
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1098
|| { echo "ERROR: files left in build directory after distclean:" ; \
1099
$(distcleancheck_listfiles) ; \
1102
$(MAKE) $(AM_MAKEFLAGS) check-local
1103
check: $(BUILT_SOURCES)
1104
$(MAKE) $(AM_MAKEFLAGS) check-recursive
1105
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(HEADERS) config.h
1106
installdirs: installdirs-recursive
1108
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"; do \
1109
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1111
install: $(BUILT_SOURCES)
1112
$(MAKE) $(AM_MAKEFLAGS) install-recursive
1113
install-exec: $(BUILT_SOURCES)
1114
$(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
1115
install-data: install-data-recursive
1116
uninstall: uninstall-recursive
1119
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1121
installcheck: installcheck-recursive
1123
if test -z '$(STRIP)'; then \
1124
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1125
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1128
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1129
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1130
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1132
mostlyclean-generic:
1135
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1138
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1139
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1141
maintainer-clean-generic:
1142
@echo "This command is intended for maintainers to use"
1143
@echo "it deletes files that may require special tools to rebuild."
1146
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1147
clean: clean-recursive
1149
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
1151
distclean: distclean-recursive
1152
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1153
-rm -f ./$(DEPDIR)/array.Po
1154
-rm -f ./$(DEPDIR)/awkgram.Po
1155
-rm -f ./$(DEPDIR)/builtin.Po
1156
-rm -f ./$(DEPDIR)/cint_array.Po
1157
-rm -f ./$(DEPDIR)/command.Po
1158
-rm -f ./$(DEPDIR)/debug.Po
1159
-rm -f ./$(DEPDIR)/eval.Po
1160
-rm -f ./$(DEPDIR)/ext.Po
1161
-rm -f ./$(DEPDIR)/field.Po
1162
-rm -f ./$(DEPDIR)/floatcomp.Po
1163
-rm -f ./$(DEPDIR)/gawkapi.Po
1164
-rm -f ./$(DEPDIR)/gawkmisc.Po
1165
-rm -f ./$(DEPDIR)/int_array.Po
1166
-rm -f ./$(DEPDIR)/io.Po
1167
-rm -f ./$(DEPDIR)/main.Po
1168
-rm -f ./$(DEPDIR)/mpfr.Po
1169
-rm -f ./$(DEPDIR)/msg.Po
1170
-rm -f ./$(DEPDIR)/node.Po
1171
-rm -f ./$(DEPDIR)/profile.Po
1172
-rm -f ./$(DEPDIR)/re.Po
1173
-rm -f ./$(DEPDIR)/replace.Po
1174
-rm -f ./$(DEPDIR)/str_array.Po
1175
-rm -f ./$(DEPDIR)/symbol.Po
1176
-rm -f ./$(DEPDIR)/version.Po
1178
distclean-am: clean-am distclean-compile distclean-generic \
1179
distclean-hdr distclean-local distclean-tags
1185
html: html-recursive
1189
info: info-recursive
1193
install-data-am: install-includeHEADERS
1195
install-dvi: install-dvi-recursive
1199
install-exec-am: install-binPROGRAMS install-binSCRIPTS
1201
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1202
install-html: install-html-recursive
1206
install-info: install-info-recursive
1212
install-pdf: install-pdf-recursive
1216
install-ps: install-ps-recursive
1222
maintainer-clean: maintainer-clean-recursive
1223
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1224
-rm -rf $(top_srcdir)/autom4te.cache
1225
-rm -f ./$(DEPDIR)/array.Po
1226
-rm -f ./$(DEPDIR)/awkgram.Po
1227
-rm -f ./$(DEPDIR)/builtin.Po
1228
-rm -f ./$(DEPDIR)/cint_array.Po
1229
-rm -f ./$(DEPDIR)/command.Po
1230
-rm -f ./$(DEPDIR)/debug.Po
1231
-rm -f ./$(DEPDIR)/eval.Po
1232
-rm -f ./$(DEPDIR)/ext.Po
1233
-rm -f ./$(DEPDIR)/field.Po
1234
-rm -f ./$(DEPDIR)/floatcomp.Po
1235
-rm -f ./$(DEPDIR)/gawkapi.Po
1236
-rm -f ./$(DEPDIR)/gawkmisc.Po
1237
-rm -f ./$(DEPDIR)/int_array.Po
1238
-rm -f ./$(DEPDIR)/io.Po
1239
-rm -f ./$(DEPDIR)/main.Po
1240
-rm -f ./$(DEPDIR)/mpfr.Po
1241
-rm -f ./$(DEPDIR)/msg.Po
1242
-rm -f ./$(DEPDIR)/node.Po
1243
-rm -f ./$(DEPDIR)/profile.Po
1244
-rm -f ./$(DEPDIR)/re.Po
1245
-rm -f ./$(DEPDIR)/replace.Po
1246
-rm -f ./$(DEPDIR)/str_array.Po
1247
-rm -f ./$(DEPDIR)/symbol.Po
1248
-rm -f ./$(DEPDIR)/version.Po
1250
maintainer-clean-am: distclean-am maintainer-clean-generic
1252
mostlyclean: mostlyclean-recursive
1254
mostlyclean-am: mostlyclean-compile mostlyclean-generic
1264
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
1265
uninstall-includeHEADERS
1267
.MAKE: $(am__recursive_targets) all check check-am install install-am \
1268
install-exec install-exec-am install-strip
1270
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1271
am--depfiles am--refresh check check-am check-local clean \
1272
clean-binPROGRAMS clean-cscope clean-generic cscope \
1273
cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1274
dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
1275
dist-zip dist-zstd distcheck distclean distclean-compile \
1276
distclean-generic distclean-hdr distclean-local distclean-tags \
1277
distcleancheck distdir distuninstallcheck dvi dvi-am html \
1278
html-am info info-am install install-am install-binPROGRAMS \
1279
install-binSCRIPTS install-data install-data-am install-dvi \
1280
install-dvi-am install-exec install-exec-am install-exec-hook \
1281
install-html install-html-am install-includeHEADERS \
1282
install-info install-info-am install-man install-pdf \
1283
install-pdf-am install-ps install-ps-am install-strip \
1284
installcheck installcheck-am installdirs installdirs-am \
1285
maintainer-clean maintainer-clean-generic mostlyclean \
1286
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
1287
tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
1288
uninstall-binSCRIPTS uninstall-includeHEADERS
1293
# First, add a link from gawk to gawk-X.Y.Z.
1295
# For GNU systems where gawk is awk, add a link to awk.
1296
# (This is done universally, which may not always be right, but
1297
# there's no easy way to distinguish GNU from non-GNU systems.)
1299
# Use the transform, in case --program-prefix=XXX
1301
(cd $(DESTDIR)$(bindir); \
1302
name=`echo gawk | sed '$(transform)'` ; \
1303
$(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
1304
if [ ! -f awk$(EXEEXT) ]; \
1305
then $(LN_S) $${name}$(EXEEXT) awk$(EXEEXT); \
1308
# Undo the above when uninstalling
1310
(cd $(DESTDIR)$(bindir); \
1311
name=`echo gawk | sed '$(transform)'` ; \
1312
if [ -f awk$(EXEEXT) ] && cmp awk$(EXEEXT) $${name}$(EXEEXT) > /dev/null; then rm -f awk$(EXEEXT); fi ; \
1313
rm -f gawk-$(VERSION)$(EXEEXT); exit 0)
1315
uninstall-recursive: uninstall-links
1317
# force there to be a gawk executable before running tests
1318
check-local: gawk$(EXEEXT)
1320
# A little extra clean up when making distributions.
1322
cd "$(distdir)"/extension ; rm -f *.o *.so
1323
cd "$(srcdir)"/pc ; \
1324
chmod u+w config.h ; \
1325
sed -n -f configpk.sed < ../configure.ac > /tmp/tmp.sed ; \
1326
sed -f config.sed < ../configh.in > /tmp/config.tmp ; \
1327
sed -f /tmp/tmp.sed < /tmp/config.tmp > config.h ; \
1328
$(RM) /tmp/tmp.sed /tmp/config.tmp
1330
chmod u+w "$(distdir)"/pc/config.h
1331
cp "$(srcdir)"/pc/config.h "$(distdir)"/pc/config.h
1333
# Special rules for individual files
1335
$(srcdir)/awkgram.c: awkgram.y
1336
$(YACC) -o $@ $(AM_YFLAGS) $(YFLAGS) $<
1337
sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@
1339
$(srcdir)/command.c: command.y
1340
$(YACC) -o $@ -p zz $<
1341
sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@
1343
$(srcdir)/pc/Makefile.tst: test/Makefile.in pc/Makefile.tst.prologue pc/GenMakefileTst.awk
1344
$(AM_V_GEN)$(MKDIR_P) "$(srcdir)"/pc && \
1345
cat "$(srcdir)"/pc/Makefile.tst.prologue > "$(srcdir)"/pc/Makefile.tst && \
1346
$(AWK) -f "$(srcdir)"/pc/GenMakefileTst.awk "$(srcdir)"/test/Makefile.in >> "$(srcdir)"/pc/Makefile.tst
1348
# This is for my development & testing.
1350
$(CC) $(AM_LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LDADD) $(LIBS) -lefence
1352
diffout valgrind-scan zos-diffout:
1353
@cd test && $(MAKE) $(AM_MAKEFLAGS) $@
1356
cd test; rm -f log.[0-9]*; \
1357
make check VALGRIND="valgrind --leak-check=full --log-file=log.%p"; \
1361
cd test; rm -f log.[0-9]*; \
1362
make check VALGRIND="valgrind --leak-check=no --log-file=log.%p"; \
1366
cd "$(srcdir)"/doc ; $(MAKE) spell
1371
# Tell versions [3.59,3.63) of GNU make to not export all variables.
1372
# Otherwise a system limit (for SysV at least) may be exceeded.