Introduced -devel and -extras subpackages for gawk
[platform/upstream/gawk.git] / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
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.
10
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
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 #
19 # Makefile.am --- automake input file for gawk
20 #
21 # Copyright (C) 2000-2011 the Free Software Foundation, Inc.
22 #
23 # This file is part of GAWK, the GNU implementation of the
24 # AWK Programming Language.
25 #
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.
30 #
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.
35 #
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
39 #
40
41 VPATH = @srcdir@
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)
51 NORMAL_INSTALL = :
52 PRE_INSTALL = :
53 POST_INSTALL = :
54 NORMAL_UNINSTALL = :
55 PRE_UNINSTALL = :
56 POST_UNINSTALL = :
57 build_triplet = @build@
58 host_triplet = @host@
59 bin_PROGRAMS = gawk$(EXEEXT) pgawk$(EXEEXT) dgawk$(EXEEXT)
60 subdir = .
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 \
66         mkinstalldirs ylwrap
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) \
81         $(ACLOCAL_M4)
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
86 CONFIG_CLEAN_FILES =
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)
99 am__DEPENDENCIES_1 =
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) \
109         profile_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
117 am__mv = mv -f
118 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
119         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
120 CCLD = $(CC)
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
138 ETAGS = etags
139 CTAGS = ctags
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)"; }; }
148 am__relativize = \
149   dir0=`pwd`; \
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"`; \
160       else \
161         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
162         if test "$$first2" = "$$first"; then \
163           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
164         else \
165           dir2="../$$dir2"; \
166         fi; \
167         dir0="$$dir0"/"$$first"; \
168       fi; \
169     fi; \
170     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
171   done; \
172   reldir="$$dir2"
173 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
174 GZIP_ENV = --best
175 distuninstallcheck_listfiles = find . -type f -print
176
177 # Directory for gawk's data files. Automake supplies datadir.
178 pkgdatadir = $(datadir)/awk
179 ACLOCAL = @ACLOCAL@
180 AMTAR = @AMTAR@
181 AUTOCONF = @AUTOCONF@
182 AUTOHEADER = @AUTOHEADER@
183 AUTOMAKE = @AUTOMAKE@
184 AWK = @AWK@
185 CC = @CC@
186 CCDEPMODE = @CCDEPMODE@
187 CFLAGS = @CFLAGS@
188 CPP = @CPP@
189 CPPFLAGS = @CPPFLAGS@
190 CYGPATH_W = @CYGPATH_W@
191 DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(datadir)/locale"'
192 DEPDIR = @DEPDIR@
193 ECHO_C = @ECHO_C@
194 ECHO_N = @ECHO_N@
195 ECHO_T = @ECHO_T@
196 EGREP = @EGREP@
197 EXEEXT = @EXEEXT@
198 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
199 GMSGFMT = @GMSGFMT@
200 GMSGFMT_015 = @GMSGFMT_015@
201 GREP = @GREP@
202 HAVE_LIBSIGSEGV = @HAVE_LIBSIGSEGV@
203 INSTALL = @INSTALL@
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@
210 LDFLAGS = @LDFLAGS@
211 LIBICONV = @LIBICONV@
212 LIBINTL = @LIBINTL@
213 LIBOBJS = @LIBOBJS@
214 LIBREADLINE = @LIBREADLINE@
215 LIBS = @LIBS@
216 LIBSIGSEGV = @LIBSIGSEGV@
217 LIBSIGSEGV_PREFIX = @LIBSIGSEGV_PREFIX@
218 LN_S = @LN_S@
219 LTLIBICONV = @LTLIBICONV@
220 LTLIBINTL = @LTLIBINTL@
221 LTLIBOBJS = @LTLIBOBJS@
222 LTLIBSIGSEGV = @LTLIBSIGSEGV@
223 MAKEINFO = @MAKEINFO@
224 MKDIR_P = @MKDIR_P@
225 MSGFMT = @MSGFMT@
226 MSGFMT_015 = @MSGFMT_015@
227 MSGMERGE = @MSGMERGE@
228 OBJEXT = @OBJEXT@
229 PACKAGE = @PACKAGE@
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@
237 POSUB = @POSUB@
238 SET_MAKE = @SET_MAKE@
239 SHELL = @SHELL@
240 SOCKET_LIBS = @SOCKET_LIBS@
241 STRIP = @STRIP@
242 USE_NLS = @USE_NLS@
243 VERSION = @VERSION@
244 XGETTEXT = @XGETTEXT@
245 XGETTEXT_015 = @XGETTEXT_015@
246 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
247 YACC = @YACC@
248 YFLAGS = @YFLAGS@
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@
257 am__tar = @am__tar@
258 am__untar = @am__untar@
259 bindir = @bindir@
260 build = @build@
261 build_alias = @build_alias@
262 build_cpu = @build_cpu@
263 build_os = @build_os@
264 build_vendor = @build_vendor@
265 builddir = @builddir@
266 datadir = @datadir@
267 datarootdir = @datarootdir@
268 docdir = @docdir@
269 dvidir = @dvidir@
270 exec_prefix = @exec_prefix@
271 host = @host@
272 host_alias = @host_alias@
273 host_cpu = @host_cpu@
274 host_os = @host_os@
275 host_vendor = @host_vendor@
276 htmldir = @htmldir@
277 includedir = @includedir@
278 infodir = @infodir@
279 install_sh = @install_sh@
280 libdir = @libdir@
281 libexecdir = @libexecdir@
282 localedir = @localedir@
283 localstatedir = @localstatedir@
284 mandir = @mandir@
285 mkdir_p = @mkdir_p@
286 oldincludedir = @oldincludedir@
287 pdfdir = @pdfdir@
288 prefix = @prefix@
289 program_transform_name = @program_transform_name@
290 psdir = @psdir@
291 sbindir = @sbindir@
292 sharedstatedir = @sharedstatedir@
293 srcdir = @srcdir@
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@
299
300 # This variable insures that aclocal runs
301 # correctly after changing configure.ac
302 ACLOCAL_AMFLAGS = -I m4
303
304 # This insures that make flags get passed down to child makes.
305 AM_MAKEFLAGS = 'CFLAGS=$(CFLAGS)' 'LDFLAGS=$(LDFLAGS)'
306
307 # Stuff to include in the dist that doesn't need it's own
308 # Makefile.am files
309 EXTRA_DIST = \
310         ChangeLog.0 \
311         COPYING \
312         FUTURES \
313         INSTALL \
314         LIMITATIONS \
315         NEWS \
316         NEWS.0 \
317         POSIX.STD \
318         PROBLEMS \
319         README_d \
320         bisonfix.awk \
321         config.guess \
322         config.rpath  \
323         config.sub \
324         depcomp \
325         extension \
326         m4 \
327         missing \
328         missing_d \
329         po/README \
330         pc \
331         posix \
332         regcomp.c \
333         regex_internal.c \
334         regex_internal.h \
335         regexec.c \
336         version.in \
337         vms \
338         ylwrap
339
340
341 # It's OK for the generated file `version.c' not to be removed by
342 # "make distclean".
343 distcleancheck_listfiles = \
344   find . -type f -print | grep -v '^\./version\.c$$'
345
346
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.
350 SUBDIRS = \
351         . \
352         awklib \
353         doc \
354         po \
355         test
356
357
358 # sources for both gawk and pgawk
359 base_sources = \
360         array.c \
361         awk.h \
362         awkgram.y \
363         builtin.c \
364         custom.h \
365         dfa.c \
366         dfa.h \
367         ext.c \
368         field.c \
369         floatcomp.c \
370         floatmagic.h \
371         gawkmisc.c \
372         getopt.c \
373         getopt.h \
374         getopt1.c \
375         getopt_int.h \
376         gettext.h \
377         io.c \
378         mbsupport.h \
379         main.c \
380         msg.c \
381         node.c \
382         protos.h \
383         random.c \
384         random.h \
385         re.c \
386         regex.c \
387         regex.h \
388         replace.c \
389         version.c \
390         xalloc.h
391
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
395
396 # Get extra libs as needed, Automake will supply LIBINTL and SOCKET_LIBS.
397 LDADD = $(LIBSIGSEGV) $(LIBINTL) $(SOCKET_LIBS)
398 dgawk_LDADD = $(LDADD) @LIBREADLINE@
399
400 # stuff for compiling gawk/pgawk
401 DEFPATH = '".$(PATH_SEPARATOR)$(pkgdatadir)"'
402
403 # Get rid of core files when cleaning
404 CLEANFILES = core core.*
405 MAINTAINERCLEANFILES = version.c
406
407 # We want hard links for install-exec-hook, below
408 LN = ln
409 all: config.h
410         $(MAKE) $(AM_MAKEFLAGS) all-recursive
411
412 .SUFFIXES:
413 .SUFFIXES: .c .o .obj .y
414 am--refresh:
415         @:
416 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
417         @for dep in $?; do \
418           case '$(am__configure_deps)' in \
419             *$$dep*) \
420               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
421               $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
422                 && exit 0; \
423               exit 1;; \
424           esac; \
425         done; \
426         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
427         $(am__cd) $(top_srcdir) && \
428           $(AUTOMAKE) --gnu Makefile
429 .PRECIOUS: Makefile
430 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
431         @case '$?' in \
432           *config.status*) \
433             echo ' $(SHELL) ./config.status'; \
434             $(SHELL) ./config.status;; \
435           *) \
436             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
437             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
438         esac;
439
440 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
441         $(SHELL) ./config.status --recheck
442
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):
448
449 config.h: stamp-h1
450         @if test ! -f $@; then \
451           rm -f stamp-h1; \
452           $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
453         else :; fi
454
455 stamp-h1: $(srcdir)/configh.in $(top_builddir)/config.status
456         @rm -f stamp-h1
457         cd $(top_builddir) && $(SHELL) ./config.status config.h
458 $(srcdir)/configh.in:  $(am__configure_deps) 
459         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
460         rm -f stamp-h1
461         touch $@
462
463 distclean-hdr:
464         -rm -f config.h stamp-h1
465 install-binPROGRAMS: $(bin_PROGRAMS)
466         @$(NORMAL_INSTALL)
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; \
473         done | \
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 $$?; \
487             } \
488         ; done
489
490 uninstall-binPROGRAMS:
491         @$(NORMAL_UNINSTALL)
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
499
500 clean-binPROGRAMS:
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) 
506         @rm -f gawk$(EXEEXT)
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)
511
512 mostlyclean-compile:
513         -rm -f *.$(OBJEXT)
514
515 distclean-compile:
516         -rm -f *.tab.c
517
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@
544
545 .c.o:
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 $<
551
552 .c.obj:
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) '$<'`
558
559 .y.c:
560         $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
561
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 \
571           case $$f in \
572             *=* | --[!k]*);; \
573             *k*) failcom='fail=yes';; \
574           esac; \
575         done; \
576         dot_seen=no; \
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 \
581             dot_seen=yes; \
582             local_target="$$target-am"; \
583           else \
584             local_target="$$target"; \
585           fi; \
586           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
587           || eval $$failcom; \
588         done; \
589         if test "$$dot_seen" = "no"; then \
590           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
591         fi; test -z "$$fail"
592
593 $(RECURSIVE_CLEAN_TARGETS):
594         @fail= failcom='exit 1'; \
595         for f in x $$MAKEFLAGS; do \
596           case $$f in \
597             *=* | --[!k]*);; \
598             *k*) failcom='fail=yes';; \
599           esac; \
600         done; \
601         dot_seen=no; \
602         case "$@" in \
603           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
604           *) list='$(SUBDIRS)' ;; \
605         esac; \
606         rev=''; for subdir in $$list; do \
607           if test "$$subdir" = "."; then :; else \
608             rev="$$subdir $$rev"; \
609           fi; \
610         done; \
611         rev="$$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"; \
617           else \
618             local_target="$$target"; \
619           fi; \
620           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
621           || eval $$failcom; \
622         done && test -z "$$fail"
623 tags-recursive:
624         list='$(SUBDIRS)'; for subdir in $$list; do \
625           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
626         done
627 ctags-recursive:
628         list='$(SUBDIRS)'; for subdir in $$list; do \
629           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
630         done
631
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; \
636           done | \
637           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
638               END { if (nonempty) { for (i in files) print i; }; }'`; \
639         mkid -fID $$unique
640 tags: TAGS
641
642 TAGS: tags-recursive $(HEADERS) $(SOURCES) configh.in $(TAGS_DEPENDENCIES) \
643                 $(TAGS_FILES) $(LISP)
644         set x; \
645         here=`pwd`; \
646         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
647           include_option=--etags-include; \
648           empty_fix=.; \
649         else \
650           include_option=--include; \
651           empty_fix=; \
652         fi; \
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"; \
657           fi; \
658         done; \
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; \
662           done | \
663           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
664               END { if (nonempty) { for (i in files) print i; }; }'`; \
665         shift; \
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) \
670               "$$@" $$unique; \
671           else \
672             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
673               $$unique; \
674           fi; \
675         fi
676 ctags: CTAGS
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; \
682           done | \
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) \
687              $$unique
688
689 GTAGS:
690         here=`$(am__cd) $(top_builddir) && pwd` \
691           && $(am__cd) $(top_srcdir) \
692           && gtags -i $(GTAGS_ARGS) "$$here"
693
694 distclean-tags:
695         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
696
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,/[^/]*$$,,' | \
709                            sort -u` ;; \
710         esac; \
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 {} \;; \
717             fi; \
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 {} \;; \
721             fi; \
722             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
723           else \
724             test -f "$(distdir)/$$file" \
725             || cp -p $$d/$$file "$(distdir)/$$file" \
726             || exit 1; \
727           fi; \
728         done
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" \
733             || exit 1; \
734           fi; \
735         done
736         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
737           if test "$$subdir" = .; then :; else \
738             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
739             $(am__relativize); \
740             new_distdir=$$reldir; \
741             dir1=$$subdir; dir2="$(top_distdir)"; \
742             $(am__relativize); \
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=: \
753                 distdir) \
754               || exit 1; \
755           fi; \
756         done
757         $(MAKE) $(AM_MAKEFLAGS) \
758           top_distdir="$(top_distdir)" distdir="$(distdir)" \
759           dist-hook
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)"
767 dist-gzip: distdir
768         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
769         $(am__remove_distdir)
770
771 dist-bzip2: distdir
772         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
773         $(am__remove_distdir)
774
775 dist-lzma: distdir
776         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
777         $(am__remove_distdir)
778 dist-xz: distdir
779         tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
780         $(am__remove_distdir)
781
782 dist-tarZ: distdir
783         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
784         $(am__remove_distdir)
785
786 dist-shar: distdir
787         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
788         $(am__remove_distdir)
789
790 dist-zip: distdir
791         -rm -f $(distdir).zip
792         zip -rq $(distdir).zip $(distdir)
793         $(am__remove_distdir)
794
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)
799
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
802 # tarfile.
803 distcheck: dist
804         case '$(DIST_ARCHIVES)' in \
805         *.tar.gz*) \
806           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
807         *.tar.bz2*) \
808           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
809         *.tar.lzma*) \
810           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
811         *.tar.xz*) \
812           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
813         *.tar.Z*) \
814           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
815         *.shar.gz*) \
816           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
817         *.zip*) \
818           unzip $(distdir).zip ;;\
819         esac
820         chmod -R a-w $(distdir); chmod a+w $(distdir)
821         mkdir $(distdir)/_build
822         mkdir $(distdir)/_inst
823         chmod a-w $(distdir)
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-$$$$/" \
827           && am__cwd=`pwd` \
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" \
838                 distuninstallcheck \
839           && chmod -R a-w "$$dc_install_base" \
840           && ({ \
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 \
851           && cd "$$am__cwd" \
852           || exit 1
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'
857 distuninstallcheck:
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)"; \
863                 fi ; \
864                 $(distuninstallcheck_listfiles) ; \
865                 exit 1; } >&2
866 distcleancheck: distclean
867         @if test '$(srcdir)' = . ; then \
868           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
869           exit 1 ; \
870         fi
871         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
872           || { echo "ERROR: files left in build directory after distclean:" ; \
873                $(distcleancheck_listfiles) ; \
874                exit 1; } >&2
875 check-am: all-am
876         $(MAKE) $(AM_MAKEFLAGS) check-local
877 check: check-recursive
878 all-am: Makefile $(PROGRAMS) config.h
879 installdirs: installdirs-recursive
880 installdirs-am:
881         for dir in "$(DESTDIR)$(bindir)"; do \
882           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
883         done
884 install: install-recursive
885 install-exec: install-exec-recursive
886 install-data: install-data-recursive
887 uninstall: uninstall-recursive
888
889 install-am: all-am
890         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
891
892 installcheck: installcheck-recursive
893 install-strip:
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
898 mostlyclean-generic:
899
900 clean-generic:
901         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
902
903 distclean-generic:
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)
906
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."
910         -rm -f awkgram.c
911         -rm -f command.c
912         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
913 clean: clean-recursive
914
915 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
916
917 distclean: distclean-recursive
918         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
919         -rm -rf ./$(DEPDIR)
920         -rm -f Makefile
921 distclean-am: clean-am distclean-compile distclean-generic \
922         distclean-hdr distclean-tags
923
924 dvi: dvi-recursive
925
926 dvi-am:
927
928 html: html-recursive
929
930 html-am:
931
932 info: info-recursive
933
934 info-am:
935
936 install-data-am:
937
938 install-dvi: install-dvi-recursive
939
940 install-dvi-am:
941
942 install-exec-am: install-binPROGRAMS
943         @$(NORMAL_INSTALL)
944         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
945 install-html: install-html-recursive
946
947 install-html-am:
948
949 install-info: install-info-recursive
950
951 install-info-am:
952
953 install-man:
954
955 install-pdf: install-pdf-recursive
956
957 install-pdf-am:
958
959 install-ps: install-ps-recursive
960
961 install-ps-am:
962
963 installcheck-am:
964
965 maintainer-clean: maintainer-clean-recursive
966         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
967         -rm -rf $(top_srcdir)/autom4te.cache
968         -rm -rf ./$(DEPDIR)
969         -rm -f Makefile
970 maintainer-clean-am: distclean-am maintainer-clean-generic
971
972 mostlyclean: mostlyclean-recursive
973
974 mostlyclean-am: mostlyclean-compile mostlyclean-generic
975
976 pdf: pdf-recursive
977
978 pdf-am:
979
980 ps: ps-recursive
981
982 ps-am:
983
984 uninstall-am: uninstall-binPROGRAMS
985
986 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
987         ctags-recursive install-am install-exec-am install-strip \
988         tags-recursive
989
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
1007
1008
1009 # First, add a link from gawk to gawk-X.Y.Z.
1010 # Same for pgawk.
1011 #
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.)
1015 install-exec-hook:
1016         (cd $(DESTDIR)$(bindir); \
1017         $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
1018         $(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
1019         if [ ! -f awk ]; \
1020         then    $(LN_S) gawk$(EXEEXT) awk; \
1021         fi; exit 0)
1022
1023 # Undo the above when uninstalling
1024 uninstall-links:
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)
1028
1029 uninstall-recursive: uninstall-links
1030
1031 # force there to be a gawk executable before running tests
1032 check-local: gawk$(EXEEXT) pgawk$(EXEEXT)
1033
1034 # A little extra clean up when making distributions.
1035 # And additional set up for the pc directory.
1036 dist-hook:
1037         cd $(distdir)/extension ; rm -f *.o *.so
1038         cd $(srcdir)/pc ; \
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
1043
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; \
1052         else :; fi
1053
1054 version.c: config.status version.in
1055         $(SHELL) ./config.status --file=version.c:version.in
1056
1057 command.c: command.y
1058         $(YACC) -p zz $<
1059         sed 's/parse error/syntax error/g' < y.tab.c | awk -f $(srcdir)/bisonfix.awk command > $*.c && rm y.tab.c
1060
1061 # This is for my development & testing.
1062 efence: gawk
1063         $(CC) $(LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LIBS) -lefence
1064
1065 diffout valgrind-scan:
1066         @cd test && $(MAKE) $(AM_MAKEFLAGS) $@
1067
1068 valgrind:
1069         cd test; rm -f log.[0-9]*; \
1070         make check AWK="valgrind --leak-check=full --log-file=log.%p ../gawk"; \
1071         make valgrind-scan
1072
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.
1075 .NOEXPORT: