1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 # Makefile.am --- automake input file for gawk
21 # Copyright (C) 2000-2011 the Free Software Foundation, Inc.
23 # This file is part of GAWK, the GNU implementation of the
24 # AWK Programming Language.
26 # GAWK is free software; you can redistribute it and/or modify
27 # it under the terms of the GNU General Public License as published by
28 # the Free Software Foundation; either version 3 of the License, or
29 # (at your option) any later version.
31 # GAWK is distributed in the hope that it will be useful,
32 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 # GNU General Public License for more details.
36 # You should have received a copy of the GNU General Public License
37 # along with this program; if not, write to the Free Software
38 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
42 pkgincludedir = $(includedir)/@PACKAGE@
43 pkglibdir = $(libdir)/@PACKAGE@
44 pkglibexecdir = $(libexecdir)/@PACKAGE@
45 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
46 install_sh_DATA = $(install_sh) -c -m 644
47 install_sh_PROGRAM = $(install_sh) -c
48 install_sh_SCRIPT = $(install_sh) -c
49 INSTALL_HEADER = $(INSTALL_DATA)
50 transform = $(program_transform_name)
57 build_triplet = @build@
59 bin_PROGRAMS = gawk$(EXEEXT) pgawk$(EXEEXT) dgawk$(EXEEXT)
61 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
62 $(srcdir)/Makefile.in $(srcdir)/configh.in \
63 $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING ChangeLog \
64 INSTALL NEWS TODO awkgram.c command.c config.guess \
65 config.rpath config.sub depcomp install-sh missing \
67 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
68 am__aclocal_m4_deps = $(top_srcdir)/m4/arch.m4 \
69 $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/gettext.m4 \
70 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
71 $(top_srcdir)/m4/intmax_t.m4 $(top_srcdir)/m4/inttypes_h.m4 \
72 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \
73 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
74 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libsigsegv.m4 \
75 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \
76 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
77 $(top_srcdir)/m4/readline.m4 $(top_srcdir)/m4/socket.m4 \
78 $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \
79 $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/configure.ac
80 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
82 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
83 configure.lineno config.status.lineno
84 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
85 CONFIG_HEADER = config.h
87 CONFIG_CLEAN_VPATH_FILES =
88 am__installdirs = "$(DESTDIR)$(bindir)"
89 PROGRAMS = $(bin_PROGRAMS)
90 am__objects_1 = array.$(OBJEXT) awkgram.$(OBJEXT) builtin.$(OBJEXT) \
91 dfa.$(OBJEXT) ext.$(OBJEXT) field.$(OBJEXT) \
92 floatcomp.$(OBJEXT) gawkmisc.$(OBJEXT) getopt.$(OBJEXT) \
93 getopt1.$(OBJEXT) io.$(OBJEXT) main.$(OBJEXT) msg.$(OBJEXT) \
94 node.$(OBJEXT) random.$(OBJEXT) re.$(OBJEXT) regex.$(OBJEXT) \
95 replace.$(OBJEXT) version.$(OBJEXT)
96 am_dgawk_OBJECTS = $(am__objects_1) eval_d.$(OBJEXT) profile.$(OBJEXT) \
97 command.$(OBJEXT) debug.$(OBJEXT)
98 dgawk_OBJECTS = $(am_dgawk_OBJECTS)
100 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
101 $(am__DEPENDENCIES_1)
102 dgawk_DEPENDENCIES = $(am__DEPENDENCIES_2)
103 am_gawk_OBJECTS = $(am__objects_1) eval.$(OBJEXT) profile.$(OBJEXT)
104 gawk_OBJECTS = $(am_gawk_OBJECTS)
105 gawk_LDADD = $(LDADD)
106 gawk_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
107 $(am__DEPENDENCIES_1)
108 am_pgawk_OBJECTS = $(am__objects_1) eval_p.$(OBJEXT) \
110 pgawk_OBJECTS = $(am_pgawk_OBJECTS)
111 pgawk_LDADD = $(LDADD)
112 pgawk_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
113 $(am__DEPENDENCIES_1)
114 DEFAULT_INCLUDES = -I.@am__isrc@
115 depcomp = $(SHELL) $(top_srcdir)/depcomp
116 am__depfiles_maybe = depfiles
118 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
119 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
121 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
122 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
123 YLWRAP = $(top_srcdir)/ylwrap
124 SOURCES = $(dgawk_SOURCES) $(gawk_SOURCES) $(pgawk_SOURCES)
125 DIST_SOURCES = $(dgawk_SOURCES) $(gawk_SOURCES) $(pgawk_SOURCES)
126 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
127 html-recursive info-recursive install-data-recursive \
128 install-dvi-recursive install-exec-recursive \
129 install-html-recursive install-info-recursive \
130 install-pdf-recursive install-ps-recursive install-recursive \
131 installcheck-recursive installdirs-recursive pdf-recursive \
132 ps-recursive uninstall-recursive
133 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
134 distclean-recursive maintainer-clean-recursive
135 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
136 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
137 distdir dist dist-all distcheck
140 DIST_SUBDIRS = $(SUBDIRS)
141 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
142 distdir = $(PACKAGE)-$(VERSION)
143 top_distdir = $(distdir)
144 am__remove_distdir = \
145 { test ! -d "$(distdir)" \
146 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
147 && rm -fr "$(distdir)"; }; }
150 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
151 sed_rest='s,^[^/]*/*,,'; \
152 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
153 sed_butlast='s,/*[^/]*$$,,'; \
154 while test -n "$$dir1"; do \
155 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
156 if test "$$first" != "."; then \
157 if test "$$first" = ".."; then \
158 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
159 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
161 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
162 if test "$$first2" = "$$first"; then \
163 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
167 dir0="$$dir0"/"$$first"; \
170 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
173 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
175 distuninstallcheck_listfiles = find . -type f -print
177 # Directory for gawk's data files. Automake supplies datadir.
178 pkgdatadir = $(datadir)/awk
181 AUTOCONF = @AUTOCONF@
182 AUTOHEADER = @AUTOHEADER@
183 AUTOMAKE = @AUTOMAKE@
186 CCDEPMODE = @CCDEPMODE@
189 CPPFLAGS = @CPPFLAGS@
190 CYGPATH_W = @CYGPATH_W@
191 DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(datadir)/locale"'
198 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
200 GMSGFMT_015 = @GMSGFMT_015@
202 HAVE_LIBSIGSEGV = @HAVE_LIBSIGSEGV@
204 INSTALL_DATA = @INSTALL_DATA@
205 INSTALL_PROGRAM = @INSTALL_PROGRAM@
206 INSTALL_SCRIPT = @INSTALL_SCRIPT@
207 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
208 INTLLIBS = @INTLLIBS@
209 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
211 LIBICONV = @LIBICONV@
214 LIBREADLINE = @LIBREADLINE@
216 LIBSIGSEGV = @LIBSIGSEGV@
217 LIBSIGSEGV_PREFIX = @LIBSIGSEGV_PREFIX@
219 LTLIBICONV = @LTLIBICONV@
220 LTLIBINTL = @LTLIBINTL@
221 LTLIBOBJS = @LTLIBOBJS@
222 LTLIBSIGSEGV = @LTLIBSIGSEGV@
223 MAKEINFO = @MAKEINFO@
226 MSGFMT_015 = @MSGFMT_015@
227 MSGMERGE = @MSGMERGE@
230 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
231 PACKAGE_NAME = @PACKAGE_NAME@
232 PACKAGE_STRING = @PACKAGE_STRING@
233 PACKAGE_TARNAME = @PACKAGE_TARNAME@
234 PACKAGE_URL = @PACKAGE_URL@
235 PACKAGE_VERSION = @PACKAGE_VERSION@
236 PATH_SEPARATOR = @PATH_SEPARATOR@
238 SET_MAKE = @SET_MAKE@
240 SOCKET_LIBS = @SOCKET_LIBS@
244 XGETTEXT = @XGETTEXT@
245 XGETTEXT_015 = @XGETTEXT_015@
246 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
249 abs_builddir = @abs_builddir@
250 abs_srcdir = @abs_srcdir@
251 abs_top_builddir = @abs_top_builddir@
252 abs_top_srcdir = @abs_top_srcdir@
253 ac_ct_CC = @ac_ct_CC@
254 am__include = @am__include@
255 am__leading_dot = @am__leading_dot@
256 am__quote = @am__quote@
258 am__untar = @am__untar@
261 build_alias = @build_alias@
262 build_cpu = @build_cpu@
263 build_os = @build_os@
264 build_vendor = @build_vendor@
265 builddir = @builddir@
267 datarootdir = @datarootdir@
270 exec_prefix = @exec_prefix@
272 host_alias = @host_alias@
273 host_cpu = @host_cpu@
275 host_vendor = @host_vendor@
277 includedir = @includedir@
279 install_sh = @install_sh@
281 libexecdir = @libexecdir@
282 localedir = @localedir@
283 localstatedir = @localstatedir@
286 oldincludedir = @oldincludedir@
289 program_transform_name = @program_transform_name@
292 sharedstatedir = @sharedstatedir@
294 sysconfdir = @sysconfdir@
295 target_alias = @target_alias@
296 top_build_prefix = @top_build_prefix@
297 top_builddir = @top_builddir@
298 top_srcdir = @top_srcdir@
300 # This variable insures that aclocal runs
301 # correctly after changing configure.ac
302 ACLOCAL_AMFLAGS = -I m4
304 # This insures that make flags get passed down to child makes.
305 AM_MAKEFLAGS = 'CFLAGS=$(CFLAGS)' 'LDFLAGS=$(LDFLAGS)'
307 # Stuff to include in the dist that doesn't need it's own
341 # It's OK for the generated file `version.c' not to be removed by
343 distcleancheck_listfiles = \
344 find . -type f -print | grep -v '^\./version\.c$$'
347 # The order to do things in.
348 # Build explicitly in "." in order to build gawk first, so
349 # that `make check' without a prior `make' works.
358 # sources for both gawk and pgawk
392 gawk_SOURCES = $(base_sources) eval.c profile.c
393 pgawk_SOURCES = $(base_sources) eval_p.c profile_p.c
394 dgawk_SOURCES = $(base_sources) eval_d.c profile.c cmd.h command.y debug.c
396 # Get extra libs as needed, Automake will supply LIBINTL and SOCKET_LIBS.
397 LDADD = $(LIBSIGSEGV) $(LIBINTL) $(SOCKET_LIBS)
398 dgawk_LDADD = $(LDADD) @LIBREADLINE@
400 # stuff for compiling gawk/pgawk
401 DEFPATH = '".$(PATH_SEPARATOR)$(pkgdatadir)"'
403 # Get rid of core files when cleaning
404 CLEANFILES = core core.*
405 MAINTAINERCLEANFILES = version.c
407 # We want hard links for install-exec-hook, below
410 $(MAKE) $(AM_MAKEFLAGS) all-recursive
413 .SUFFIXES: .c .o .obj .y
416 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
418 case '$(am__configure_deps)' in \
420 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
421 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
426 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
427 $(am__cd) $(top_srcdir) && \
428 $(AUTOMAKE) --gnu Makefile
430 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
433 echo ' $(SHELL) ./config.status'; \
434 $(SHELL) ./config.status;; \
436 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
437 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
440 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
441 $(SHELL) ./config.status --recheck
443 $(top_srcdir)/configure: $(am__configure_deps)
444 $(am__cd) $(srcdir) && $(AUTOCONF)
445 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
446 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
447 $(am__aclocal_m4_deps):
450 @if test ! -f $@; then \
452 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
455 stamp-h1: $(srcdir)/configh.in $(top_builddir)/config.status
457 cd $(top_builddir) && $(SHELL) ./config.status config.h
458 $(srcdir)/configh.in: $(am__configure_deps)
459 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
464 -rm -f config.h stamp-h1
465 install-binPROGRAMS: $(bin_PROGRAMS)
467 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
468 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
469 for p in $$list; do echo "$$p $$p"; done | \
470 sed 's/$(EXEEXT)$$//' | \
471 while read p p1; do if test -f $$p; \
472 then echo "$$p"; echo "$$p"; else :; fi; \
474 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
475 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
476 sed 'N;N;N;s,\n, ,g' | \
477 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
478 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
479 if ($$2 == $$4) files[d] = files[d] " " $$1; \
480 else { print "f", $$3 "/" $$4, $$1; } } \
481 END { for (d in files) print "f", d, files[d] }' | \
482 while read type dir files; do \
483 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
484 test -z "$$files" || { \
485 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
486 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
490 uninstall-binPROGRAMS:
492 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
493 files=`for p in $$list; do echo "$$p"; done | \
494 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
495 -e 's/$$/$(EXEEXT)/' `; \
496 test -n "$$list" || exit 0; \
497 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
498 cd "$(DESTDIR)$(bindir)" && rm -f $$files
501 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
502 dgawk$(EXEEXT): $(dgawk_OBJECTS) $(dgawk_DEPENDENCIES)
503 @rm -f dgawk$(EXEEXT)
504 $(LINK) $(dgawk_OBJECTS) $(dgawk_LDADD) $(LIBS)
505 gawk$(EXEEXT): $(gawk_OBJECTS) $(gawk_DEPENDENCIES)
507 $(LINK) $(gawk_OBJECTS) $(gawk_LDADD) $(LIBS)
508 pgawk$(EXEEXT): $(pgawk_OBJECTS) $(pgawk_DEPENDENCIES)
509 @rm -f pgawk$(EXEEXT)
510 $(LINK) $(pgawk_OBJECTS) $(pgawk_LDADD) $(LIBS)
518 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@
519 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/awkgram.Po@am__quote@
520 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/builtin.Po@am__quote@
521 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command.Po@am__quote@
522 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/debug.Po@am__quote@
523 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dfa.Po@am__quote@
524 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eval.Po@am__quote@
525 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eval_d.Po@am__quote@
526 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eval_p.Po@am__quote@
527 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ext.Po@am__quote@
528 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/field.Po@am__quote@
529 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/floatcomp.Po@am__quote@
530 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gawkmisc.Po@am__quote@
531 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
532 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
533 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io.Po@am__quote@
534 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
535 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg.Po@am__quote@
536 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/node.Po@am__quote@
537 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/profile.Po@am__quote@
538 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/profile_p.Po@am__quote@
539 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random.Po@am__quote@
540 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/re.Po@am__quote@
541 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex.Po@am__quote@
542 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/replace.Po@am__quote@
543 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
546 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
547 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
548 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
549 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
550 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
553 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
554 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
555 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
556 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
557 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
560 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
562 # This directory's subdirectories are mostly independent; you can cd
563 # into them and run `make' without going through this Makefile.
564 # To change the values of `make' variables: instead of editing Makefiles,
565 # (1) if the variable is set in `config.status', edit `config.status'
566 # (which will cause the Makefiles to be regenerated when you run `make');
567 # (2) otherwise, pass the desired values on the `make' command line.
568 $(RECURSIVE_TARGETS):
569 @fail= failcom='exit 1'; \
570 for f in x $$MAKEFLAGS; do \
573 *k*) failcom='fail=yes';; \
577 target=`echo $@ | sed s/-recursive//`; \
578 list='$(SUBDIRS)'; for subdir in $$list; do \
579 echo "Making $$target in $$subdir"; \
580 if test "$$subdir" = "."; then \
582 local_target="$$target-am"; \
584 local_target="$$target"; \
586 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
589 if test "$$dot_seen" = "no"; then \
590 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
593 $(RECURSIVE_CLEAN_TARGETS):
594 @fail= failcom='exit 1'; \
595 for f in x $$MAKEFLAGS; do \
598 *k*) failcom='fail=yes';; \
603 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
604 *) list='$(SUBDIRS)' ;; \
606 rev=''; for subdir in $$list; do \
607 if test "$$subdir" = "."; then :; else \
608 rev="$$subdir $$rev"; \
612 target=`echo $@ | sed s/-recursive//`; \
613 for subdir in $$rev; do \
614 echo "Making $$target in $$subdir"; \
615 if test "$$subdir" = "."; then \
616 local_target="$$target-am"; \
618 local_target="$$target"; \
620 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
622 done && test -z "$$fail"
624 list='$(SUBDIRS)'; for subdir in $$list; do \
625 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
628 list='$(SUBDIRS)'; for subdir in $$list; do \
629 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
632 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
633 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
634 unique=`for i in $$list; do \
635 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
637 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
638 END { if (nonempty) { for (i in files) print i; }; }'`; \
642 TAGS: tags-recursive $(HEADERS) $(SOURCES) configh.in $(TAGS_DEPENDENCIES) \
643 $(TAGS_FILES) $(LISP)
646 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
647 include_option=--etags-include; \
650 include_option=--include; \
653 list='$(SUBDIRS)'; for subdir in $$list; do \
654 if test "$$subdir" = .; then :; else \
655 test ! -f $$subdir/TAGS || \
656 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
659 list='$(SOURCES) $(HEADERS) configh.in $(LISP) $(TAGS_FILES)'; \
660 unique=`for i in $$list; do \
661 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
663 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
664 END { if (nonempty) { for (i in files) print i; }; }'`; \
666 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
667 test -n "$$unique" || unique=$$empty_fix; \
668 if test $$# -gt 0; then \
669 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
672 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
677 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) configh.in $(TAGS_DEPENDENCIES) \
678 $(TAGS_FILES) $(LISP)
679 list='$(SOURCES) $(HEADERS) configh.in $(LISP) $(TAGS_FILES)'; \
680 unique=`for i in $$list; do \
681 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
683 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
684 END { if (nonempty) { for (i in files) print i; }; }'`; \
685 test -z "$(CTAGS_ARGS)$$unique" \
686 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
690 here=`$(am__cd) $(top_builddir) && pwd` \
691 && $(am__cd) $(top_srcdir) \
692 && gtags -i $(GTAGS_ARGS) "$$here"
695 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
697 distdir: $(DISTFILES)
698 $(am__remove_distdir)
699 test -d "$(distdir)" || mkdir "$(distdir)"
700 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
701 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
702 list='$(DISTFILES)'; \
703 dist_files=`for file in $$list; do echo $$file; done | \
704 sed -e "s|^$$srcdirstrip/||;t" \
705 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
706 case $$dist_files in \
707 */*) $(MKDIR_P) `echo "$$dist_files" | \
708 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
711 for file in $$dist_files; do \
712 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
713 if test -d $$d/$$file; then \
714 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
715 if test -d "$(distdir)/$$file"; then \
716 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
718 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
719 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
720 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
722 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
724 test -f "$(distdir)/$$file" \
725 || cp -p $$d/$$file "$(distdir)/$$file" \
729 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
730 if test "$$subdir" = .; then :; else \
731 test -d "$(distdir)/$$subdir" \
732 || $(MKDIR_P) "$(distdir)/$$subdir" \
736 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
737 if test "$$subdir" = .; then :; else \
738 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
740 new_distdir=$$reldir; \
741 dir1=$$subdir; dir2="$(top_distdir)"; \
743 new_top_distdir=$$reldir; \
744 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
745 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
746 ($(am__cd) $$subdir && \
747 $(MAKE) $(AM_MAKEFLAGS) \
748 top_distdir="$$new_top_distdir" \
749 distdir="$$new_distdir" \
750 am__remove_distdir=: \
751 am__skip_length_check=: \
752 am__skip_mode_fix=: \
757 $(MAKE) $(AM_MAKEFLAGS) \
758 top_distdir="$(top_distdir)" distdir="$(distdir)" \
760 -test -n "$(am__skip_mode_fix)" \
761 || find "$(distdir)" -type d ! -perm -755 \
762 -exec chmod u+rwx,go+rx {} \; -o \
763 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
764 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
765 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
766 || chmod -R a+r "$(distdir)"
768 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
769 $(am__remove_distdir)
772 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
773 $(am__remove_distdir)
776 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
777 $(am__remove_distdir)
779 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
780 $(am__remove_distdir)
783 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
784 $(am__remove_distdir)
787 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
788 $(am__remove_distdir)
791 -rm -f $(distdir).zip
792 zip -rq $(distdir).zip $(distdir)
793 $(am__remove_distdir)
795 dist dist-all: distdir
796 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
797 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
798 $(am__remove_distdir)
800 # This target untars the dist file and tries a VPATH configuration. Then
801 # it guarantees that the distribution is self-contained by making another
804 case '$(DIST_ARCHIVES)' in \
806 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
808 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
810 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
812 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
814 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
816 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
818 unzip $(distdir).zip ;;\
820 chmod -R a-w $(distdir); chmod a+w $(distdir)
821 mkdir $(distdir)/_build
822 mkdir $(distdir)/_inst
824 test -d $(distdir)/_build || exit 0; \
825 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
826 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
828 && $(am__cd) $(distdir)/_build \
829 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
830 $(DISTCHECK_CONFIGURE_FLAGS) \
831 && $(MAKE) $(AM_MAKEFLAGS) \
832 && $(MAKE) $(AM_MAKEFLAGS) dvi \
833 && $(MAKE) $(AM_MAKEFLAGS) check \
834 && $(MAKE) $(AM_MAKEFLAGS) install \
835 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
836 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
837 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
839 && chmod -R a-w "$$dc_install_base" \
841 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
842 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
843 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
844 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
845 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
846 } || { rm -rf "$$dc_destdir"; exit 1; }) \
847 && rm -rf "$$dc_destdir" \
848 && $(MAKE) $(AM_MAKEFLAGS) dist \
849 && rm -rf $(DIST_ARCHIVES) \
850 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
853 $(am__remove_distdir)
854 @(echo "$(distdir) archives ready for distribution: "; \
855 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
856 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
858 @$(am__cd) '$(distuninstallcheck_dir)' \
859 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
860 || { echo "ERROR: files left after uninstall:" ; \
861 if test -n "$(DESTDIR)"; then \
862 echo " (check DESTDIR support)"; \
864 $(distuninstallcheck_listfiles) ; \
866 distcleancheck: distclean
867 @if test '$(srcdir)' = . ; then \
868 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
871 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
872 || { echo "ERROR: files left in build directory after distclean:" ; \
873 $(distcleancheck_listfiles) ; \
876 $(MAKE) $(AM_MAKEFLAGS) check-local
877 check: check-recursive
878 all-am: Makefile $(PROGRAMS) config.h
879 installdirs: installdirs-recursive
881 for dir in "$(DESTDIR)$(bindir)"; do \
882 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
884 install: install-recursive
885 install-exec: install-exec-recursive
886 install-data: install-data-recursive
887 uninstall: uninstall-recursive
890 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
892 installcheck: installcheck-recursive
894 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
895 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
896 `test -z '$(STRIP)' || \
897 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
901 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
904 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
905 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
907 maintainer-clean-generic:
908 @echo "This command is intended for maintainers to use"
909 @echo "it deletes files that may require special tools to rebuild."
912 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
913 clean: clean-recursive
915 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
917 distclean: distclean-recursive
918 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
921 distclean-am: clean-am distclean-compile distclean-generic \
922 distclean-hdr distclean-tags
938 install-dvi: install-dvi-recursive
942 install-exec-am: install-binPROGRAMS
944 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
945 install-html: install-html-recursive
949 install-info: install-info-recursive
955 install-pdf: install-pdf-recursive
959 install-ps: install-ps-recursive
965 maintainer-clean: maintainer-clean-recursive
966 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
967 -rm -rf $(top_srcdir)/autom4te.cache
970 maintainer-clean-am: distclean-am maintainer-clean-generic
972 mostlyclean: mostlyclean-recursive
974 mostlyclean-am: mostlyclean-compile mostlyclean-generic
984 uninstall-am: uninstall-binPROGRAMS
986 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
987 ctags-recursive install-am install-exec-am install-strip \
990 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
991 all all-am am--refresh check check-am check-local clean \
992 clean-binPROGRAMS clean-generic ctags ctags-recursive dist \
993 dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \
994 dist-tarZ dist-xz dist-zip distcheck distclean \
995 distclean-compile distclean-generic distclean-hdr \
996 distclean-tags distcleancheck distdir distuninstallcheck dvi \
997 dvi-am html html-am info info-am install install-am \
998 install-binPROGRAMS install-data install-data-am install-dvi \
999 install-dvi-am install-exec install-exec-am install-exec-hook \
1000 install-html install-html-am install-info install-info-am \
1001 install-man install-pdf install-pdf-am install-ps \
1002 install-ps-am install-strip installcheck installcheck-am \
1003 installdirs installdirs-am maintainer-clean \
1004 maintainer-clean-generic mostlyclean mostlyclean-compile \
1005 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
1006 uninstall uninstall-am uninstall-binPROGRAMS
1009 # First, add a link from gawk to gawk-X.Y.Z.
1012 # For GNU systems where gawk is awk, add a link to awk.
1013 # (This is done universally, which may not always be right, but
1014 # there's no easy way to distinguish GNU from non-GNU systems.)
1016 (cd $(DESTDIR)$(bindir); \
1017 $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
1018 $(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
1020 then $(LN_S) gawk$(EXEEXT) awk; \
1023 # Undo the above when uninstalling
1025 (cd $(DESTDIR)$(bindir); \
1026 if [ -f awk ] && cmp awk gawk$(EXEEXT) > /dev/null; then rm -f awk; fi ; \
1027 rm -f gawk-$(VERSION)$(EXEEXT) pgawk-$(VERSION)$(EXEEXT); exit 0)
1029 uninstall-recursive: uninstall-links
1031 # force there to be a gawk executable before running tests
1032 check-local: gawk$(EXEEXT) pgawk$(EXEEXT)
1034 # A little extra clean up when making distributions.
1035 # And additional set up for the pc directory.
1037 cd $(distdir)/extension ; rm -f *.o *.so
1039 sed -n -f configpk.sed < ../configure.ac > tmp.sed ; \
1040 sed -f config.sed < ../configh.in > config.tmp ; \
1041 sed -f tmp.sed < config.tmp > config.h ; \
1042 $(RM) tmp.sed config.tmp
1044 # Special rules for individual files
1045 # Use of awk instead of $(AWK) is deliberate, in case gawk doesn't build
1046 # or work correctly.
1047 awkgram.c: awkgram.y
1048 $(YACC) $(AM_YFLAGS) $(YFLAGS) $<
1049 sed 's/parse error/syntax error/g' < y.tab.c | awk -f $(srcdir)/bisonfix.awk awkgram > $*.c && rm y.tab.c
1050 if test -f y.tab.h; then \
1051 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
1054 version.c: config.status version.in
1055 $(SHELL) ./config.status --file=version.c:version.in
1057 command.c: command.y
1059 sed 's/parse error/syntax error/g' < y.tab.c | awk -f $(srcdir)/bisonfix.awk command > $*.c && rm y.tab.c
1061 # This is for my development & testing.
1063 $(CC) $(LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LIBS) -lefence
1065 diffout valgrind-scan:
1066 @cd test && $(MAKE) $(AM_MAKEFLAGS) $@
1069 cd test; rm -f log.[0-9]*; \
1070 make check AWK="valgrind --leak-check=full --log-file=log.%p ../gawk"; \
1073 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1074 # Otherwise a system limit (for SysV at least) may be exceeded.