1 # Makefile.in generated by automake 1.7.5 from Makefile.am.
2 # tests/test-table-opts/Makefile. Generated from Makefile.in by configure.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # 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
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
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
38 # ------------------------------------------------
39 # This test is really a set of tests, one for
40 # each compression flag. -Ca, -Cem, etc..
41 # 'test-opt' builds non-serialized scanners with various table options.
42 # 'test-ver' verifies that the serialized tables match the in-code tables.
43 # 'test-ser' deserializes the tables at runtime.
44 # 'test-mul' checks that we can store multiple tables in a single file.
45 # ------------------------------------------------
50 pkgdatadir
= $(datadir)/flex
51 pkglibdir
= $(libdir)/flex
52 pkgincludedir
= $(includedir)/flex
55 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
56 INSTALL
= ..
/..
/.
/install-sh
-c
57 install_sh_DATA
= $(install_sh
) -c
-m
644
58 install_sh_PROGRAM
= $(install_sh
) -c
59 install_sh_SCRIPT
= $(install_sh
) -c
60 INSTALL_HEADER
= $(INSTALL_DATA
)
61 transform
= $(program_transform_name
)
68 host_triplet
= ia64-hp-hpux11.31
69 ACLOCAL
= ${SHELL} /users
/tech
/rkl
/ia64
/flex-2.5
.33/missing
--run aclocal-1.7
72 AMTAR
= ${SHELL} /users
/tech
/rkl
/ia64
/flex-2.5
.33/missing
--run
tar
73 AUTOCONF
= ${SHELL} /users
/tech
/rkl
/ia64
/flex-2.5
.33/missing
--run autoconf
74 AUTOHEADER
= ${SHELL} /users
/tech
/rkl
/ia64
/flex-2.5
.33/missing
--run autoheader
75 AUTOMAKE
= ${SHELL} /users
/tech
/rkl
/ia64
/flex-2.5
.33/missing
--run automake-1.7
77 BISON
= /usr
/local
/bin
/bison
79 CCDEPMODE
= depmode
=none
80 CFLAGS
= -O
+z
-I
/usr
/local
/include -D_INCLUDE_STDC__SOURCE_199901
82 CPPFLAGS
= -O
+z
-I
/usr
/local
/include -D_INCLUDE_STDC__SOURCE_199901
84 CXXDEPMODE
= depmode
=none
85 CXXFLAGS
= -O
+z
-I
/usr
/local
/include -D_INCLUDE_STDC__SOURCE_199901
87 DEFS
= -DHAVE_CONFIG_H
94 GMSGFMT
= /usr
/local
/bin
/msgfmt
96 INDENT
= /usr
/local
/bin
/indent
97 INSTALL_DATA
= ${INSTALL} -m
644
98 INSTALL_PROGRAM
= ${INSTALL} -s
99 INSTALL_SCRIPT
= ${INSTALL} -m
755
100 INSTALL_STRIP_PROGRAM
= ${SHELL} $(install_sh
) -c
-s
101 INTLLIBS
= -L
/usr
/local
/lib
/hpux32
/usr
/local
/lib
/hpux32
/libintl.so
/usr
/local
/lib
/hpux32
/libiconv.so
102 LDFLAGS
= -Wl
,+b
-Wl
,/usr
/local
/lib
/hpux32
105 LEX_OUTPUT_ROOT
= lex.yy
106 LIBICONV
= -L
/usr
/local
/lib
/hpux32
/usr
/local
/lib
/hpux32
/libiconv.so
107 LIBINTL
= -L
/usr
/local
/lib
/hpux32
/usr
/local
/lib
/hpux32
/libintl.so
/usr
/local
/lib
/hpux32
/libiconv.so
111 LTLIBICONV
= -L
/usr
/local
/lib
/hpux32
-liconv
-R
/usr
/local
/lib
/hpux32
112 LTLIBINTL
= -L
/usr
/local
/lib
/hpux32
-lintl
-L
/usr
/local
/lib
/hpux32
-liconv
-R
/usr
/local
/lib
/hpux32
114 M4
= /usr
/local
/bin
/m4
115 MAKEINFO
= ${SHELL} /users
/tech
/rkl
/ia64
/flex-2.5
.33/missing
--run
makeinfo
116 MKINSTALLDIRS
= $(top_builddir
)/.
/mkinstalldirs
117 MSGFMT
= /usr
/local
/bin
/msgfmt
118 MSGMERGE
= /usr
/local
/bin
/msgmerge
121 PACKAGE_BUGREPORT
= flex-help@lists.sourceforge.net
123 PACKAGE_STRING
= flex
2.5.33
124 PACKAGE_TARNAME
= flex
125 PACKAGE_VERSION
= 2.5.33
134 XGETTEXT
= /usr
/local
/bin
/xgettext
138 ac_ct_RANLIB
= /bin
/true
140 am__fastdepCC_FALSE
=
141 am__fastdepCC_TRUE
= #
142 am__fastdepCXX_FALSE
=
143 am__fastdepCXX_TRUE
= #
144 am__include
= include
147 bindir = ${exec_prefix}/bin
148 build
= ia64-hp-hpux11.31
153 datadir = ${prefix}/share
154 exec_prefix = ${prefix}
155 host
= ia64-hp-hpux11.31
160 includedir = ${prefix}/include
161 infodir = ${prefix}/info
162 install_sh
= /users
/tech
/rkl
/ia64
/flex-2.5
.33/install-sh
163 libdir = /usr
/local
/lib
/hpux32
164 libexecdir
= ${exec_prefix}/libexec
165 localstatedir
= ${prefix}/var
166 mandir = ${prefix}/man
167 oldincludedir = /usr
/include
169 program_transform_name
= s
,x
,x
,
170 sbindir
= ${exec_prefix}/sbin
171 sharedstatedir
= ${prefix}/com
172 sysconfdir
= ${prefix}/etc
175 FLEX
= $(top_builddir
)/flex
177 testname
:= test-table-opts
178 allopts
:= -Ca
-Ce
-Cf
-CF
-Cm
-Cem
-Cae
-Caef
-CaeF
-Cam
-Caem
180 # the test names themselves
181 opttests
:= $(foreach opt
,$(allopts
), test-opt-nr
$(opt
) test-opt-r
$(opt
))
182 sertests
:= $(foreach opt
,$(allopts
), test-ser-nr
$(opt
) test-ser-r
$(opt
))
183 vertests
:= $(foreach opt
,$(allopts
), test-ver-nr
$(opt
) test-ver-r
$(opt
))
184 alltests
:= $(opttests
) $(vertests
) $(sertests
) test-mul
186 # the executables to build
187 optexe
:= $(addsuffix $(EXEEXT
),$(opttests
))
188 verexe
:= $(addsuffix $(EXEEXT
),$(vertests
))
189 serexe
:= $(addsuffix $(EXEEXT
),$(sertests
))
190 allexe
:= $(optexe
) $(verexe
) $(serexe
)
193 optsrc
:= $(addsuffix .c
,$(opttests
))
194 versrc
:= $(addsuffix .c
,$(vertests
))
195 sersrc
:= $(addsuffix .c
,$(sertests
))
196 allsrc
:= $(optsrc
) $(versrc
) $(sersrc
)
199 optobj
:= $(addsuffix .o
,$(opttests
))
200 verobj
:= $(addsuffix .o
,$(vertests
))
201 serobj
:= $(addsuffix .o
,$(sertests
))
202 allobj
:= $(optobj
) $(verobj
) $(serobj
)
205 sertables
:= $(addsuffix .tables
,$(sertests
))
206 alltables
:= $(addsuffix .tables
,$(alltests
))
208 EXTRA_DIST
= scanner.l
test.input
209 CLEANFILES
= scanner.c OUTPUT test-
*.o test-
*.c test-
*.tables \
210 all-ser.tables core
$(alltests
)
212 AM_CPPFLAGS
= -I
$(srcdir) -I
$(top_srcdir
) -I
$(top_builddir
)
213 subdir
= tests
/test-table-opts
214 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
215 mkinstalldirs
= $(SHELL
) $(top_srcdir
)/mkinstalldirs
216 CONFIG_HEADER
= $(top_builddir
)/config.h
219 DIST_COMMON
= Makefile.am Makefile.in
224 $(srcdir)/Makefile.in
: Makefile.am
$(top_srcdir
)/configure.in
$(ACLOCAL_M4
)
225 cd
$(top_srcdir
) && \
226 $(AUTOMAKE
) --gnu tests
/test-table-opts
/Makefile
227 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
228 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$(subdir
)/$@
$(am__depfiles_maybe
)
236 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
239 distdir
= $(top_distdir
)/$(PACKAGE
)-$(VERSION
)
241 distdir
: $(DISTFILES
)
242 @srcdirstrip
=`echo "$(srcdir)" | sed 's|.|.|g'`; \
243 topsrcdirstrip
=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
244 list
='$(DISTFILES)'; for file in
$$list; do \
246 $(srcdir)/*) file
=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
247 $(top_srcdir
)/*) file
=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
249 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
250 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
251 if
test "$$dir" != "$$file" && test "$$dir" != "."; then \
253 $(mkinstalldirs
) "$(distdir)$$dir"; \
257 if
test -d
$$d/$$file; then \
258 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
259 cp
-pR
$(srcdir)/$$file $(distdir
)$$dir || exit
1; \
261 cp
-pR
$$d/$$file $(distdir
)$$dir || exit
1; \
263 test -f
$(distdir
)/$$file \
264 || cp
-p
$$d/$$file $(distdir
)/$$file \
274 install-exec
: install-exec-am
275 install-data
: install-data-am
276 uninstall: uninstall-am
279 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
281 installcheck: installcheck-am
283 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
284 INSTALL_STRIP_FLAG
=-s \
285 `test -z '$(STRIP)' || \
286 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
290 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
293 -rm -f Makefile
$(CONFIG_CLEAN_FILES
)
295 maintainer-clean-generic
:
296 @echo
"This command is intended for maintainers to use"
297 @echo
"it deletes files that may require special tools to rebuild."
301 clean-am
: clean-generic mostlyclean-am
303 distclean: distclean-am
305 distclean-am
: clean-am distclean-generic
319 install-info
: install-info-am
325 maintainer-clean
: maintainer-clean-am
327 maintainer-clean-am
: distclean-am maintainer-clean-generic
329 mostlyclean: mostlyclean-am
331 mostlyclean-am
: mostlyclean-generic
341 uninstall-am
: uninstall-info-am
343 .PHONY
: all all-am
check check-am
clean clean-generic
distclean \
344 distclean-generic distdir
dvi dvi-am
info info-am
install \
345 install-am install-data install-data-am install-exec \
346 install-exec-am install-info install-info-am install-man \
347 install-strip
installcheck installcheck-am
installdirs \
348 maintainer-clean maintainer-clean-generic
mostlyclean \
349 mostlyclean-generic pdf pdf-am ps ps-am
uninstall uninstall-am \
353 test: test-table-opts
354 test-table-opts
: $(alltests
)
356 test-opt-r
%.c
: $(srcdir)/scanner.l
357 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) --reentrant
$* -o
$@
$<
359 test-opt-nr
%.c
: $(srcdir)/scanner.l
360 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) $* -o
$@
$<
362 test-ser-r
%.c
: $(srcdir)/scanner.l
363 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) -R
--tables-file
="test-ser-r$*.tables" $* -o
$@
$<
365 test-ser-nr
%.c
: $(srcdir)/scanner.l
366 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) --tables-file
="test-ser-nr$*.tables" $* -o
$@
$<
368 test-ver-r
%.c
: $(srcdir)/scanner.l
369 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) -R
--tables-file
="test-ver-r$*.tables" --tables-verify
$* -o
$@
$<
371 test-ver-nr
%.c
: $(srcdir)/scanner.l
372 $(FLEX
) -L
-P
$(subst -,_
,$(basename $(@F
))) --tables-file
="test-ver-nr$*.tables" --tables-verify
$* -o
$@
$<
374 test-opt
%$(EXEEXT
): test-opt
%.o
375 $(CC
) -o
$@
$(LDFLAGS
) $< $(LOADLIBES
)
377 test-ser
%$(EXEEXT
): test-ser
%.o
378 $(CC
) -o
$@
$(LDFLAGS
) $< $(LOADLIBES
)
380 test-ver
%$(EXEEXT
): test-ver
%.o
381 $(CC
) -o
$@
$(LDFLAGS
) $< $(LOADLIBES
)
384 for t in
$(optexe
) ; do \
385 .
/$$t `basename $$t $(EXEEXT)`.tables
< $(srcdir)/test.input \
386 ||
{ echo
$t FAILED
; exit
1 ; } ; \
390 for t in
$(verexe
) ; do \
391 .
/$$t `basename $$t $(EXEEXT)`.tables
< $(srcdir)/test.input \
392 ||
{ echo
$t FAILED
; exit
1 ; } ; \
396 for t in
$(serexe
) ; do \
397 .
/$$t `basename $$t $(EXEEXT)`.tables
< $(srcdir)/test.input \
398 ||
{ echo
$t FAILED
; exit
1 ; } ; \
403 cat
$(sertables
) > all-ser.tables
404 for t in
$(serexe
) ; do \
405 .
/$$t all-ser.tables
< $(srcdir)/test.input ||
{ echo
$$t FAILED
; exit
1; } ; \
409 $(CC
) -c
-o
$@
$(AM_CPPFLAGS
) $(CPPFLAGS
) $(CFLAGS
) $<
411 .PHONY
: test-table-opts
test test-opt test-ser test-ver test-mul
412 .SECONDARY
: $(allobj
) $(allsrc
)
413 # Tell versions [3.59,3.63) of GNU make to not export all variables.
414 # Otherwise a system limit (for SysV at least) may be exceeded.