source: trunk/essentials/sys-apps/gawk/Makefile.in@ 3453

Last change on this file since 3453 was 3076, checked in by bird, 18 years ago

gawk 3.1.5

File size: 35.3 KB
Line 
1# Makefile.in generated by automake 1.9.5 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005 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.
9
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
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17#
18# Makefile.am --- automake input file for gawk
19#
20# Copyright (C) 2000-2005 the Free Software Foundation, Inc.
21#
22# This file is part of GAWK, the GNU implementation of the
23# AWK Programming Language.
24#
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 2 of the License, or
28# (at your option) any later version.
29#
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.
34#
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
38#
39
40SOURCES = $(gawk_SOURCES) $(pgawk_SOURCES)
41
42srcdir = @srcdir@
43top_srcdir = @top_srcdir@
44VPATH = @srcdir@
45pkglibdir = $(libdir)/@PACKAGE@
46pkgincludedir = $(includedir)/@PACKAGE@
47top_builddir = .
48am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
49INSTALL = @INSTALL@
50install_sh_DATA = $(install_sh) -c -m 644
51install_sh_PROGRAM = $(install_sh) -c
52install_sh_SCRIPT = $(install_sh) -c
53INSTALL_HEADER = $(INSTALL_DATA)
54transform = $(program_transform_name)
55NORMAL_INSTALL = :
56PRE_INSTALL = :
57POST_INSTALL = :
58NORMAL_UNINSTALL = :
59PRE_UNINSTALL = :
60POST_UNINSTALL = :
61build_triplet = @build@
62host_triplet = @host@
63ANSI2KNR = @ANSI2KNR@
64bin_PROGRAMS = gawk$(EXEEXT) pgawk$(EXEEXT)
65DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
66 $(srcdir)/Makefile.in $(srcdir)/configh.in \
67 $(srcdir)/version.in $(top_srcdir)/configure ABOUT-NLS AUTHORS \
68 COPYING ChangeLog INSTALL NEWS ansi2knr.1 ansi2knr.c awkgram.c \
69 config.guess config.rpath config.sub depcomp install-sh \
70 missing mkinstalldirs ylwrap
71subdir = .
72ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
73am__aclocal_m4_deps = $(top_srcdir)/m4/arch.m4 \
74 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
75 $(top_srcdir)/m4/intmax_t.m4 $(top_srcdir)/m4/inttypes_h.m4 \
76 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
77 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longlong.m4 \
78 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
79 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/socket.m4 \
80 $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/strtod.m4 \
81 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
82 $(top_srcdir)/configure.ac
83am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
84 $(ACLOCAL_M4)
85am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
86 configure.lineno configure.status.lineno
87mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
88CONFIG_HEADER = config.h
89CONFIG_CLEAN_FILES = version.c
90am__installdirs = "$(DESTDIR)$(bindir)"
91binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
92PROGRAMS = $(bin_PROGRAMS)
93am__objects_1 = array$U.$(OBJEXT) awkgram$U.$(OBJEXT) \
94 builtin$U.$(OBJEXT) dfa$U.$(OBJEXT) ext$U.$(OBJEXT) \
95 field$U.$(OBJEXT) gawkmisc$U.$(OBJEXT) getopt$U.$(OBJEXT) \
96 getopt1$U.$(OBJEXT) io$U.$(OBJEXT) main$U.$(OBJEXT) \
97 msg$U.$(OBJEXT) node$U.$(OBJEXT) random$U.$(OBJEXT) \
98 re$U.$(OBJEXT) regex$U.$(OBJEXT) replace$U.$(OBJEXT) \
99 version$U.$(OBJEXT)
100am_gawk_OBJECTS = $(am__objects_1) eval$U.$(OBJEXT) \
101 profile$U.$(OBJEXT)
102gawk_OBJECTS = $(am_gawk_OBJECTS)
103gawk_LDADD = $(LDADD)
104am__DEPENDENCIES_1 =
105gawk_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
106am_pgawk_OBJECTS = $(am__objects_1) eval_p$U.$(OBJEXT) \
107 profile_p$U.$(OBJEXT)
108pgawk_OBJECTS = $(am_pgawk_OBJECTS)
109pgawk_LDADD = $(LDADD)
110pgawk_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
111DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
112depcomp = $(SHELL) $(top_srcdir)/depcomp
113am__depfiles_maybe = depfiles
114COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
115 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
116CCLD = $(CC)
117LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
118YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
119YLWRAP = $(top_srcdir)/ylwrap
120SOURCES = $(gawk_SOURCES) $(pgawk_SOURCES)
121DIST_SOURCES = $(gawk_SOURCES) $(pgawk_SOURCES)
122RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
123 html-recursive info-recursive install-data-recursive \
124 install-exec-recursive install-info-recursive \
125 install-recursive installcheck-recursive installdirs-recursive \
126 pdf-recursive ps-recursive uninstall-info-recursive \
127 uninstall-recursive
128ETAGS = etags
129CTAGS = ctags
130DIST_SUBDIRS = $(SUBDIRS)
131DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
132distdir = $(PACKAGE)-$(VERSION)
133top_distdir = $(distdir)
134am__remove_distdir = \
135 { test ! -d $(distdir) \
136 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
137 && rm -fr $(distdir); }; }
138DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
139GZIP_ENV = --best
140distuninstallcheck_listfiles = find . -type f -print
141distcleancheck_listfiles = find . -type f -print
142
143# Directory for gawk's data files. Automake supplies datadir.
144pkgdatadir = $(datadir)/awk
145ACLOCAL = @ACLOCAL@
146AMDEP_FALSE = @AMDEP_FALSE@
147AMDEP_TRUE = @AMDEP_TRUE@
148AMTAR = @AMTAR@
149AUTOCONF = @AUTOCONF@
150AUTOHEADER = @AUTOHEADER@
151AUTOMAKE = @AUTOMAKE@
152AWK = @AWK@
153CC = @CC@
154CCDEPMODE = @CCDEPMODE@
155CFLAGS = @CFLAGS@
156CPP = @CPP@
157CPPFLAGS = @CPPFLAGS@
158CYGPATH_W = @CYGPATH_W@
159DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"$(datadir)/locale\""
160DEPDIR = @DEPDIR@
161ECHO_C = @ECHO_C@
162ECHO_N = @ECHO_N@
163ECHO_T = @ECHO_T@
164EGREP = @EGREP@
165EXEEXT = @EXEEXT@
166GMSGFMT = @GMSGFMT@
167INSTALL_DATA = @INSTALL_DATA@
168INSTALL_PROGRAM = @INSTALL_PROGRAM@
169INSTALL_SCRIPT = @INSTALL_SCRIPT@
170INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
171INTLLIBS = @INTLLIBS@
172INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
173LDFLAGS = @LDFLAGS@
174LIBICONV = @LIBICONV@
175LIBINTL = @LIBINTL@
176LIBOBJS = @LIBOBJS@
177LIBS = @LIBS@
178LN_S = @LN_S@
179LTLIBICONV = @LTLIBICONV@
180LTLIBINTL = @LTLIBINTL@
181LTLIBOBJS = @LTLIBOBJS@
182MAKEINFO = @MAKEINFO@
183MKINSTALLDIRS = @MKINSTALLDIRS@
184MSGFMT = @MSGFMT@
185MSGMERGE = @MSGMERGE@
186OBJEXT = @OBJEXT@
187PACKAGE = @PACKAGE@
188PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
189PACKAGE_NAME = @PACKAGE_NAME@
190PACKAGE_STRING = @PACKAGE_STRING@
191PACKAGE_TARNAME = @PACKAGE_TARNAME@
192PACKAGE_VERSION = @PACKAGE_VERSION@
193PATH_SEPARATOR = @PATH_SEPARATOR@
194POSUB = @POSUB@
195RANLIB = @RANLIB@
196SET_MAKE = @SET_MAKE@
197SHELL = @SHELL@
198SOCKET_LIBS = @SOCKET_LIBS@
199STRIP = @STRIP@
200U = @U@
201USE_NLS = @USE_NLS@
202VERSION = @VERSION@
203XGETTEXT = @XGETTEXT@
204YACC = @YACC@
205ac_ct_CC = @ac_ct_CC@
206ac_ct_RANLIB = @ac_ct_RANLIB@
207ac_ct_STRIP = @ac_ct_STRIP@
208am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
209am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
210am__include = @am__include@
211am__leading_dot = @am__leading_dot@
212am__quote = @am__quote@
213am__tar = @am__tar@
214am__untar = @am__untar@
215bindir = @bindir@
216build = @build@
217build_alias = @build_alias@
218build_cpu = @build_cpu@
219build_os = @build_os@
220build_vendor = @build_vendor@
221datadir = @datadir@
222exec_prefix = @exec_prefix@
223host = @host@
224host_alias = @host_alias@
225host_cpu = @host_cpu@
226host_os = @host_os@
227host_vendor = @host_vendor@
228includedir = @includedir@
229infodir = @infodir@
230install_sh = @install_sh@
231libdir = @libdir@
232libexecdir = @libexecdir@
233localstatedir = @localstatedir@
234mandir = @mandir@
235mkdir_p = @mkdir_p@
236oldincludedir = @oldincludedir@
237prefix = @prefix@
238program_transform_name = @program_transform_name@
239sbindir = @sbindir@
240sharedstatedir = @sharedstatedir@
241sysconfdir = @sysconfdir@
242target_alias = @target_alias@
243
244# Automatic de-ANSI-fication if needed, make .bz2 files also.
245AUTOMAKE_OPTIONS = ansi2knr dist-bzip2
246
247# This undocumented variable insures that aclocal runs
248# correctly after changing configure.ac
249ACLOCAL_AMFLAGS = -I m4
250
251# This insures that make flags get passed down to child makes.
252AM_MAKEFLAGS = 'CFLAGS=$(CFLAGS)' 'LDFLAGS=$(LDFLAGS)'
253
254# Stuff to include in the dist that doesn't need it's own
255# Makefile.am files
256EXTRA_DIST = \
257 COPYING \
258 FUTURES \
259 INSTALL \
260 LIMITATIONS \
261 NEWS \
262 POSIX.STD \
263 PROBLEMS \
264 README_d \
265 bisonfix.awk \
266 config.guess \
267 config.rpath \
268 config.sub \
269 depcomp \
270 extension \
271 m4 \
272 missing \
273 missing_d \
274 pc \
275 posix \
276 regcomp.c \
277 regex_internal.c \
278 regex_internal.h \
279 regexec.c \
280 unsupported \
281 version.in \
282 vms \
283 ylwrap
284
285
286# The order to do things in.
287# Build explicitly in "." in order to build gawk first, so
288# that `make check' without a prior `make' works.
289SUBDIRS = \
290 . \
291 awklib \
292 doc \
293 po \
294 test
295
296
297# sources for both gawk and pgawk
298base_sources = \
299 array.c \
300 awk.h \
301 awkgram.y \
302 builtin.c \
303 custom.h \
304 dfa.c \
305 dfa.h \
306 ext.c \
307 field.c \
308 gawkmisc.c \
309 getopt.c \
310 getopt.h \
311 getopt1.c \
312 getopt_int.h \
313 gettext.h \
314 hard-locale.h \
315 io.c \
316 mbsupport.h \
317 main.c \
318 msg.c \
319 node.c \
320 protos.h \
321 random.c \
322 random.h \
323 re.c \
324 regex.c \
325 regex.h \
326 replace.c \
327 version.c
328
329gawk_SOURCES = $(base_sources) eval.c profile.c
330pgawk_SOURCES = $(base_sources) eval_p.c profile_p.c
331
332# Get extra libs as needed, Automake will supply LIBINTL and SOCKET_LIBS.
333LDADD = $(LIBINTL) $(SOCKET_LIBS)
334
335# stuff for compiling gawk/pgawk
336DEFPATH = "\".$(PATH_SEPARATOR)$(pkgdatadir)\""
337AM_CPPFLAGS =
338
339# Get rid of core files when cleaning
340CLEANFILES = core core.*
341MAINTAINERCLEANFILES = version.c awkgram.c
342
343# We want hard links for install-exec-hook, below
344LN = ln
345SUFFIXES = .i
346all: config.h
347 $(MAKE) $(AM_MAKEFLAGS) all-recursive
348
349.SUFFIXES:
350.SUFFIXES: .i .c .o .obj .y
351am--refresh:
352 @:
353$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
354 @for dep in $?; do \
355 case '$(am__configure_deps)' in \
356 *$$dep*) \
357 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
358 cd $(srcdir) && $(AUTOMAKE) --gnu \
359 && exit 0; \
360 exit 1;; \
361 esac; \
362 done; \
363 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
364 cd $(top_srcdir) && \
365 $(AUTOMAKE) --gnu Makefile
366.PRECIOUS: Makefile
367Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
368 @case '$?' in \
369 *config.status*) \
370 echo ' $(SHELL) ./config.status'; \
371 $(SHELL) ./config.status;; \
372 *) \
373 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
374 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
375 esac;
376
377$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
378 $(SHELL) ./config.status --recheck
379
380$(top_srcdir)/configure: $(am__configure_deps)
381 cd $(srcdir) && $(AUTOCONF)
382$(ACLOCAL_M4): $(am__aclocal_m4_deps)
383 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
384
385config.h: stamp-h1
386 @if test ! -f $@; then \
387 rm -f stamp-h1; \
388 $(MAKE) stamp-h1; \
389 else :; fi
390
391stamp-h1: $(srcdir)/configh.in $(top_builddir)/config.status
392 @rm -f stamp-h1
393 cd $(top_builddir) && $(SHELL) ./config.status config.h
394$(srcdir)/configh.in: $(am__configure_deps)
395 cd $(top_srcdir) && $(AUTOHEADER)
396 rm -f stamp-h1
397 touch $@
398
399distclean-hdr:
400 -rm -f config.h stamp-h1
401version.c: $(top_builddir)/config.status $(srcdir)/version.in
402 cd $(top_builddir) && $(SHELL) ./config.status $@
403install-binPROGRAMS: $(bin_PROGRAMS)
404 @$(NORMAL_INSTALL)
405 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
406 @list='$(bin_PROGRAMS)'; for p in $$list; do \
407 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
408 if test -f $$p \
409 ; then \
410 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
411 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
412 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
413 else :; fi; \
414 done
415
416uninstall-binPROGRAMS:
417 @$(NORMAL_UNINSTALL)
418 @list='$(bin_PROGRAMS)'; for p in $$list; do \
419 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
420 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
421 rm -f "$(DESTDIR)$(bindir)/$$f"; \
422 done
423
424clean-binPROGRAMS:
425 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
426gawk$(EXEEXT): $(gawk_OBJECTS) $(gawk_DEPENDENCIES)
427 @rm -f gawk$(EXEEXT)
428 $(LINK) $(gawk_LDFLAGS) $(gawk_OBJECTS) $(gawk_LDADD) $(LIBS)
429pgawk$(EXEEXT): $(pgawk_OBJECTS) $(pgawk_DEPENDENCIES)
430 @rm -f pgawk$(EXEEXT)
431 $(LINK) $(pgawk_LDFLAGS) $(pgawk_OBJECTS) $(pgawk_LDADD) $(LIBS)
432
433mostlyclean-compile:
434 -rm -f *.$(OBJEXT)
435
436distclean-compile:
437 -rm -f *.tab.c
438ansi2knr: ansi2knr.$(OBJEXT)
439 $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
440ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
441
442clean-krextra:
443 -rm -f ansi2knr
444
445mostlyclean-kr:
446 -test "$U" = "" || rm -f *_.c
447
448@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array$U.Po@am__quote@
449@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/awkgram$U.Po@am__quote@
450@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/builtin$U.Po@am__quote@
451@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dfa$U.Po@am__quote@
452@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eval$U.Po@am__quote@
453@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eval_p$U.Po@am__quote@
454@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ext$U.Po@am__quote@
455@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/field$U.Po@am__quote@
456@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gawkmisc$U.Po@am__quote@
457@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt$U.Po@am__quote@
458@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1$U.Po@am__quote@
459@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io$U.Po@am__quote@
460@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main$U.Po@am__quote@
461@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg$U.Po@am__quote@
462@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/node$U.Po@am__quote@
463@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/profile$U.Po@am__quote@
464@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/profile_p$U.Po@am__quote@
465@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random$U.Po@am__quote@
466@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/re$U.Po@am__quote@
467@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex$U.Po@am__quote@
468@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/replace$U.Po@am__quote@
469@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version$U.Po@am__quote@
470
471.c.o:
472@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
473@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
474@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
475@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
476@am__fastdepCC_FALSE@ $(COMPILE) -c $<
477
478.c.obj:
479@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
480@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
481@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
482@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
483@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
484array_.c: array.c $(ANSI2KNR)
485 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/array.c; then echo $(srcdir)/array.c; else echo array.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
486awkgram_.c: awkgram.c $(ANSI2KNR)
487 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/awkgram.c; then echo $(srcdir)/awkgram.c; else echo awkgram.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
488builtin_.c: builtin.c $(ANSI2KNR)
489 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/builtin.c; then echo $(srcdir)/builtin.c; else echo builtin.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
490dfa_.c: dfa.c $(ANSI2KNR)
491 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dfa.c; then echo $(srcdir)/dfa.c; else echo dfa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
492eval_.c: eval.c $(ANSI2KNR)
493 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/eval.c; then echo $(srcdir)/eval.c; else echo eval.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
494eval_p_.c: eval_p.c $(ANSI2KNR)
495 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/eval_p.c; then echo $(srcdir)/eval_p.c; else echo eval_p.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
496ext_.c: ext.c $(ANSI2KNR)
497 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ext.c; then echo $(srcdir)/ext.c; else echo ext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
498field_.c: field.c $(ANSI2KNR)
499 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/field.c; then echo $(srcdir)/field.c; else echo field.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
500gawkmisc_.c: gawkmisc.c $(ANSI2KNR)
501 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gawkmisc.c; then echo $(srcdir)/gawkmisc.c; else echo gawkmisc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
502getopt_.c: getopt.c $(ANSI2KNR)
503 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt.c; then echo $(srcdir)/getopt.c; else echo getopt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
504getopt1_.c: getopt1.c $(ANSI2KNR)
505 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt1.c; then echo $(srcdir)/getopt1.c; else echo getopt1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
506io_.c: io.c $(ANSI2KNR)
507 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/io.c; then echo $(srcdir)/io.c; else echo io.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
508main_.c: main.c $(ANSI2KNR)
509 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/main.c; then echo $(srcdir)/main.c; else echo main.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
510msg_.c: msg.c $(ANSI2KNR)
511 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/msg.c; then echo $(srcdir)/msg.c; else echo msg.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
512node_.c: node.c $(ANSI2KNR)
513 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/node.c; then echo $(srcdir)/node.c; else echo node.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
514profile_.c: profile.c $(ANSI2KNR)
515 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/profile.c; then echo $(srcdir)/profile.c; else echo profile.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
516profile_p_.c: profile_p.c $(ANSI2KNR)
517 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/profile_p.c; then echo $(srcdir)/profile_p.c; else echo profile_p.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
518random_.c: random.c $(ANSI2KNR)
519 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/random.c; then echo $(srcdir)/random.c; else echo random.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
520re_.c: re.c $(ANSI2KNR)
521 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/re.c; then echo $(srcdir)/re.c; else echo re.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
522regex_.c: regex.c $(ANSI2KNR)
523 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/regex.c; then echo $(srcdir)/regex.c; else echo regex.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
524replace_.c: replace.c $(ANSI2KNR)
525 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/replace.c; then echo $(srcdir)/replace.c; else echo replace.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
526version_.c: version.c $(ANSI2KNR)
527 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/version.c; then echo $(srcdir)/version.c; else echo version.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
528array_.$(OBJEXT) awkgram_.$(OBJEXT) builtin_.$(OBJEXT) dfa_.$(OBJEXT) \
529eval_.$(OBJEXT) eval_p_.$(OBJEXT) ext_.$(OBJEXT) field_.$(OBJEXT) \
530gawkmisc_.$(OBJEXT) getopt_.$(OBJEXT) getopt1_.$(OBJEXT) io_.$(OBJEXT) \
531main_.$(OBJEXT) msg_.$(OBJEXT) node_.$(OBJEXT) profile_.$(OBJEXT) \
532profile_p_.$(OBJEXT) random_.$(OBJEXT) re_.$(OBJEXT) regex_.$(OBJEXT) \
533replace_.$(OBJEXT) version_.$(OBJEXT) : $(ANSI2KNR)
534
535.y.c:
536 $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
537uninstall-info-am:
538
539# This directory's subdirectories are mostly independent; you can cd
540# into them and run `make' without going through this Makefile.
541# To change the values of `make' variables: instead of editing Makefiles,
542# (1) if the variable is set in `config.status', edit `config.status'
543# (which will cause the Makefiles to be regenerated when you run `make');
544# (2) otherwise, pass the desired values on the `make' command line.
545$(RECURSIVE_TARGETS):
546 @failcom='exit 1'; \
547 for f in x $$MAKEFLAGS; do \
548 case $$f in \
549 *=* | --[!k]*);; \
550 *k*) failcom='fail=yes';; \
551 esac; \
552 done; \
553 dot_seen=no; \
554 target=`echo $@ | sed s/-recursive//`; \
555 list='$(SUBDIRS)'; for subdir in $$list; do \
556 echo "Making $$target in $$subdir"; \
557 if test "$$subdir" = "."; then \
558 dot_seen=yes; \
559 local_target="$$target-am"; \
560 else \
561 local_target="$$target"; \
562 fi; \
563 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
564 || eval $$failcom; \
565 done; \
566 if test "$$dot_seen" = "no"; then \
567 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
568 fi; test -z "$$fail"
569
570mostlyclean-recursive clean-recursive distclean-recursive \
571maintainer-clean-recursive:
572 @failcom='exit 1'; \
573 for f in x $$MAKEFLAGS; do \
574 case $$f in \
575 *=* | --[!k]*);; \
576 *k*) failcom='fail=yes';; \
577 esac; \
578 done; \
579 dot_seen=no; \
580 case "$@" in \
581 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
582 *) list='$(SUBDIRS)' ;; \
583 esac; \
584 rev=''; for subdir in $$list; do \
585 if test "$$subdir" = "."; then :; else \
586 rev="$$subdir $$rev"; \
587 fi; \
588 done; \
589 rev="$$rev ."; \
590 target=`echo $@ | sed s/-recursive//`; \
591 for subdir in $$rev; do \
592 echo "Making $$target in $$subdir"; \
593 if test "$$subdir" = "."; then \
594 local_target="$$target-am"; \
595 else \
596 local_target="$$target"; \
597 fi; \
598 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
599 || eval $$failcom; \
600 done && test -z "$$fail"
601tags-recursive:
602 list='$(SUBDIRS)'; for subdir in $$list; do \
603 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
604 done
605ctags-recursive:
606 list='$(SUBDIRS)'; for subdir in $$list; do \
607 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
608 done
609
610ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
611 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
612 unique=`for i in $$list; do \
613 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
614 done | \
615 $(AWK) ' { files[$$0] = 1; } \
616 END { for (i in files) print i; }'`; \
617 mkid -fID $$unique
618tags: TAGS
619
620TAGS: tags-recursive $(HEADERS) $(SOURCES) configh.in $(TAGS_DEPENDENCIES) \
621 $(TAGS_FILES) $(LISP)
622 tags=; \
623 here=`pwd`; \
624 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
625 include_option=--etags-include; \
626 empty_fix=.; \
627 else \
628 include_option=--include; \
629 empty_fix=; \
630 fi; \
631 list='$(SUBDIRS)'; for subdir in $$list; do \
632 if test "$$subdir" = .; then :; else \
633 test ! -f $$subdir/TAGS || \
634 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
635 fi; \
636 done; \
637 list='$(SOURCES) $(HEADERS) configh.in $(LISP) $(TAGS_FILES)'; \
638 unique=`for i in $$list; do \
639 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
640 done | \
641 $(AWK) ' { files[$$0] = 1; } \
642 END { for (i in files) print i; }'`; \
643 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
644 test -n "$$unique" || unique=$$empty_fix; \
645 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
646 $$tags $$unique; \
647 fi
648ctags: CTAGS
649CTAGS: ctags-recursive $(HEADERS) $(SOURCES) configh.in $(TAGS_DEPENDENCIES) \
650 $(TAGS_FILES) $(LISP)
651 tags=; \
652 here=`pwd`; \
653 list='$(SOURCES) $(HEADERS) configh.in $(LISP) $(TAGS_FILES)'; \
654 unique=`for i in $$list; do \
655 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
656 done | \
657 $(AWK) ' { files[$$0] = 1; } \
658 END { for (i in files) print i; }'`; \
659 test -z "$(CTAGS_ARGS)$$tags$$unique" \
660 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
661 $$tags $$unique
662
663GTAGS:
664 here=`$(am__cd) $(top_builddir) && pwd` \
665 && cd $(top_srcdir) \
666 && gtags -i $(GTAGS_ARGS) $$here
667
668distclean-tags:
669 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
670
671distdir: $(DISTFILES)
672 $(am__remove_distdir)
673 mkdir $(distdir)
674 $(mkdir_p) $(distdir)/. $(distdir)/m4 $(distdir)/po
675 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
676 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
677 list='$(DISTFILES)'; for file in $$list; do \
678 case $$file in \
679 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
680 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
681 esac; \
682 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
683 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
684 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
685 dir="/$$dir"; \
686 $(mkdir_p) "$(distdir)$$dir"; \
687 else \
688 dir=''; \
689 fi; \
690 if test -d $$d/$$file; then \
691 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
692 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
693 fi; \
694 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
695 else \
696 test -f $(distdir)/$$file \
697 || cp -p $$d/$$file $(distdir)/$$file \
698 || exit 1; \
699 fi; \
700 done
701 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
702 if test "$$subdir" = .; then :; else \
703 test -d "$(distdir)/$$subdir" \
704 || $(mkdir_p) "$(distdir)/$$subdir" \
705 || exit 1; \
706 distdir=`$(am__cd) $(distdir) && pwd`; \
707 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
708 (cd $$subdir && \
709 $(MAKE) $(AM_MAKEFLAGS) \
710 top_distdir="$$top_distdir" \
711 distdir="$$distdir/$$subdir" \
712 distdir) \
713 || exit 1; \
714 fi; \
715 done
716 $(MAKE) $(AM_MAKEFLAGS) \
717 top_distdir="$(top_distdir)" distdir="$(distdir)" \
718 dist-hook
719 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
720 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
721 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
722 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
723 || chmod -R a+r $(distdir)
724dist-gzip: distdir
725 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
726 $(am__remove_distdir)
727dist-bzip2: distdir
728 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
729 $(am__remove_distdir)
730
731dist-tarZ: distdir
732 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
733 $(am__remove_distdir)
734
735dist-shar: distdir
736 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
737 $(am__remove_distdir)
738
739dist-zip: distdir
740 -rm -f $(distdir).zip
741 zip -rq $(distdir).zip $(distdir)
742 $(am__remove_distdir)
743
744dist dist-all: distdir
745 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
746 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
747 $(am__remove_distdir)
748
749# This target untars the dist file and tries a VPATH configuration. Then
750# it guarantees that the distribution is self-contained by making another
751# tarfile.
752distcheck: dist
753 case '$(DIST_ARCHIVES)' in \
754 *.tar.gz*) \
755 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
756 *.tar.bz2*) \
757 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
758 *.tar.Z*) \
759 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
760 *.shar.gz*) \
761 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
762 *.zip*) \
763 unzip $(distdir).zip ;;\
764 esac
765 chmod -R a-w $(distdir); chmod a+w $(distdir)
766 mkdir $(distdir)/_build
767 mkdir $(distdir)/_inst
768 chmod a-w $(distdir)
769 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
770 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
771 && cd $(distdir)/_build \
772 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
773 $(DISTCHECK_CONFIGURE_FLAGS) \
774 && $(MAKE) $(AM_MAKEFLAGS) \
775 && $(MAKE) $(AM_MAKEFLAGS) dvi \
776 && $(MAKE) $(AM_MAKEFLAGS) check \
777 && $(MAKE) $(AM_MAKEFLAGS) install \
778 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
779 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
780 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
781 distuninstallcheck \
782 && chmod -R a-w "$$dc_install_base" \
783 && ({ \
784 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
785 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
786 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
787 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
788 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
789 } || { rm -rf "$$dc_destdir"; exit 1; }) \
790 && rm -rf "$$dc_destdir" \
791 && $(MAKE) $(AM_MAKEFLAGS) dist \
792 && rm -rf $(DIST_ARCHIVES) \
793 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
794 $(am__remove_distdir)
795 @(echo "$(distdir) archives ready for distribution: "; \
796 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
797 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
798distuninstallcheck:
799 @cd $(distuninstallcheck_dir) \
800 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
801 || { echo "ERROR: files left after uninstall:" ; \
802 if test -n "$(DESTDIR)"; then \
803 echo " (check DESTDIR support)"; \
804 fi ; \
805 $(distuninstallcheck_listfiles) ; \
806 exit 1; } >&2
807distcleancheck: distclean
808 @if test '$(srcdir)' = . ; then \
809 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
810 exit 1 ; \
811 fi
812 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
813 || { echo "ERROR: files left in build directory after distclean:" ; \
814 $(distcleancheck_listfiles) ; \
815 exit 1; } >&2
816check-am: all-am
817 $(MAKE) $(AM_MAKEFLAGS) check-local
818check: check-recursive
819all-am: Makefile $(ANSI2KNR) $(PROGRAMS) config.h
820installdirs: installdirs-recursive
821installdirs-am:
822 for dir in "$(DESTDIR)$(bindir)"; do \
823 test -z "$$dir" || $(mkdir_p) "$$dir"; \
824 done
825install: install-recursive
826install-exec: install-exec-recursive
827install-data: install-data-recursive
828uninstall: uninstall-recursive
829
830install-am: all-am
831 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
832
833installcheck: installcheck-recursive
834install-strip:
835 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
836 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
837 `test -z '$(STRIP)' || \
838 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
839mostlyclean-generic:
840
841clean-generic:
842 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
843
844distclean-generic:
845 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
846
847maintainer-clean-generic:
848 @echo "This command is intended for maintainers to use"
849 @echo "it deletes files that may require special tools to rebuild."
850 -rm -f awkgram.c
851 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
852clean: clean-recursive
853
854clean-am: clean-binPROGRAMS clean-generic clean-krextra mostlyclean-am
855
856distclean: distclean-recursive
857 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
858 -rm -rf ./$(DEPDIR)
859 -rm -f Makefile
860distclean-am: clean-am distclean-compile distclean-generic \
861 distclean-hdr distclean-tags
862
863dvi: dvi-recursive
864
865dvi-am:
866
867html: html-recursive
868
869info: info-recursive
870
871info-am:
872
873install-data-am:
874
875install-exec-am: install-binPROGRAMS
876 @$(NORMAL_INSTALL)
877 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
878
879install-info: install-info-recursive
880
881install-man:
882
883installcheck-am:
884
885maintainer-clean: maintainer-clean-recursive
886 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
887 -rm -rf $(top_srcdir)/autom4te.cache
888 -rm -rf ./$(DEPDIR)
889 -rm -f Makefile
890maintainer-clean-am: distclean-am maintainer-clean-generic
891
892mostlyclean: mostlyclean-recursive
893
894mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
895
896pdf: pdf-recursive
897
898pdf-am:
899
900ps: ps-recursive
901
902ps-am:
903
904uninstall-am: uninstall-binPROGRAMS uninstall-info-am
905
906uninstall-info: uninstall-info-recursive
907
908.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
909 check-am check-local clean clean-binPROGRAMS clean-generic \
910 clean-krextra clean-recursive ctags ctags-recursive dist \
911 dist-all dist-bzip2 dist-gzip dist-hook dist-shar dist-tarZ \
912 dist-zip distcheck distclean distclean-compile \
913 distclean-generic distclean-hdr distclean-recursive \
914 distclean-tags distcleancheck distdir distuninstallcheck dvi \
915 dvi-am html html-am info info-am install install-am \
916 install-binPROGRAMS install-data install-data-am install-exec \
917 install-exec-am install-exec-hook install-info install-info-am \
918 install-man install-strip installcheck installcheck-am \
919 installdirs installdirs-am maintainer-clean \
920 maintainer-clean-generic maintainer-clean-recursive \
921 mostlyclean mostlyclean-compile mostlyclean-generic \
922 mostlyclean-kr mostlyclean-recursive pdf pdf-am ps ps-am tags \
923 tags-recursive uninstall uninstall-am uninstall-binPROGRAMS \
924 uninstall-info-am
925
926.c.i:
927 $(COMPILE) -E $< > $@
928
929# First, add a link from gawk to gawk-X.Y.Z.
930# Same for pgawk.
931#
932# For GNU systems where gawk is awk, add a link to awk.
933# (This is done universally, which may not always be right, but
934# there's no easy way to distinguish GNU from non-GNU systems.)
935install-exec-hook:
936 (cd $(DESTDIR)$(bindir); \
937 $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
938 $(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
939 if [ ! -f awk$(EXEEXT) ]; \
940 then $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \
941 fi; exit 0)
942
943# Undo the above when uninstalling
944uninstall-links:
945 (cd $(DESTDIR)$(bindir); \
946 if [ -f awk$(EXEEXT) ] && cmp awk$(EXEEXT) gawk$(EXEEXT) > /dev/null; then rm -f awk$(EXEEXT); fi ; \
947 rm -f gawk-$(VERSION)$(EXEEXT) pgawk-$(VERSION)$(EXEEXT); exit 0)
948
949uninstall-recursive: uninstall-links
950
951# force there to be a gawk executable before running tests
952check-local: gawk$(EXEEXT) pgawk$(EXEEXT)
953
954# A little extra clean up when making distributions.
955# FIXME: most of this rule should go away upon switching to libtool.
956dist-hook:
957 cd $(distdir)/extension ; rm -f *.o *.so
958
959# Special rules for individual files
960awkgram.c: awkgram.y
961 $(YACC) $(AM_YFLAGS) $(YFLAGS) $<
962 awk -f $(srcdir)/bisonfix.awk y.tab.c > $*.c && rm y.tab.c
963 if test -f y.tab.h; then \
964 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
965 else :; fi
966
967# This is for my development & testing.
968efence: gawk
969 $(CC) $(LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LIBS) -lefence
970
971diffout:
972 @$(MAKE) -C test $@
973# Tell versions [3.59,3.63) of GNU make to not export all variables.
974# Otherwise a system limit (for SysV at least) may be exceeded.
975.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.