1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # This file is part of flex.
20 # Redistribution and use in source and binary forms, with or without
21 # modification, are permitted provided that the following conditions
24 # 1. Redistributions of source code must retain the above copyright
25 # notice, this list of conditions and the following disclaimer.
26 # 2. Redistributions in binary form must reproduce the above copyright
27 # notice, this list of conditions and the following disclaimer in the
28 # documentation and/or other materials provided with the distribution.
30 # Neither the name of the University nor the names of its contributors
31 # may be used to endorse or promote products derived from this software
32 # without specific prior written permission.
34 # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
35 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
36 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
39 # ------------------------------------------------
40 # This test is really a set of tests, one for
41 # each compression flag. -Ca, -Cem, etc..
42 # 'test-opt' builds non-serialized scanners with various table options.
43 # 'test-ver' verifies that the serialized tables match the in-code tables.
44 # 'test-ser' deserializes the tables at runtime.
45 # 'test-mul' checks that we can store multiple tables in a single file.
46 # ------------------------------------------------
53 echo
'am--echo: ; @echo "AM" OK' |
$(MAKE
) -f
- 2>/dev
/null \
54 | grep
'^AM OK$$' >/dev
/null || am__dry
=yes
;; \
56 for am__flg in
$$MAKEFLAGS; do \
59 *n
*) am__dry
=yes
; break
;; \
63 test $$am__dry = yes
; \
65 pkgdatadir
= $(datadir)/@PACKAGE@
66 pkgincludedir
= $(includedir)/@PACKAGE@
67 pkglibdir
= $(libdir)/@PACKAGE@
68 pkglibexecdir
= $(libexecdir
)/@PACKAGE@
69 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
70 install_sh_DATA
= $(install_sh
) -c
-m
644
71 install_sh_PROGRAM
= $(install_sh
) -c
72 install_sh_SCRIPT
= $(install_sh
) -c
73 INSTALL_HEADER
= $(INSTALL_DATA
)
74 transform
= $(program_transform_name
)
81 build_triplet
= @build@
83 subdir
= tests
/test-table-opts
84 DIST_COMMON
= $(srcdir)/Makefile.am
$(srcdir)/Makefile.in
85 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
86 am__aclocal_m4_deps
= $(top_srcdir
)/m4
/gettext.m4 \
87 $(top_srcdir
)/m4
/iconv.m4
$(top_srcdir
)/m4
/intlmacosx.m4 \
88 $(top_srcdir
)/m4
/lib-ld.m4
$(top_srcdir
)/m4
/lib-link.m4 \
89 $(top_srcdir
)/m4
/lib-prefix.m4
$(top_srcdir
)/m4
/libtool.m4 \
90 $(top_srcdir
)/m4
/ltoptions.m4
$(top_srcdir
)/m4
/ltsugar.m4 \
91 $(top_srcdir
)/m4
/ltversion.m4
$(top_srcdir
)/m4
/lt~obsolete.m4 \
92 $(top_srcdir
)/m4
/nls.m4
$(top_srcdir
)/m4
/po.m4 \
93 $(top_srcdir
)/m4
/progtest.m4
$(top_srcdir
)/configure.ac
94 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
96 mkinstalldirs
= $(install_sh
) -d
97 CONFIG_HEADER
= $(top_builddir
)/config.h
99 CONFIG_CLEAN_VPATH_FILES
=
102 am__can_run_installinfo
= \
103 case
$$AM_UPDATE_INFO_DIR in \
105 *) (install-info
--version
) >/dev
/null
2>&1;; \
107 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
112 AUTOCONF
= @AUTOCONF@
113 AUTOHEADER
= @AUTOHEADER@
114 AUTOMAKE
= @AUTOMAKE@
118 CCDEPMODE
= @CCDEPMODE@
121 CPPFLAGS
= @CPPFLAGS@
124 CXXDEPMODE
= @CXXDEPMODE@
125 CXXFLAGS
= @CXXFLAGS@
126 CYGPATH_W
= @CYGPATH_W@
130 DSYMUTIL
= @DSYMUTIL@
138 GETTEXT_MACRO_VERSION
= @GETTEXT_MACRO_VERSION@
140 GMSGFMT_015
= @GMSGFMT_015@
142 HELP2MAN
= @HELP2MAN@
145 INSTALL_DATA
= @INSTALL_DATA@
146 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
147 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
148 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
149 INTLLIBS
= @INTLLIBS@
150 INTL_MACOSX_LIBS
= @INTL_MACOSX_LIBS@
155 LEX_OUTPUT_ROOT
= @LEX_OUTPUT_ROOT@
156 LIBICONV
= @LIBICONV@
163 LTLIBICONV
= @LTLIBICONV@
164 LTLIBINTL
= @LTLIBINTL@
165 LTLIBOBJS
= @LTLIBOBJS@
167 MAKEINFO
= @MAKEINFO@
168 MANIFEST_TOOL
= @MANIFEST_TOOL@
171 MSGFMT_015
= @MSGFMT_015@
172 MSGMERGE
= @MSGMERGE@
180 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
181 PACKAGE_NAME
= @PACKAGE_NAME@
182 PACKAGE_STRING
= @PACKAGE_STRING@
183 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
184 PACKAGE_URL
= @PACKAGE_URL@
185 PACKAGE_VERSION
= @PACKAGE_VERSION@
186 PATH_SEPARATOR
= @PATH_SEPARATOR@
190 SET_MAKE
= @SET_MAKE@
191 SHARED_VERSION_INFO
= @SHARED_VERSION_INFO@
196 XGETTEXT
= @XGETTEXT@
197 XGETTEXT_015
= @XGETTEXT_015@
198 XGETTEXT_EXTRA_OPTIONS
= @XGETTEXT_EXTRA_OPTIONS@
201 abs_builddir
= @abs_builddir@
202 abs_srcdir
= @abs_srcdir@
203 abs_top_builddir
= @abs_top_builddir@
204 abs_top_srcdir
= @abs_top_srcdir@
205 ac_ct_AR
= @ac_ct_AR@
206 ac_ct_CC
= @ac_ct_CC@
207 ac_ct_CXX
= @ac_ct_CXX@
208 ac_ct_DUMPBIN
= @ac_ct_DUMPBIN@
209 am__include
= @am__include@
210 am__leading_dot
= @am__leading_dot@
211 am__quote
= @am__quote@
213 am__untar
= @am__untar@
216 build_alias
= @build_alias@
217 build_cpu
= @build_cpu@
218 build_os
= @build_os@
219 build_vendor
= @build_vendor@
220 builddir
= @builddir@
222 datarootdir
= @datarootdir@
225 exec_prefix = @
exec_prefix@
227 host_alias
= @host_alias@
228 host_cpu
= @host_cpu@
230 host_vendor
= @host_vendor@
232 includedir = @
includedir@
234 install_sh
= @install_sh@
236 libexecdir
= @libexecdir@
237 localedir
= @localedir@
238 localstatedir
= @localstatedir@
241 oldincludedir = @
oldincludedir@
244 program_transform_name
= @program_transform_name@
247 sharedstatedir
= @sharedstatedir@
249 sysconfdir
= @sysconfdir@
250 target_alias
= @target_alias@
251 top_build_prefix
= @top_build_prefix@
252 top_builddir
= @top_builddir@
253 top_srcdir
= @top_srcdir@
254 FLEX
= $(top_builddir
)/flex
255 testname
:= test-table-opts
256 allopts
:= -Ca
-Ce
-Cf
-CF
-Cm
-Cem
-Cae
-Caef
-CaeF
-Cam
-Caem
258 # the test names themselves
259 opttests
:= $(foreach opt
,$(allopts
), test-opt-nr
$(opt
) test-opt-r
$(opt
))
260 sertests
:= $(foreach opt
,$(allopts
), test-ser-nr
$(opt
) test-ser-r
$(opt
))
261 vertests
:= $(foreach opt
,$(allopts
), test-ver-nr
$(opt
) test-ver-r
$(opt
))
262 alltests
:= $(opttests
) $(vertests
) $(sertests
) test-mul
264 # the executables to build
265 optexe
:= $(addsuffix $(EXEEXT
),$(opttests
))
266 verexe
:= $(addsuffix $(EXEEXT
),$(vertests
))
267 serexe
:= $(addsuffix $(EXEEXT
),$(sertests
))
268 allexe
:= $(optexe
) $(verexe
) $(serexe
)
271 optsrc
:= $(addsuffix .c
,$(opttests
))
272 versrc
:= $(addsuffix .c
,$(vertests
))
273 sersrc
:= $(addsuffix .c
,$(sertests
))
274 allsrc
:= $(optsrc
) $(versrc
) $(sersrc
)
277 optobj
:= $(addsuffix .o
,$(opttests
))
278 verobj
:= $(addsuffix .o
,$(vertests
))
279 serobj
:= $(addsuffix .o
,$(sertests
))
280 allobj
:= $(optobj
) $(verobj
) $(serobj
)
283 sertables
:= $(addsuffix .tables
,$(sertests
))
284 alltables
:= $(addsuffix .tables
,$(alltests
))
285 EXTRA_DIST
= scanner.l
test.input
286 CLEANFILES
= scanner.c OUTPUT
$(allobj
) $(allsrc
) $(alltables
) \
287 all-ser.tables
$(allexe
)
289 AM_CPPFLAGS
= -I
$(srcdir) -I
$(top_srcdir
) -I
$(top_builddir
)
293 $(srcdir)/Makefile.in
: $(srcdir)/Makefile.am
$(am__configure_deps
)
295 case
'$(am__configure_deps)' in \
297 ( cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
) \
298 && { if
test -f
$@
; then exit
0; else break
; fi
; }; \
302 echo
' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/test-table-opts/Makefile'; \
303 $(am__cd
) $(top_srcdir
) && \
304 $(AUTOMAKE
) --gnu tests
/test-table-opts
/Makefile
306 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
309 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
;; \
311 echo
' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
312 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$(subdir
)/$@
$(am__depfiles_maybe
);; \
315 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
316 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
318 $(top_srcdir
)/configure
: $(am__configure_deps
)
319 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
320 $(ACLOCAL_M4
): $(am__aclocal_m4_deps
)
321 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
322 $(am__aclocal_m4_deps
):
336 distdir
: $(DISTFILES
)
337 @srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
338 topsrcdirstrip
=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
339 list
='$(DISTFILES)'; \
340 dist_files
=`for file in $$list; do echo $$file; done | \
341 sed -e "s|^$$srcdirstrip/||;t" \
342 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
343 case
$$dist_files in \
344 */*) $(MKDIR_P
) `echo "$$dist_files" | \
345 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
348 for file in
$$dist_files; do \
349 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
350 if
test -d
$$d/$$file; then \
351 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
352 if
test -d
"$(distdir)/$$file"; then \
353 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
355 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
356 cp
-fpR
$(srcdir)/$$file "$(distdir)$$dir" || exit
1; \
357 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
359 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
361 test -f
"$(distdir)/$$file" \
362 || cp
-p
$$d/$$file "$(distdir)/$$file" \
371 install-exec
: install-exec-am
372 install-data
: install-data-am
373 uninstall: uninstall-am
376 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
378 installcheck: installcheck-am
380 if
test -z
'$(STRIP)'; then \
381 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
382 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
385 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
386 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
387 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
392 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
395 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
396 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
398 maintainer-clean-generic
:
399 @echo
"This command is intended for maintainers to use"
400 @echo
"it deletes files that may require special tools to rebuild."
403 clean-am
: clean-generic clean-libtool mostlyclean-am
405 distclean: distclean-am
407 distclean-am
: clean-am distclean-generic
423 install-dvi
: install-dvi-am
429 install-html
: install-html-am
433 install-info
: install-info-am
439 install-pdf
: install-pdf-am
443 install-ps
: install-ps-am
449 maintainer-clean
: maintainer-clean-am
451 maintainer-clean-am
: distclean-am maintainer-clean-generic
453 mostlyclean: mostlyclean-am
455 mostlyclean-am
: mostlyclean-generic mostlyclean-libtool
467 .MAKE
: install-am install-strip
469 .PHONY
: all all-am
check check-am
clean clean-generic clean-libtool \
470 distclean distclean-generic distclean-libtool distdir
dvi \
471 dvi-am html html-am
info info-am
install install-am \
472 install-data install-data-am install-dvi install-dvi-am \
473 install-exec install-exec-am install-html install-html-am \
474 install-info install-info-am install-man install-pdf \
475 install-pdf-am install-ps install-ps-am install-strip \
476 installcheck installcheck-am
installdirs maintainer-clean \
477 maintainer-clean-generic
mostlyclean mostlyclean-generic \
478 mostlyclean-libtool pdf pdf-am ps ps-am
uninstall uninstall-am
481 test: test-opt test-ser test-ver test-mul
483 test-opt-r
%.c
: $(srcdir)/scanner.l
484 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) --reentrant
$* -o
$@
$<
486 test-opt-nr
%.c
: $(srcdir)/scanner.l
487 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) $* -o
$@
$<
489 test-ser-r
%.c
: $(srcdir)/scanner.l
490 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) -R
--tables-file
="test-ser-r$*.tables" $* -o
$@
$<
492 test-ser-nr
%.c
: $(srcdir)/scanner.l
493 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) --tables-file
="test-ser-nr$*.tables" $* -o
$@
$<
495 test-ver-r
%.c
: $(srcdir)/scanner.l
496 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) -R
--tables-file
="test-ver-r$*.tables" --tables-verify
$* -o
$@
$<
498 test-ver-nr
%.c
: $(srcdir)/scanner.l
499 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) --tables-file
="test-ver-nr$*.tables" --tables-verify
$* -o
$@
$<
501 test-opt
%$(EXEEXT
): test-opt
%.o
502 $(CC
) $(CFLAGS
) -o
$@
$(LDFLAGS
) $< $(LOADLIBES
)
504 test-ser
%$(EXEEXT
): test-ser
%.o
505 $(CC
) $(CFLAGS
) -o
$@
$(LDFLAGS
) $< $(LOADLIBES
)
507 test-ver
%$(EXEEXT
): test-ver
%.o
508 $(CC
) $(CFLAGS
) -o
$@
$(LDFLAGS
) $< $(LOADLIBES
)
511 for t in
$(optexe
) ; do \
512 .
/$$t `basename $$t $(EXEEXT)`.tables
< $(srcdir)/test.input \
513 ||
{ echo
$t FAILED
; exit
1 ; } ; \
517 for t in
$(verexe
) ; do \
518 .
/$$t `basename $$t $(EXEEXT)`.tables
< $(srcdir)/test.input \
519 ||
{ echo
$t FAILED
; exit
1 ; } ; \
523 for t in
$(serexe
) ; do \
524 .
/$$t `basename $$t $(EXEEXT)`.tables
< $(srcdir)/test.input \
525 ||
{ echo
$t FAILED
; exit
1 ; } ; \
530 cat
$(sertables
) > all-ser.tables
531 for t in
$(serexe
) ; do \
532 .
/$$t all-ser.tables
< $(srcdir)/test.input ||
{ echo
$$t FAILED
; exit
1; } ; \
535 test-opt-nr-
%.o
: test-opt-nr-
%.c
; $(CC
) -c
-o
$@
$(AM_CPPFLAGS
) $(CPPFLAGS
) $(CFLAGS
) $<
536 test-ser-nr-
%.o
: test-ser-nr-
%.c
; $(CC
) -c
-o
$@
$(AM_CPPFLAGS
) $(CPPFLAGS
) -DTEST_HAS_TABLES_EXTERNAL
$(CFLAGS
) $<
537 test-ver-nr-
%.o
: test-ver-nr-
%.c
; $(CC
) -c
-o
$@
$(AM_CPPFLAGS
) $(CPPFLAGS
) -DTEST_HAS_TABLES_EXTERNAL
$(CFLAGS
) $<
539 test-opt-r-
%.o
: test-opt-r-
%.c
; $(CC
) -c
-o
$@
$(AM_CPPFLAGS
) $(CPPFLAGS
) -DTEST_IS_REENTRANT
$(CFLAGS
) $<
540 test-ser-r-
%.o
: test-ser-r-
%.c
; $(CC
) -c
-o
$@
$(AM_CPPFLAGS
) $(CPPFLAGS
) -DTEST_HAS_TABLES_EXTERNAL
-DTEST_IS_REENTRANT
$(CFLAGS
) $<
541 test-ver-r-
%.o
: test-ver-r-
%.c
; $(CC
) -c
-o
$@
$(AM_CPPFLAGS
) $(CPPFLAGS
) -DTEST_HAS_TABLES_EXTERNAL
-DTEST_IS_REENTRANT
$(CFLAGS
) $<
543 .PHONY
: test test-opt test-ser test-ver test-mul
544 .SECONDARY
: $(allobj
) $(allsrc
)
546 # Tell versions [3.59,3.63) of GNU make to not export all variables.
547 # Otherwise a system limit (for SysV at least) may be exceeded.