Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / bsd / flex / dist / Makefile.in
blob2f8d444dc2615749366a2c91c3df06b766c72a53
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
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.
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.
15 @SET_MAKE@
17 # This file is part of flex.
19 # Redistribution and use in source and binary forms, with or without
20 # modification, are permitted provided that the following conditions
21 # are met:
23 # 1. Redistributions of source code must retain the above copyright
24 # notice, this list of conditions and the following disclaimer.
25 # 2. Redistributions in binary form must reproduce the above copyright
26 # notice, this list of conditions and the following disclaimer in the
27 # documentation and/or other materials provided with the distribution.
29 # Neither the name of the University nor the names of its contributors
30 # may be used to endorse or promote products derived from this software
31 # without specific prior written permission.
33 # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
34 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
35 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
36 # PURPOSE.
38 # Notes on building:
40 # Possible values for DEFS:
42 # By default, flex generates 8-bit scanners when using table compression,
43 # and 7-bit scanners when using uncompressed tables (-f or -F options).
44 # For flex to always generate 8-bit scanners, add "-DDEFAULT_CSIZE=256"
45 # to DEFS.
47 # For Vax/VMS, add "-DVMS" to DEFS.
49 # For MS-DOS, add "-DMS_DOS" to DEFS. See the directory MISC/MSDOS for
50 # additional info.
54 srcdir = @srcdir@
55 top_srcdir = @top_srcdir@
56 VPATH = @srcdir@
57 pkgdatadir = $(datadir)/@PACKAGE@
58 pkglibdir = $(libdir)/@PACKAGE@
59 pkgincludedir = $(includedir)/@PACKAGE@
60 top_builddir = .
61 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
62 INSTALL = @INSTALL@
63 install_sh_DATA = $(install_sh) -c -m 644
64 install_sh_PROGRAM = $(install_sh) -c
65 install_sh_SCRIPT = $(install_sh) -c
66 INSTALL_HEADER = $(INSTALL_DATA)
67 transform = $(program_transform_name)
68 NORMAL_INSTALL = :
69 PRE_INSTALL = :
70 POST_INSTALL = :
71 NORMAL_UNINSTALL = :
72 PRE_UNINSTALL = :
73 POST_UNINSTALL = :
74 build_triplet = @build@
75 host_triplet = @host@
76 bin_PROGRAMS = flex$(EXEEXT)
77 DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
78 $(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
79 $(srcdir)/conf.in $(top_srcdir)/configure ABOUT-NLS AUTHORS \
80 COPYING ChangeLog INSTALL NEWS README-alpha THANKS TODO \
81 compile config.guess config.rpath config.sub depcomp \
82 install-sh missing mkinstalldirs parse.c parse.h scan.c
83 subdir = .
84 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
86 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
87 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
88 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
89 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.in
90 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
91 $(ACLOCAL_M4)
92 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
93 configure.lineno configure.status.lineno
94 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
95 CONFIG_HEADER = config.h
96 CONFIG_CLEAN_FILES =
97 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
98 am__vpath_adj = case $$p in \
99 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
100 *) f=$$p;; \
101 esac;
102 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
103 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
104 "$(DESTDIR)$(includedir)"
105 libLIBRARIES_INSTALL = $(INSTALL_DATA)
106 LIBRARIES = $(lib_LIBRARIES)
107 AR = ar
108 ARFLAGS = cru
109 libfl_a_AR = $(AR) $(ARFLAGS)
110 libfl_a_LIBADD =
111 am_libfl_a_OBJECTS = libmain.$(OBJEXT) libyywrap.$(OBJEXT)
112 libfl_a_OBJECTS = $(am_libfl_a_OBJECTS)
113 libfl_pic_a_AR = $(AR) $(ARFLAGS)
114 libfl_pic_a_LIBADD =
115 am_libfl_pic_a_OBJECTS = libfl_pic_a-libmain.$(OBJEXT) \
116 libfl_pic_a-libyywrap.$(OBJEXT)
117 libfl_pic_a_OBJECTS = $(am_libfl_pic_a_OBJECTS)
118 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
119 PROGRAMS = $(bin_PROGRAMS)
120 am_flex_OBJECTS = ccl.$(OBJEXT) dfa.$(OBJEXT) ecs.$(OBJEXT) \
121 scanflags.$(OBJEXT) gen.$(OBJEXT) main.$(OBJEXT) \
122 misc.$(OBJEXT) nfa.$(OBJEXT) parse.$(OBJEXT) scan.$(OBJEXT) \
123 skel.$(OBJEXT) sym.$(OBJEXT) tblcmp.$(OBJEXT) yylex.$(OBJEXT) \
124 options.$(OBJEXT) scanopt.$(OBJEXT) buf.$(OBJEXT) \
125 tables.$(OBJEXT) tables_shared.$(OBJEXT) filter.$(OBJEXT) \
126 regex.$(OBJEXT)
127 flex_OBJECTS = $(am_flex_OBJECTS)
128 flex_LDADD = $(LDADD)
129 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
130 depcomp = $(SHELL) $(top_srcdir)/depcomp
131 am__depfiles_maybe = depfiles
132 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
133 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
134 CCLD = $(CC)
135 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
136 LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
137 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
138 SOURCES = $(libfl_a_SOURCES) $(libfl_pic_a_SOURCES) $(flex_SOURCES)
139 DIST_SOURCES = $(libfl_a_SOURCES) $(libfl_pic_a_SOURCES) \
140 $(flex_SOURCES)
141 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
142 html-recursive info-recursive install-data-recursive \
143 install-exec-recursive install-info-recursive \
144 install-recursive installcheck-recursive installdirs-recursive \
145 pdf-recursive ps-recursive uninstall-info-recursive \
146 uninstall-recursive
147 includeHEADERS_INSTALL = $(INSTALL_HEADER)
148 HEADERS = $(include_HEADERS) $(noinst_HEADERS)
149 ETAGS = etags
150 CTAGS = ctags
151 DIST_SUBDIRS = $(SUBDIRS)
152 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
153 distdir = $(PACKAGE)-$(VERSION)
154 top_distdir = $(distdir)
155 am__remove_distdir = \
156 { test ! -d $(distdir) \
157 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
158 && rm -fr $(distdir); }; }
159 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
160 GZIP_ENV = --best
161 distuninstallcheck_listfiles = find . -type f -print
162 distcleancheck_listfiles = find . -type f -print
163 ACLOCAL = @ACLOCAL@
164 ALLOCA = @ALLOCA@
165 AMDEP_FALSE = @AMDEP_FALSE@
166 AMDEP_TRUE = @AMDEP_TRUE@
167 AMTAR = @AMTAR@
168 AUTOCONF = @AUTOCONF@
169 AUTOHEADER = @AUTOHEADER@
170 AUTOMAKE = @AUTOMAKE@
171 AWK = @AWK@
172 BISON = @BISON@
173 CC = @CC@
174 CCDEPMODE = @CCDEPMODE@
175 CFLAGS = @CFLAGS@
176 CPP = @CPP@
177 CPPFLAGS = @CPPFLAGS@
178 CXX = @CXX@
179 CXXDEPMODE = @CXXDEPMODE@
180 CXXFLAGS = @CXXFLAGS@
181 CYGPATH_W = @CYGPATH_W@
182 DEFS = @DEFS@
183 DEPDIR = @DEPDIR@
184 ECHO_C = @ECHO_C@
185 ECHO_N = @ECHO_N@
186 ECHO_T = @ECHO_T@
187 EGREP = @EGREP@
188 EXEEXT = @EXEEXT@
189 GMSGFMT = @GMSGFMT@
190 HELP2MAN = @HELP2MAN@
191 INDENT = @INDENT@
192 INSTALL_DATA = @INSTALL_DATA@
193 INSTALL_PROGRAM = @INSTALL_PROGRAM@
194 INSTALL_SCRIPT = @INSTALL_SCRIPT@
195 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
196 INTLLIBS = @INTLLIBS@
197 LDFLAGS = @LDFLAGS@
198 LEX = @LEX@
199 LEXLIB = @LEXLIB@
200 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
201 LIBICONV = @LIBICONV@
202 LIBINTL = @LIBINTL@
203 LIBOBJS = @LIBOBJS@
204 LIBS = @LIBINTL@ @LIBS@
205 LN_S = @LN_S@
206 LTLIBICONV = @LTLIBICONV@
207 LTLIBINTL = @LTLIBINTL@
208 LTLIBOBJS = @LTLIBOBJS@
209 M4 = @M4@
210 MAKEINFO = @MAKEINFO@
211 MKINSTALLDIRS = @MKINSTALLDIRS@
212 MSGFMT = @MSGFMT@
213 MSGMERGE = @MSGMERGE@
214 OBJEXT = @OBJEXT@
215 PACKAGE = @PACKAGE@
216 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
217 PACKAGE_NAME = @PACKAGE_NAME@
218 PACKAGE_STRING = @PACKAGE_STRING@
219 PACKAGE_TARNAME = @PACKAGE_TARNAME@
220 PACKAGE_VERSION = @PACKAGE_VERSION@
221 PATH_SEPARATOR = @PATH_SEPARATOR@
222 POSUB = @POSUB@
223 RANLIB = @RANLIB@
224 SET_MAKE = @SET_MAKE@
225 SHELL = @SHELL@
226 STRIP = @STRIP@
227 USE_NLS = @USE_NLS@
228 VERSION = @VERSION@
229 XGETTEXT = @XGETTEXT@
230 YACC = @YACC@
231 ac_ct_CC = @ac_ct_CC@
232 ac_ct_CXX = @ac_ct_CXX@
233 ac_ct_RANLIB = @ac_ct_RANLIB@
234 ac_ct_STRIP = @ac_ct_STRIP@
235 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
236 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
237 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
238 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
239 am__include = @am__include@
240 am__leading_dot = @am__leading_dot@
241 am__quote = @am__quote@
242 am__tar = @am__tar@
243 am__untar = @am__untar@
244 bindir = @bindir@
245 build = @build@
246 build_alias = @build_alias@
247 build_cpu = @build_cpu@
248 build_os = @build_os@
249 build_vendor = @build_vendor@
250 datadir = @datadir@
251 exec_prefix = @exec_prefix@
252 host = @host@
253 host_alias = @host_alias@
254 host_cpu = @host_cpu@
255 host_os = @host_os@
256 host_vendor = @host_vendor@
257 includedir = @includedir@
258 infodir = @infodir@
259 install_sh = @install_sh@
260 libdir = @libdir@
261 libexecdir = @libexecdir@
262 localstatedir = @localstatedir@
263 mandir = @mandir@
264 mkdir_p = @mkdir_p@
265 oldincludedir = @oldincludedir@
266 prefix = @prefix@
267 program_transform_name = @program_transform_name@
268 sbindir = @sbindir@
269 sharedstatedir = @sharedstatedir@
270 sysconfdir = @sysconfdir@
271 target_alias = @target_alias@
272 AM_YFLAGS = -d
273 ACLOCAL_AMFLAGS = -I m4
274 m4 = @M4@
275 indent = @INDENT@
276 lib_LIBRARIES = \
277 libfl.a \
278 libfl_pic.a
280 flex_SOURCES = \
281 ccl.c \
282 dfa.c \
283 ecs.c \
284 scanflags.c \
285 gen.c \
286 main.c \
287 misc.c \
288 nfa.c \
289 parse.y \
290 scan.l \
291 skel.c \
292 sym.c \
293 tblcmp.c \
294 yylex.c \
295 options.c \
296 scanopt.c \
297 buf.c \
298 tables.c \
299 tables_shared.c \
300 filter.c \
301 regex.c
303 libfl_a_SOURCES = \
304 libmain.c \
305 libyywrap.c
307 libfl_pic_a_SOURCES = \
308 libmain.c \
309 libyywrap.c
311 libfl_pic_a_CFLAGS = \
312 -fPIC \
313 $(AM_CFLAGS)
315 noinst_HEADERS = \
316 flexdef.h \
317 flexint.h \
318 version.h \
319 options.h \
320 scanopt.h \
321 tables.h \
322 tables_shared.h
324 include_HEADERS = \
325 FlexLexer.h
327 EXTRA_DIST = \
328 .indent.pro \
329 AUTHORS \
330 COPYING \
331 INSTALL \
332 NEWS \
333 ONEWS \
334 README \
335 README.cvs \
336 THANKS \
337 TODO \
338 autogen.sh \
339 flex.skl \
340 mkskel.sh \
341 ABOUT-NLS \
342 config.rpath \
343 gettext.h
345 BUILT_SOURCES = \
346 skel.c
348 SUBDIRS = \
350 doc \
351 m4 \
352 examples \
353 po \
354 tools \
355 tests
357 localedir = $(datadir)/locale
358 AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl
360 # Run GNU indent on sources. Don't run this unless all the sources compile cleanly.
362 # Whole idea:
363 # 1. Check for .indent.pro, otherwise indent will use unknown
364 # settings, or worse, the GNU defaults.)
365 # 2. Check that this is GNU indent.
366 # 3. Make sure to process only the NON-generated .c and .h files.
367 # 4. Run indent twice per file. The first time is a test.
368 # Otherwise, indent overwrites your file even if it fails!
369 indentfiles = \
370 buf.c \
371 ccl.c \
372 dfa.c \
373 ecs.c \
374 scanflags.c \
375 filter.c \
376 flexdef.h \
377 gen.c \
378 libmain.c \
379 libyywrap.c \
380 main.c \
381 misc.c \
382 nfa.c \
383 options.c \
384 options.h \
385 regex.c \
386 scanopt.c \
387 scanopt.h \
388 sym.c \
389 tables.c \
390 tables.h \
391 tables_shared.c \
392 tables_shared.h \
393 tblcmp.c
395 all: $(BUILT_SOURCES) config.h
396 $(MAKE) $(AM_MAKEFLAGS) all-recursive
398 .SUFFIXES:
399 .SUFFIXES: .c .l .o .obj .y
400 am--refresh:
402 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
403 @for dep in $?; do \
404 case '$(am__configure_deps)' in \
405 *$$dep*) \
406 echo ' cd $(srcdir) && $(AUTOMAKE) --gnits '; \
407 cd $(srcdir) && $(AUTOMAKE) --gnits \
408 && exit 0; \
409 exit 1;; \
410 esac; \
411 done; \
412 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile'; \
413 cd $(top_srcdir) && \
414 $(AUTOMAKE) --gnits Makefile
415 .PRECIOUS: Makefile
416 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
417 @case '$?' in \
418 *config.status*) \
419 echo ' $(SHELL) ./config.status'; \
420 $(SHELL) ./config.status;; \
421 *) \
422 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
423 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
424 esac;
426 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
427 $(SHELL) ./config.status --recheck
429 $(top_srcdir)/configure: $(am__configure_deps)
430 cd $(srcdir) && $(AUTOCONF)
431 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
432 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
434 config.h: stamp-h1
435 @if test ! -f $@; then \
436 rm -f stamp-h1; \
437 $(MAKE) stamp-h1; \
438 else :; fi
440 stamp-h1: $(srcdir)/conf.in $(top_builddir)/config.status
441 @rm -f stamp-h1
442 cd $(top_builddir) && $(SHELL) ./config.status config.h
443 $(srcdir)/conf.in: $(am__configure_deps)
444 cd $(top_srcdir) && $(AUTOHEADER)
445 rm -f stamp-h1
446 touch $@
448 distclean-hdr:
449 -rm -f config.h stamp-h1
450 install-libLIBRARIES: $(lib_LIBRARIES)
451 @$(NORMAL_INSTALL)
452 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
453 @list='$(lib_LIBRARIES)'; for p in $$list; do \
454 if test -f $$p; then \
455 f=$(am__strip_dir) \
456 echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
457 $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
458 else :; fi; \
459 done
460 @$(POST_INSTALL)
461 @list='$(lib_LIBRARIES)'; for p in $$list; do \
462 if test -f $$p; then \
463 p=$(am__strip_dir) \
464 echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \
465 $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \
466 else :; fi; \
467 done
469 uninstall-libLIBRARIES:
470 @$(NORMAL_UNINSTALL)
471 @list='$(lib_LIBRARIES)'; for p in $$list; do \
472 p=$(am__strip_dir) \
473 echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \
474 rm -f "$(DESTDIR)$(libdir)/$$p"; \
475 done
477 clean-libLIBRARIES:
478 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
479 libfl.a: $(libfl_a_OBJECTS) $(libfl_a_DEPENDENCIES)
480 -rm -f libfl.a
481 $(libfl_a_AR) libfl.a $(libfl_a_OBJECTS) $(libfl_a_LIBADD)
482 $(RANLIB) libfl.a
483 libfl_pic.a: $(libfl_pic_a_OBJECTS) $(libfl_pic_a_DEPENDENCIES)
484 -rm -f libfl_pic.a
485 $(libfl_pic_a_AR) libfl_pic.a $(libfl_pic_a_OBJECTS) $(libfl_pic_a_LIBADD)
486 $(RANLIB) libfl_pic.a
487 install-binPROGRAMS: $(bin_PROGRAMS)
488 @$(NORMAL_INSTALL)
489 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
490 @list='$(bin_PROGRAMS)'; for p in $$list; do \
491 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
492 if test -f $$p \
493 ; then \
494 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
495 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
496 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
497 else :; fi; \
498 done
500 uninstall-binPROGRAMS:
501 @$(NORMAL_UNINSTALL)
502 @list='$(bin_PROGRAMS)'; for p in $$list; do \
503 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
504 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
505 rm -f "$(DESTDIR)$(bindir)/$$f"; \
506 done
508 clean-binPROGRAMS:
509 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
511 installcheck-binPROGRAMS: $(bin_PROGRAMS)
512 bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \
513 case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \
514 *" $$p "* | *" $(srcdir)/$$p "*) continue;; \
515 esac; \
516 f=`echo "$$p" | \
517 sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
518 for opt in --help --version; do \
519 if "$(DESTDIR)$(bindir)/$$f" $$opt >c$${pid}_.out \
520 2>c$${pid}_.err </dev/null \
521 && test -n "`cat c$${pid}_.out`" \
522 && test -z "`cat c$${pid}_.err`"; then :; \
523 else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
524 done; \
525 done; rm -f c$${pid}_.???; exit $$bad
526 parse.h: parse.c
527 @if test ! -f $@; then \
528 rm -f parse.c; \
529 $(MAKE) parse.c; \
530 else :; fi
531 flex$(EXEEXT): $(flex_OBJECTS) $(flex_DEPENDENCIES)
532 @rm -f flex$(EXEEXT)
533 $(LINK) $(flex_LDFLAGS) $(flex_OBJECTS) $(flex_LDADD) $(LIBS)
535 mostlyclean-compile:
536 -rm -f *.$(OBJEXT)
538 distclean-compile:
539 -rm -f *.tab.c
541 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buf.Po@am__quote@
542 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ccl.Po@am__quote@
543 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dfa.Po@am__quote@
544 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecs.Po@am__quote@
545 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@
546 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gen.Po@am__quote@
547 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfl_pic_a-libmain.Po@am__quote@
548 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfl_pic_a-libyywrap.Po@am__quote@
549 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmain.Po@am__quote@
550 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libyywrap.Po@am__quote@
551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
552 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
553 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfa.Po@am__quote@
554 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
555 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@
556 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex.Po@am__quote@
557 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scan.Po@am__quote@
558 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanflags.Po@am__quote@
559 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanopt.Po@am__quote@
560 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/skel.Po@am__quote@
561 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sym.Po@am__quote@
562 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tables.Po@am__quote@
563 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tables_shared.Po@am__quote@
564 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tblcmp.Po@am__quote@
565 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yylex.Po@am__quote@
567 .c.o:
568 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
569 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
570 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
571 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
572 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
574 .c.obj:
575 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
576 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
577 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
578 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
579 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
581 libfl_pic_a-libmain.o: libmain.c
582 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfl_pic_a_CFLAGS) $(CFLAGS) -MT libfl_pic_a-libmain.o -MD -MP -MF "$(DEPDIR)/libfl_pic_a-libmain.Tpo" -c -o libfl_pic_a-libmain.o `test -f 'libmain.c' || echo '$(srcdir)/'`libmain.c; \
583 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfl_pic_a-libmain.Tpo" "$(DEPDIR)/libfl_pic_a-libmain.Po"; else rm -f "$(DEPDIR)/libfl_pic_a-libmain.Tpo"; exit 1; fi
584 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libmain.c' object='libfl_pic_a-libmain.o' libtool=no @AMDEPBACKSLASH@
585 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
586 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfl_pic_a_CFLAGS) $(CFLAGS) -c -o libfl_pic_a-libmain.o `test -f 'libmain.c' || echo '$(srcdir)/'`libmain.c
588 libfl_pic_a-libmain.obj: libmain.c
589 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfl_pic_a_CFLAGS) $(CFLAGS) -MT libfl_pic_a-libmain.obj -MD -MP -MF "$(DEPDIR)/libfl_pic_a-libmain.Tpo" -c -o libfl_pic_a-libmain.obj `if test -f 'libmain.c'; then $(CYGPATH_W) 'libmain.c'; else $(CYGPATH_W) '$(srcdir)/libmain.c'; fi`; \
590 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfl_pic_a-libmain.Tpo" "$(DEPDIR)/libfl_pic_a-libmain.Po"; else rm -f "$(DEPDIR)/libfl_pic_a-libmain.Tpo"; exit 1; fi
591 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libmain.c' object='libfl_pic_a-libmain.obj' libtool=no @AMDEPBACKSLASH@
592 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
593 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfl_pic_a_CFLAGS) $(CFLAGS) -c -o libfl_pic_a-libmain.obj `if test -f 'libmain.c'; then $(CYGPATH_W) 'libmain.c'; else $(CYGPATH_W) '$(srcdir)/libmain.c'; fi`
595 libfl_pic_a-libyywrap.o: libyywrap.c
596 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfl_pic_a_CFLAGS) $(CFLAGS) -MT libfl_pic_a-libyywrap.o -MD -MP -MF "$(DEPDIR)/libfl_pic_a-libyywrap.Tpo" -c -o libfl_pic_a-libyywrap.o `test -f 'libyywrap.c' || echo '$(srcdir)/'`libyywrap.c; \
597 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfl_pic_a-libyywrap.Tpo" "$(DEPDIR)/libfl_pic_a-libyywrap.Po"; else rm -f "$(DEPDIR)/libfl_pic_a-libyywrap.Tpo"; exit 1; fi
598 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libyywrap.c' object='libfl_pic_a-libyywrap.o' libtool=no @AMDEPBACKSLASH@
599 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
600 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfl_pic_a_CFLAGS) $(CFLAGS) -c -o libfl_pic_a-libyywrap.o `test -f 'libyywrap.c' || echo '$(srcdir)/'`libyywrap.c
602 libfl_pic_a-libyywrap.obj: libyywrap.c
603 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfl_pic_a_CFLAGS) $(CFLAGS) -MT libfl_pic_a-libyywrap.obj -MD -MP -MF "$(DEPDIR)/libfl_pic_a-libyywrap.Tpo" -c -o libfl_pic_a-libyywrap.obj `if test -f 'libyywrap.c'; then $(CYGPATH_W) 'libyywrap.c'; else $(CYGPATH_W) '$(srcdir)/libyywrap.c'; fi`; \
604 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfl_pic_a-libyywrap.Tpo" "$(DEPDIR)/libfl_pic_a-libyywrap.Po"; else rm -f "$(DEPDIR)/libfl_pic_a-libyywrap.Tpo"; exit 1; fi
605 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libyywrap.c' object='libfl_pic_a-libyywrap.obj' libtool=no @AMDEPBACKSLASH@
606 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
607 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfl_pic_a_CFLAGS) $(CFLAGS) -c -o libfl_pic_a-libyywrap.obj `if test -f 'libyywrap.c'; then $(CYGPATH_W) 'libyywrap.c'; else $(CYGPATH_W) '$(srcdir)/libyywrap.c'; fi`
609 .l.c:
610 $(LEXCOMPILE) $<
611 sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
612 rm -f $(LEX_OUTPUT_ROOT).c
614 .y.c:
615 $(YACCCOMPILE) $<
616 if test -f y.tab.h; then \
617 to=`echo "$*_H" | sed \
618 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
619 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
620 sed -e "/^#/!b" -e "s/Y_TAB_H/$$to/g" -e "s|y\.tab\.h|$*.h|" \
621 y.tab.h >$*.ht; \
622 rm -f y.tab.h; \
623 if cmp -s $*.ht $*.h; then \
624 rm -f $*.ht ;\
625 else \
626 mv $*.ht $*.h; \
627 fi; \
629 if test -f y.output; then \
630 mv y.output $*.output; \
632 sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@
633 rm -f y.tab.c
634 uninstall-info-am:
635 install-includeHEADERS: $(include_HEADERS)
636 @$(NORMAL_INSTALL)
637 test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
638 @list='$(include_HEADERS)'; for p in $$list; do \
639 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
640 f=$(am__strip_dir) \
641 echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
642 $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
643 done
645 uninstall-includeHEADERS:
646 @$(NORMAL_UNINSTALL)
647 @list='$(include_HEADERS)'; for p in $$list; do \
648 f=$(am__strip_dir) \
649 echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
650 rm -f "$(DESTDIR)$(includedir)/$$f"; \
651 done
653 # This directory's subdirectories are mostly independent; you can cd
654 # into them and run `make' without going through this Makefile.
655 # To change the values of `make' variables: instead of editing Makefiles,
656 # (1) if the variable is set in `config.status', edit `config.status'
657 # (which will cause the Makefiles to be regenerated when you run `make');
658 # (2) otherwise, pass the desired values on the `make' command line.
659 $(RECURSIVE_TARGETS):
660 @failcom='exit 1'; \
661 for f in x $$MAKEFLAGS; do \
662 case $$f in \
663 *=* | --[!k]*);; \
664 *k*) failcom='fail=yes';; \
665 esac; \
666 done; \
667 dot_seen=no; \
668 target=`echo $@ | sed s/-recursive//`; \
669 list='$(SUBDIRS)'; for subdir in $$list; do \
670 echo "Making $$target in $$subdir"; \
671 if test "$$subdir" = "."; then \
672 dot_seen=yes; \
673 local_target="$$target-am"; \
674 else \
675 local_target="$$target"; \
676 fi; \
677 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
678 || eval $$failcom; \
679 done; \
680 if test "$$dot_seen" = "no"; then \
681 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
682 fi; test -z "$$fail"
684 mostlyclean-recursive clean-recursive distclean-recursive \
685 maintainer-clean-recursive:
686 @failcom='exit 1'; \
687 for f in x $$MAKEFLAGS; do \
688 case $$f in \
689 *=* | --[!k]*);; \
690 *k*) failcom='fail=yes';; \
691 esac; \
692 done; \
693 dot_seen=no; \
694 case "$@" in \
695 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
696 *) list='$(SUBDIRS)' ;; \
697 esac; \
698 rev=''; for subdir in $$list; do \
699 if test "$$subdir" = "."; then :; else \
700 rev="$$subdir $$rev"; \
701 fi; \
702 done; \
703 rev="$$rev ."; \
704 target=`echo $@ | sed s/-recursive//`; \
705 for subdir in $$rev; do \
706 echo "Making $$target in $$subdir"; \
707 if test "$$subdir" = "."; then \
708 local_target="$$target-am"; \
709 else \
710 local_target="$$target"; \
711 fi; \
712 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
713 || eval $$failcom; \
714 done && test -z "$$fail"
715 tags-recursive:
716 list='$(SUBDIRS)'; for subdir in $$list; do \
717 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
718 done
719 ctags-recursive:
720 list='$(SUBDIRS)'; for subdir in $$list; do \
721 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
722 done
724 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
725 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
726 unique=`for i in $$list; do \
727 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
728 done | \
729 $(AWK) ' { files[$$0] = 1; } \
730 END { for (i in files) print i; }'`; \
731 mkid -fID $$unique
732 tags: TAGS
734 TAGS: tags-recursive $(HEADERS) $(SOURCES) conf.in $(TAGS_DEPENDENCIES) \
735 $(TAGS_FILES) $(LISP)
736 tags=; \
737 here=`pwd`; \
738 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
739 include_option=--etags-include; \
740 empty_fix=.; \
741 else \
742 include_option=--include; \
743 empty_fix=; \
744 fi; \
745 list='$(SUBDIRS)'; for subdir in $$list; do \
746 if test "$$subdir" = .; then :; else \
747 test ! -f $$subdir/TAGS || \
748 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
749 fi; \
750 done; \
751 list='$(SOURCES) $(HEADERS) conf.in $(LISP) $(TAGS_FILES)'; \
752 unique=`for i in $$list; do \
753 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
754 done | \
755 $(AWK) ' { files[$$0] = 1; } \
756 END { for (i in files) print i; }'`; \
757 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
758 test -n "$$unique" || unique=$$empty_fix; \
759 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
760 $$tags $$unique; \
762 ctags: CTAGS
763 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) conf.in $(TAGS_DEPENDENCIES) \
764 $(TAGS_FILES) $(LISP)
765 tags=; \
766 here=`pwd`; \
767 list='$(SOURCES) $(HEADERS) conf.in $(LISP) $(TAGS_FILES)'; \
768 unique=`for i in $$list; do \
769 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
770 done | \
771 $(AWK) ' { files[$$0] = 1; } \
772 END { for (i in files) print i; }'`; \
773 test -z "$(CTAGS_ARGS)$$tags$$unique" \
774 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
775 $$tags $$unique
777 GTAGS:
778 here=`$(am__cd) $(top_builddir) && pwd` \
779 && cd $(top_srcdir) \
780 && gtags -i $(GTAGS_ARGS) $$here
782 distclean-tags:
783 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
785 distdir: $(DISTFILES)
786 @case `sed 15q $(srcdir)/NEWS` in \
787 *"$(VERSION)"*) : ;; \
788 *) \
789 echo "NEWS not updated; not releasing" 1>&2; \
790 exit 1;; \
791 esac
792 $(am__remove_distdir)
793 mkdir $(distdir)
794 $(mkdir_p) $(distdir)/m4 $(distdir)/po
795 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
796 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
797 list='$(DISTFILES)'; for file in $$list; do \
798 case $$file in \
799 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
800 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
801 esac; \
802 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
803 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
804 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
805 dir="/$$dir"; \
806 $(mkdir_p) "$(distdir)$$dir"; \
807 else \
808 dir=''; \
809 fi; \
810 if test -d $$d/$$file; then \
811 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
812 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
813 fi; \
814 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
815 else \
816 test -f $(distdir)/$$file \
817 || cp -p $$d/$$file $(distdir)/$$file \
818 || exit 1; \
819 fi; \
820 done
821 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
822 if test "$$subdir" = .; then :; else \
823 test -d "$(distdir)/$$subdir" \
824 || $(mkdir_p) "$(distdir)/$$subdir" \
825 || exit 1; \
826 distdir=`$(am__cd) $(distdir) && pwd`; \
827 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
828 (cd $$subdir && \
829 $(MAKE) $(AM_MAKEFLAGS) \
830 top_distdir="$$top_distdir" \
831 distdir="$$distdir/$$subdir" \
832 distdir) \
833 || exit 1; \
834 fi; \
835 done
836 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
837 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
838 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
839 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
840 || chmod -R a+r $(distdir)
841 dist-gzip: distdir
842 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
843 $(am__remove_distdir)
844 dist-bzip2: distdir
845 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
846 $(am__remove_distdir)
848 dist-tarZ: distdir
849 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
850 $(am__remove_distdir)
852 dist-shar: distdir
853 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
854 $(am__remove_distdir)
856 dist-zip: distdir
857 -rm -f $(distdir).zip
858 zip -rq $(distdir).zip $(distdir)
859 $(am__remove_distdir)
861 dist dist-all: distdir
862 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
863 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
864 $(am__remove_distdir)
866 # This target untars the dist file and tries a VPATH configuration. Then
867 # it guarantees that the distribution is self-contained by making another
868 # tarfile.
869 distcheck: dist
870 case '$(DIST_ARCHIVES)' in \
871 *.tar.gz*) \
872 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
873 *.tar.bz2*) \
874 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
875 *.tar.Z*) \
876 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
877 *.shar.gz*) \
878 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
879 *.zip*) \
880 unzip $(distdir).zip ;;\
881 esac
882 chmod -R a-w $(distdir); chmod a+w $(distdir)
883 mkdir $(distdir)/_build
884 mkdir $(distdir)/_inst
885 chmod a-w $(distdir)
886 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
887 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
888 && cd $(distdir)/_build \
889 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
890 $(DISTCHECK_CONFIGURE_FLAGS) \
891 && $(MAKE) $(AM_MAKEFLAGS) \
892 && $(MAKE) $(AM_MAKEFLAGS) dvi \
893 && $(MAKE) $(AM_MAKEFLAGS) check \
894 && $(MAKE) $(AM_MAKEFLAGS) install \
895 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
896 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
897 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
898 distuninstallcheck \
899 && chmod -R a-w "$$dc_install_base" \
900 && ({ \
901 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
902 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
903 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
904 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
905 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
906 } || { rm -rf "$$dc_destdir"; exit 1; }) \
907 && rm -rf "$$dc_destdir" \
908 && $(MAKE) $(AM_MAKEFLAGS) dist \
909 && rm -rf $(DIST_ARCHIVES) \
910 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
911 $(am__remove_distdir)
912 @(echo "$(distdir) archives ready for distribution: "; \
913 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
914 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
915 distuninstallcheck:
916 @cd $(distuninstallcheck_dir) \
917 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
918 || { echo "ERROR: files left after uninstall:" ; \
919 if test -n "$(DESTDIR)"; then \
920 echo " (check DESTDIR support)"; \
921 fi ; \
922 $(distuninstallcheck_listfiles) ; \
923 exit 1; } >&2
924 distcleancheck: distclean
925 @if test '$(srcdir)' = . ; then \
926 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
927 exit 1 ; \
929 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
930 || { echo "ERROR: files left in build directory after distclean:" ; \
931 $(distcleancheck_listfiles) ; \
932 exit 1; } >&2
933 check-am: all-am
934 check: $(BUILT_SOURCES)
935 $(MAKE) $(AM_MAKEFLAGS) check-recursive
936 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) config.h
937 installdirs: installdirs-recursive
938 installdirs-am:
939 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"; do \
940 test -z "$$dir" || $(mkdir_p) "$$dir"; \
941 done
942 install: $(BUILT_SOURCES)
943 $(MAKE) $(AM_MAKEFLAGS) install-recursive
944 install-exec: install-exec-recursive
945 install-data: install-data-recursive
946 uninstall: uninstall-recursive
948 install-am: all-am
949 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
951 installcheck: installcheck-recursive
952 install-strip:
953 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
954 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
955 `test -z '$(STRIP)' || \
956 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
957 mostlyclean-generic:
959 clean-generic:
961 distclean-generic:
962 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
964 maintainer-clean-generic:
965 @echo "This command is intended for maintainers to use"
966 @echo "it deletes files that may require special tools to rebuild."
967 -rm -f parse.c
968 -rm -f parse.h
969 -rm -f scan.c
970 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
971 clean: clean-recursive
973 clean-am: clean-binPROGRAMS clean-generic clean-libLIBRARIES \
974 mostlyclean-am
976 distclean: distclean-recursive
977 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
978 -rm -rf ./$(DEPDIR)
979 -rm -f Makefile
980 distclean-am: clean-am distclean-compile distclean-generic \
981 distclean-hdr distclean-tags
983 dvi: dvi-recursive
985 dvi-am:
987 html: html-recursive
989 info: info-recursive
991 info-am:
993 install-data-am: install-includeHEADERS
995 install-exec-am: install-binPROGRAMS install-libLIBRARIES
997 install-info: install-info-recursive
999 install-man:
1001 installcheck-am: installcheck-binPROGRAMS
1003 maintainer-clean: maintainer-clean-recursive
1004 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1005 -rm -rf $(top_srcdir)/autom4te.cache
1006 -rm -rf ./$(DEPDIR)
1007 -rm -f Makefile
1008 maintainer-clean-am: distclean-am maintainer-clean-generic
1010 mostlyclean: mostlyclean-recursive
1012 mostlyclean-am: mostlyclean-compile mostlyclean-generic
1014 pdf: pdf-recursive
1016 pdf-am:
1018 ps: ps-recursive
1020 ps-am:
1022 uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
1023 uninstall-info-am uninstall-libLIBRARIES
1025 uninstall-info: uninstall-info-recursive
1027 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
1028 check-am clean clean-binPROGRAMS clean-generic \
1029 clean-libLIBRARIES clean-recursive ctags ctags-recursive dist \
1030 dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
1031 distcheck distclean distclean-compile distclean-generic \
1032 distclean-hdr distclean-recursive distclean-tags \
1033 distcleancheck distdir distuninstallcheck dvi dvi-am html \
1034 html-am info info-am install install-am install-binPROGRAMS \
1035 install-data install-data-am install-exec install-exec-am \
1036 install-includeHEADERS install-info install-info-am \
1037 install-libLIBRARIES install-man install-strip installcheck \
1038 installcheck-am installcheck-binPROGRAMS installdirs \
1039 installdirs-am maintainer-clean maintainer-clean-generic \
1040 maintainer-clean-recursive mostlyclean mostlyclean-compile \
1041 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
1042 tags tags-recursive uninstall uninstall-am \
1043 uninstall-binPROGRAMS uninstall-includeHEADERS \
1044 uninstall-info-am uninstall-libLIBRARIES
1047 skel.c: flex.skl mkskel.sh flexint.h tables_shared.h
1048 sed 's/m4_/m4postproc_/g; s/m4preproc_/m4_/g' $(srcdir)/flex.skl | $(m4) -P -DFLEX_MAJOR_VERSION=`echo $(VERSION)|cut -f 1 -d .` -DFLEX_MINOR_VERSION=`echo $(VERSION)|cut -f 2 -d .` -DFLEX_SUBMINOR_VERSION=`echo $(VERSION)|cut -f 3 -d .` | sed 's/m4postproc_/m4_/g' | $(SHELL) $(srcdir)/mkskel.sh >skel.c
1050 # Explicitly describe dependencies.
1051 # You can recreate this with `gcc -I. -MM *.c'
1052 buf.o: buf.c flexdef.h flexint.h
1053 ccl.o: ccl.c flexdef.h flexint.h
1054 dfa.o: dfa.c flexdef.h flexint.h tables.h tables_shared.h
1055 ecs.o: ecs.c flexdef.h flexint.h
1056 scanflags.o: scanflags.c flexdef.h flexint.h
1057 gen.o: gen.c flexdef.h flexint.h tables.h tables_shared.h
1058 libmain.o: libmain.c
1059 libyywrap.o: libyywrap.c
1060 main.o: main.c flexdef.h flexint.h version.h options.h scanopt.h \
1061 tables.h tables_shared.h
1062 misc.o: misc.c flexdef.h flexint.h tables.h tables_shared.h
1063 nfa.o: nfa.c flexdef.h flexint.h
1064 options.o: options.c options.h scanopt.h flexdef.h flexint.h
1065 parse.o: parse.c flexdef.h flexint.h tables.h tables_shared.h
1066 scan.o: scan.c flexdef.h flexint.h parse.h
1067 scanopt.o: scanopt.c flexdef.h flexint.h scanopt.h
1068 skel.o: skel.c flexdef.h flexint.h
1069 sym.o: sym.c flexdef.h flexint.h
1070 tables.o: tables.c flexdef.h flexint.h tables.h tables_shared.h
1071 tables_shared.o: tables_shared.c flexdef.h flexint.h tables.h \
1072 tables_shared.h
1073 tblcmp.o: tblcmp.c flexdef.h flexint.h
1074 yylex.o: yylex.c flexdef.h flexint.h parse.h
1075 filter.o: filter.c flexdef.h flexint.h
1077 # Create the ChangeLog, but only if we're inside a cvs working directory
1079 ChangeLog: $(srcdir)/tools/cvsauthors $(srcdir)/tools/cvs2cl.pl
1080 if [ -d CVS ] ; then \
1081 sh $(srcdir)/tools/cvs2cl.pl -F trunk -U $(srcdir)/tools/cvsauthors \
1082 ; fi
1084 indent:
1085 if [ -f .indent.pro ] ; then \
1086 for f in $(indentfiles);\
1088 echo indenting $$f ;\
1089 $(indent) < $$f >/dev/null && indent $$f || echo $$f FAILED to indent ;\
1090 done \
1093 .PHONY: ChangeLog tags indent
1094 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1095 # Otherwise a system limit (for SysV at least) may be exceeded.
1096 .NOEXPORT: