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 |
|
---|
40 | SOURCES = $(gawk_SOURCES) $(pgawk_SOURCES)
|
---|
41 |
|
---|
42 | srcdir = @srcdir@
|
---|
43 | top_srcdir = @top_srcdir@
|
---|
44 | VPATH = @srcdir@
|
---|
45 | pkglibdir = $(libdir)/@PACKAGE@
|
---|
46 | pkgincludedir = $(includedir)/@PACKAGE@
|
---|
47 | top_builddir = .
|
---|
48 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
---|
49 | INSTALL = @INSTALL@
|
---|
50 | install_sh_DATA = $(install_sh) -c -m 644
|
---|
51 | install_sh_PROGRAM = $(install_sh) -c
|
---|
52 | install_sh_SCRIPT = $(install_sh) -c
|
---|
53 | INSTALL_HEADER = $(INSTALL_DATA)
|
---|
54 | transform = $(program_transform_name)
|
---|
55 | NORMAL_INSTALL = :
|
---|
56 | PRE_INSTALL = :
|
---|
57 | POST_INSTALL = :
|
---|
58 | NORMAL_UNINSTALL = :
|
---|
59 | PRE_UNINSTALL = :
|
---|
60 | POST_UNINSTALL = :
|
---|
61 | build_triplet = @build@
|
---|
62 | host_triplet = @host@
|
---|
63 | ANSI2KNR = @ANSI2KNR@
|
---|
64 | bin_PROGRAMS = gawk$(EXEEXT) pgawk$(EXEEXT)
|
---|
65 | DIST_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
|
---|
71 | subdir = .
|
---|
72 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
---|
73 | am__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
|
---|
83 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
---|
84 | $(ACLOCAL_M4)
|
---|
85 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
---|
86 | configure.lineno configure.status.lineno
|
---|
87 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
---|
88 | CONFIG_HEADER = config.h
|
---|
89 | CONFIG_CLEAN_FILES = version.c
|
---|
90 | am__installdirs = "$(DESTDIR)$(bindir)"
|
---|
91 | binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
---|
92 | PROGRAMS = $(bin_PROGRAMS)
|
---|
93 | am__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)
|
---|
100 | am_gawk_OBJECTS = $(am__objects_1) eval$U.$(OBJEXT) \
|
---|
101 | profile$U.$(OBJEXT)
|
---|
102 | gawk_OBJECTS = $(am_gawk_OBJECTS)
|
---|
103 | gawk_LDADD = $(LDADD)
|
---|
104 | am__DEPENDENCIES_1 =
|
---|
105 | gawk_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
---|
106 | am_pgawk_OBJECTS = $(am__objects_1) eval_p$U.$(OBJEXT) \
|
---|
107 | profile_p$U.$(OBJEXT)
|
---|
108 | pgawk_OBJECTS = $(am_pgawk_OBJECTS)
|
---|
109 | pgawk_LDADD = $(LDADD)
|
---|
110 | pgawk_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
---|
111 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
|
---|
112 | depcomp = $(SHELL) $(top_srcdir)/depcomp
|
---|
113 | am__depfiles_maybe = depfiles
|
---|
114 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
---|
115 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
---|
116 | CCLD = $(CC)
|
---|
117 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
---|
118 | YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
---|
119 | YLWRAP = $(top_srcdir)/ylwrap
|
---|
120 | SOURCES = $(gawk_SOURCES) $(pgawk_SOURCES)
|
---|
121 | DIST_SOURCES = $(gawk_SOURCES) $(pgawk_SOURCES)
|
---|
122 | RECURSIVE_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
|
---|
128 | ETAGS = etags
|
---|
129 | CTAGS = ctags
|
---|
130 | DIST_SUBDIRS = $(SUBDIRS)
|
---|
131 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
---|
132 | distdir = $(PACKAGE)-$(VERSION)
|
---|
133 | top_distdir = $(distdir)
|
---|
134 | am__remove_distdir = \
|
---|
135 | { test ! -d $(distdir) \
|
---|
136 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
---|
137 | && rm -fr $(distdir); }; }
|
---|
138 | DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
|
---|
139 | GZIP_ENV = --best
|
---|
140 | distuninstallcheck_listfiles = find . -type f -print
|
---|
141 | distcleancheck_listfiles = find . -type f -print
|
---|
142 |
|
---|
143 | # Directory for gawk's data files. Automake supplies datadir.
|
---|
144 | pkgdatadir = $(datadir)/awk
|
---|
145 | ACLOCAL = @ACLOCAL@
|
---|
146 | AMDEP_FALSE = @AMDEP_FALSE@
|
---|
147 | AMDEP_TRUE = @AMDEP_TRUE@
|
---|
148 | AMTAR = @AMTAR@
|
---|
149 | AUTOCONF = @AUTOCONF@
|
---|
150 | AUTOHEADER = @AUTOHEADER@
|
---|
151 | AUTOMAKE = @AUTOMAKE@
|
---|
152 | AWK = @AWK@
|
---|
153 | CC = @CC@
|
---|
154 | CCDEPMODE = @CCDEPMODE@
|
---|
155 | CFLAGS = @CFLAGS@
|
---|
156 | CPP = @CPP@
|
---|
157 | CPPFLAGS = @CPPFLAGS@
|
---|
158 | CYGPATH_W = @CYGPATH_W@
|
---|
159 | DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"$(datadir)/locale\""
|
---|
160 | DEPDIR = @DEPDIR@
|
---|
161 | ECHO_C = @ECHO_C@
|
---|
162 | ECHO_N = @ECHO_N@
|
---|
163 | ECHO_T = @ECHO_T@
|
---|
164 | EGREP = @EGREP@
|
---|
165 | EXEEXT = @EXEEXT@
|
---|
166 | GMSGFMT = @GMSGFMT@
|
---|
167 | INSTALL_DATA = @INSTALL_DATA@
|
---|
168 | INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
---|
169 | INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
---|
170 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
---|
171 | INTLLIBS = @INTLLIBS@
|
---|
172 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
---|
173 | LDFLAGS = @LDFLAGS@
|
---|
174 | LIBICONV = @LIBICONV@
|
---|
175 | LIBINTL = @LIBINTL@
|
---|
176 | LIBOBJS = @LIBOBJS@
|
---|
177 | LIBS = @LIBS@
|
---|
178 | LN_S = @LN_S@
|
---|
179 | LTLIBICONV = @LTLIBICONV@
|
---|
180 | LTLIBINTL = @LTLIBINTL@
|
---|
181 | LTLIBOBJS = @LTLIBOBJS@
|
---|
182 | MAKEINFO = @MAKEINFO@
|
---|
183 | MKINSTALLDIRS = @MKINSTALLDIRS@
|
---|
184 | MSGFMT = @MSGFMT@
|
---|
185 | MSGMERGE = @MSGMERGE@
|
---|
186 | OBJEXT = @OBJEXT@
|
---|
187 | PACKAGE = @PACKAGE@
|
---|
188 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
---|
189 | PACKAGE_NAME = @PACKAGE_NAME@
|
---|
190 | PACKAGE_STRING = @PACKAGE_STRING@
|
---|
191 | PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
---|
192 | PACKAGE_VERSION = @PACKAGE_VERSION@
|
---|
193 | PATH_SEPARATOR = @PATH_SEPARATOR@
|
---|
194 | POSUB = @POSUB@
|
---|
195 | RANLIB = @RANLIB@
|
---|
196 | SET_MAKE = @SET_MAKE@
|
---|
197 | SHELL = @SHELL@
|
---|
198 | SOCKET_LIBS = @SOCKET_LIBS@
|
---|
199 | STRIP = @STRIP@
|
---|
200 | U = @U@
|
---|
201 | USE_NLS = @USE_NLS@
|
---|
202 | VERSION = @VERSION@
|
---|
203 | XGETTEXT = @XGETTEXT@
|
---|
204 | YACC = @YACC@
|
---|
205 | ac_ct_CC = @ac_ct_CC@
|
---|
206 | ac_ct_RANLIB = @ac_ct_RANLIB@
|
---|
207 | ac_ct_STRIP = @ac_ct_STRIP@
|
---|
208 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
---|
209 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
---|
210 | am__include = @am__include@
|
---|
211 | am__leading_dot = @am__leading_dot@
|
---|
212 | am__quote = @am__quote@
|
---|
213 | am__tar = @am__tar@
|
---|
214 | am__untar = @am__untar@
|
---|
215 | bindir = @bindir@
|
---|
216 | build = @build@
|
---|
217 | build_alias = @build_alias@
|
---|
218 | build_cpu = @build_cpu@
|
---|
219 | build_os = @build_os@
|
---|
220 | build_vendor = @build_vendor@
|
---|
221 | datadir = @datadir@
|
---|
222 | exec_prefix = @exec_prefix@
|
---|
223 | host = @host@
|
---|
224 | host_alias = @host_alias@
|
---|
225 | host_cpu = @host_cpu@
|
---|
226 | host_os = @host_os@
|
---|
227 | host_vendor = @host_vendor@
|
---|
228 | includedir = @includedir@
|
---|
229 | infodir = @infodir@
|
---|
230 | install_sh = @install_sh@
|
---|
231 | libdir = @libdir@
|
---|
232 | libexecdir = @libexecdir@
|
---|
233 | localstatedir = @localstatedir@
|
---|
234 | mandir = @mandir@
|
---|
235 | mkdir_p = @mkdir_p@
|
---|
236 | oldincludedir = @oldincludedir@
|
---|
237 | prefix = @prefix@
|
---|
238 | program_transform_name = @program_transform_name@
|
---|
239 | sbindir = @sbindir@
|
---|
240 | sharedstatedir = @sharedstatedir@
|
---|
241 | sysconfdir = @sysconfdir@
|
---|
242 | target_alias = @target_alias@
|
---|
243 |
|
---|
244 | # Automatic de-ANSI-fication if needed, make .bz2 files also.
|
---|
245 | AUTOMAKE_OPTIONS = ansi2knr dist-bzip2
|
---|
246 |
|
---|
247 | # This undocumented variable insures that aclocal runs
|
---|
248 | # correctly after changing configure.ac
|
---|
249 | ACLOCAL_AMFLAGS = -I m4
|
---|
250 |
|
---|
251 | # This insures that make flags get passed down to child makes.
|
---|
252 | AM_MAKEFLAGS = 'CFLAGS=$(CFLAGS)' 'LDFLAGS=$(LDFLAGS)'
|
---|
253 |
|
---|
254 | # Stuff to include in the dist that doesn't need it's own
|
---|
255 | # Makefile.am files
|
---|
256 | EXTRA_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.
|
---|
289 | SUBDIRS = \
|
---|
290 | . \
|
---|
291 | awklib \
|
---|
292 | doc \
|
---|
293 | po \
|
---|
294 | test
|
---|
295 |
|
---|
296 |
|
---|
297 | # sources for both gawk and pgawk
|
---|
298 | base_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 |
|
---|
329 | gawk_SOURCES = $(base_sources) eval.c profile.c
|
---|
330 | pgawk_SOURCES = $(base_sources) eval_p.c profile_p.c
|
---|
331 |
|
---|
332 | # Get extra libs as needed, Automake will supply LIBINTL and SOCKET_LIBS.
|
---|
333 | LDADD = $(LIBINTL) $(SOCKET_LIBS)
|
---|
334 |
|
---|
335 | # stuff for compiling gawk/pgawk
|
---|
336 | DEFPATH = "\".$(PATH_SEPARATOR)$(pkgdatadir)\""
|
---|
337 | AM_CPPFLAGS =
|
---|
338 |
|
---|
339 | # Get rid of core files when cleaning
|
---|
340 | CLEANFILES = core core.*
|
---|
341 | MAINTAINERCLEANFILES = version.c awkgram.c
|
---|
342 |
|
---|
343 | # We want hard links for install-exec-hook, below
|
---|
344 | LN = ln
|
---|
345 | SUFFIXES = .i
|
---|
346 | all: config.h
|
---|
347 | $(MAKE) $(AM_MAKEFLAGS) all-recursive
|
---|
348 |
|
---|
349 | .SUFFIXES:
|
---|
350 | .SUFFIXES: .i .c .o .obj .y
|
---|
351 | am--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
|
---|
367 | Makefile: $(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 |
|
---|
385 | config.h: stamp-h1
|
---|
386 | @if test ! -f $@; then \
|
---|
387 | rm -f stamp-h1; \
|
---|
388 | $(MAKE) stamp-h1; \
|
---|
389 | else :; fi
|
---|
390 |
|
---|
391 | stamp-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 |
|
---|
399 | distclean-hdr:
|
---|
400 | -rm -f config.h stamp-h1
|
---|
401 | version.c: $(top_builddir)/config.status $(srcdir)/version.in
|
---|
402 | cd $(top_builddir) && $(SHELL) ./config.status $@
|
---|
403 | install-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 |
|
---|
416 | uninstall-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 |
|
---|
424 | clean-binPROGRAMS:
|
---|
425 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
---|
426 | gawk$(EXEEXT): $(gawk_OBJECTS) $(gawk_DEPENDENCIES)
|
---|
427 | @rm -f gawk$(EXEEXT)
|
---|
428 | $(LINK) $(gawk_LDFLAGS) $(gawk_OBJECTS) $(gawk_LDADD) $(LIBS)
|
---|
429 | pgawk$(EXEEXT): $(pgawk_OBJECTS) $(pgawk_DEPENDENCIES)
|
---|
430 | @rm -f pgawk$(EXEEXT)
|
---|
431 | $(LINK) $(pgawk_LDFLAGS) $(pgawk_OBJECTS) $(pgawk_LDADD) $(LIBS)
|
---|
432 |
|
---|
433 | mostlyclean-compile:
|
---|
434 | -rm -f *.$(OBJEXT)
|
---|
435 |
|
---|
436 | distclean-compile:
|
---|
437 | -rm -f *.tab.c
|
---|
438 | ansi2knr: ansi2knr.$(OBJEXT)
|
---|
439 | $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
|
---|
440 | ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
|
---|
441 |
|
---|
442 | clean-krextra:
|
---|
443 | -rm -f ansi2knr
|
---|
444 |
|
---|
445 | mostlyclean-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) '$<'`
|
---|
484 | array_.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 $@
|
---|
486 | awkgram_.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 $@
|
---|
488 | builtin_.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 $@
|
---|
490 | dfa_.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 $@
|
---|
492 | eval_.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 $@
|
---|
494 | eval_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 $@
|
---|
496 | ext_.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 $@
|
---|
498 | field_.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 $@
|
---|
500 | gawkmisc_.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 $@
|
---|
502 | getopt_.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 $@
|
---|
504 | getopt1_.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 $@
|
---|
506 | io_.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 $@
|
---|
508 | main_.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 $@
|
---|
510 | msg_.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 $@
|
---|
512 | node_.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 $@
|
---|
514 | profile_.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 $@
|
---|
516 | profile_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 $@
|
---|
518 | random_.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 $@
|
---|
520 | re_.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 $@
|
---|
522 | regex_.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 $@
|
---|
524 | replace_.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 $@
|
---|
526 | version_.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 $@
|
---|
528 | array_.$(OBJEXT) awkgram_.$(OBJEXT) builtin_.$(OBJEXT) dfa_.$(OBJEXT) \
|
---|
529 | eval_.$(OBJEXT) eval_p_.$(OBJEXT) ext_.$(OBJEXT) field_.$(OBJEXT) \
|
---|
530 | gawkmisc_.$(OBJEXT) getopt_.$(OBJEXT) getopt1_.$(OBJEXT) io_.$(OBJEXT) \
|
---|
531 | main_.$(OBJEXT) msg_.$(OBJEXT) node_.$(OBJEXT) profile_.$(OBJEXT) \
|
---|
532 | profile_p_.$(OBJEXT) random_.$(OBJEXT) re_.$(OBJEXT) regex_.$(OBJEXT) \
|
---|
533 | replace_.$(OBJEXT) version_.$(OBJEXT) : $(ANSI2KNR)
|
---|
534 |
|
---|
535 | .y.c:
|
---|
536 | $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
|
---|
537 | uninstall-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 |
|
---|
570 | mostlyclean-recursive clean-recursive distclean-recursive \
|
---|
571 | maintainer-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"
|
---|
601 | tags-recursive:
|
---|
602 | list='$(SUBDIRS)'; for subdir in $$list; do \
|
---|
603 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
---|
604 | done
|
---|
605 | ctags-recursive:
|
---|
606 | list='$(SUBDIRS)'; for subdir in $$list; do \
|
---|
607 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
---|
608 | done
|
---|
609 |
|
---|
610 | ID: $(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
|
---|
618 | tags: TAGS
|
---|
619 |
|
---|
620 | TAGS: 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
|
---|
648 | ctags: CTAGS
|
---|
649 | CTAGS: 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 |
|
---|
663 | GTAGS:
|
---|
664 | here=`$(am__cd) $(top_builddir) && pwd` \
|
---|
665 | && cd $(top_srcdir) \
|
---|
666 | && gtags -i $(GTAGS_ARGS) $$here
|
---|
667 |
|
---|
668 | distclean-tags:
|
---|
669 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
---|
670 |
|
---|
671 | distdir: $(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)
|
---|
724 | dist-gzip: distdir
|
---|
725 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
---|
726 | $(am__remove_distdir)
|
---|
727 | dist-bzip2: distdir
|
---|
728 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
---|
729 | $(am__remove_distdir)
|
---|
730 |
|
---|
731 | dist-tarZ: distdir
|
---|
732 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
---|
733 | $(am__remove_distdir)
|
---|
734 |
|
---|
735 | dist-shar: distdir
|
---|
736 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
---|
737 | $(am__remove_distdir)
|
---|
738 |
|
---|
739 | dist-zip: distdir
|
---|
740 | -rm -f $(distdir).zip
|
---|
741 | zip -rq $(distdir).zip $(distdir)
|
---|
742 | $(am__remove_distdir)
|
---|
743 |
|
---|
744 | dist 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.
|
---|
752 | distcheck: 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;}'
|
---|
798 | distuninstallcheck:
|
---|
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
|
---|
807 | distcleancheck: 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
|
---|
816 | check-am: all-am
|
---|
817 | $(MAKE) $(AM_MAKEFLAGS) check-local
|
---|
818 | check: check-recursive
|
---|
819 | all-am: Makefile $(ANSI2KNR) $(PROGRAMS) config.h
|
---|
820 | installdirs: installdirs-recursive
|
---|
821 | installdirs-am:
|
---|
822 | for dir in "$(DESTDIR)$(bindir)"; do \
|
---|
823 | test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
---|
824 | done
|
---|
825 | install: install-recursive
|
---|
826 | install-exec: install-exec-recursive
|
---|
827 | install-data: install-data-recursive
|
---|
828 | uninstall: uninstall-recursive
|
---|
829 |
|
---|
830 | install-am: all-am
|
---|
831 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
---|
832 |
|
---|
833 | installcheck: installcheck-recursive
|
---|
834 | install-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
|
---|
839 | mostlyclean-generic:
|
---|
840 |
|
---|
841 | clean-generic:
|
---|
842 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
---|
843 |
|
---|
844 | distclean-generic:
|
---|
845 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
---|
846 |
|
---|
847 | maintainer-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)
|
---|
852 | clean: clean-recursive
|
---|
853 |
|
---|
854 | clean-am: clean-binPROGRAMS clean-generic clean-krextra mostlyclean-am
|
---|
855 |
|
---|
856 | distclean: distclean-recursive
|
---|
857 | -rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
---|
858 | -rm -rf ./$(DEPDIR)
|
---|
859 | -rm -f Makefile
|
---|
860 | distclean-am: clean-am distclean-compile distclean-generic \
|
---|
861 | distclean-hdr distclean-tags
|
---|
862 |
|
---|
863 | dvi: dvi-recursive
|
---|
864 |
|
---|
865 | dvi-am:
|
---|
866 |
|
---|
867 | html: html-recursive
|
---|
868 |
|
---|
869 | info: info-recursive
|
---|
870 |
|
---|
871 | info-am:
|
---|
872 |
|
---|
873 | install-data-am:
|
---|
874 |
|
---|
875 | install-exec-am: install-binPROGRAMS
|
---|
876 | @$(NORMAL_INSTALL)
|
---|
877 | $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
---|
878 |
|
---|
879 | install-info: install-info-recursive
|
---|
880 |
|
---|
881 | install-man:
|
---|
882 |
|
---|
883 | installcheck-am:
|
---|
884 |
|
---|
885 | maintainer-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
|
---|
890 | maintainer-clean-am: distclean-am maintainer-clean-generic
|
---|
891 |
|
---|
892 | mostlyclean: mostlyclean-recursive
|
---|
893 |
|
---|
894 | mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr
|
---|
895 |
|
---|
896 | pdf: pdf-recursive
|
---|
897 |
|
---|
898 | pdf-am:
|
---|
899 |
|
---|
900 | ps: ps-recursive
|
---|
901 |
|
---|
902 | ps-am:
|
---|
903 |
|
---|
904 | uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
---|
905 |
|
---|
906 | uninstall-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.)
|
---|
935 | install-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
|
---|
944 | uninstall-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 |
|
---|
949 | uninstall-recursive: uninstall-links
|
---|
950 |
|
---|
951 | # force there to be a gawk executable before running tests
|
---|
952 | check-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.
|
---|
956 | dist-hook:
|
---|
957 | cd $(distdir)/extension ; rm -f *.o *.so
|
---|
958 |
|
---|
959 | # Special rules for individual files
|
---|
960 | awkgram.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.
|
---|
968 | efence: gawk
|
---|
969 | $(CC) $(LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LIBS) -lefence
|
---|
970 |
|
---|
971 | diffout:
|
---|
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:
|
---|