Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not use configure to generate the test script, factorize some Makefile.am stuff...
[simgrid.git] / examples / gras / mutual_exclusion / simple_token / Makefile.in
1 # Makefile.in generated by automake 1.9.6 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 # This file factorize all the testing infrastructure for the GRAS examples
18 #
19 # it's made complicated by the facts that:
20 #  - we use tesh, we need to find it back
21 #  - we don't want to generate the test_* files with configure, so we
22 #    have to declare some variables in front of the shell command
23 #    running the test
24 #  - we want to fully test the surf on the way. So, we have to ask for
25 #    full precision timestamps in the tests. On the other hand,
26 #    message size differ when we are on 32bits and when we are on
27 #    64bits (obviously), so we have to maintain 2 tests per directory
28 #    and pick the right one here.
29
30 # Makefile chunk which allows to display the files which should be included
31 # into the distribution.
32
33 # It is intended to be included in all Makefile.am 
34
35 srcdir = @srcdir@
36 top_srcdir = @top_srcdir@
37 VPATH = @srcdir@
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
41 top_builddir = ../../../..
42 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
43 INSTALL = @INSTALL@
44 install_sh_DATA = $(install_sh) -c -m 644
45 install_sh_PROGRAM = $(install_sh) -c
46 install_sh_SCRIPT = $(install_sh) -c
47 INSTALL_HEADER = $(INSTALL_DATA)
48 transform = $(program_transform_name)
49 NORMAL_INSTALL = :
50 PRE_INSTALL = :
51 POST_INSTALL = :
52 NORMAL_UNINSTALL = :
53 PRE_UNINSTALL = :
54 POST_UNINSTALL = :
55 build_triplet = @build@
56 host_triplet = @host@
57 target_triplet = @target@
58 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
59         $(top_srcdir)/acmacro/dist-files.mk \
60         $(top_srcdir)/examples/gras/tests.mk \
61         $(top_srcdir)/examples/temps-gras-stub.mk
62 noinst_PROGRAMS = simple_token_node$(EXEEXT) \
63         simple_token_simulator$(EXEEXT)
64 subdir = examples/gras/mutual_exclusion/simple_token
65 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
66 am__aclocal_m4_deps = $(top_srcdir)/acmacro/ac_func_snprintf.m4 \
67         $(top_srcdir)/acmacro/compiler-flags.m4 \
68         $(top_srcdir)/acmacro/context.m4 \
69         $(top_srcdir)/acmacro/fancy_configury.m4 \
70         $(top_srcdir)/acmacro/flex.m4 \
71         $(top_srcdir)/acmacro/gras_arch.m4 \
72         $(top_srcdir)/acmacro/print_null.m4 \
73         $(top_srcdir)/acmacro/va_copy.m4 $(top_srcdir)/configure.ac
74 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
75         $(ACLOCAL_M4)
76 mkinstalldirs = $(install_sh) -d
77 CONFIG_HEADER = $(top_builddir)/src/gras_config.h
78 CONFIG_CLEAN_FILES =
79 PROGRAMS = $(noinst_PROGRAMS)
80 am_simple_token_node_OBJECTS = _simple_token_node.$(OBJEXT) \
81         simple_token.$(OBJEXT)
82 simple_token_node_OBJECTS = $(am_simple_token_node_OBJECTS)
83 simple_token_node_DEPENDENCIES = $(top_builddir)/src/libgras.la
84 am_simple_token_simulator_OBJECTS = _simple_token_simulator.$(OBJEXT) \
85         simple_token.$(OBJEXT)
86 simple_token_simulator_OBJECTS = $(am_simple_token_simulator_OBJECTS)
87 simple_token_simulator_DEPENDENCIES =  \
88         $(top_builddir)/src/libsimgrid.la
89 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
90 depcomp = $(SHELL) $(top_srcdir)/depcomp
91 am__depfiles_maybe = depfiles
92 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
93         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
94 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
95         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
96         $(AM_CFLAGS) $(CFLAGS)
97 CCLD = $(CC)
98 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
99         $(AM_LDFLAGS) $(LDFLAGS) -o $@
100 SOURCES = $(simple_token_node_SOURCES) \
101         $(simple_token_simulator_SOURCES)
102 DIST_SOURCES = $(simple_token_node_SOURCES) \
103         $(simple_token_simulator_SOURCES)
104 ETAGS = etags
105 CTAGS = ctags
106 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
107 ACLOCAL = @ACLOCAL@
108 ADDR2LINE = @ADDR2LINE@
109 AMDEP_FALSE = @AMDEP_FALSE@
110 AMDEP_TRUE = @AMDEP_TRUE@
111 AMTAR = @AMTAR@
112 AM_CFLAGS = @AM_CFLAGS@
113 AR = @AR@
114 AS = @AS@
115 AUTOCONF = @AUTOCONF@
116 AUTOHEADER = @AUTOHEADER@
117 AUTOMAKE = @AUTOMAKE@
118 AWK = @AWK@
119 BASH = @BASH@
120 CC = @CC@
121 CCDEPMODE = @CCDEPMODE@
122 CFLAGS = @CFLAGS@
123 CPP = @CPP@
124 CPPFLAGS = @CPPFLAGS@
125 CXX = @CXX@
126 CXXCPP = @CXXCPP@
127 CXXDEPMODE = @CXXDEPMODE@
128 CXXFLAGS = @CXXFLAGS@
129 CYGPATH_W = @CYGPATH_W@
130 DEFS = @DEFS@
131 DEPDIR = @DEPDIR@
132 DLLTOOL = @DLLTOOL@
133 DOXYGEN = @DOXYGEN@
134 ECHO = @ECHO@
135 ECHO_C = @ECHO_C@
136 ECHO_N = @ECHO_N@
137 ECHO_T = @ECHO_T@
138 EGREP = @EGREP@
139 EXEEXT = @EXEEXT@
140 F77 = @F77@
141 FFLAGS = @FFLAGS@
142 FLEXML = @FLEXML@
143 GRAMINE_MODE_FALSE = @GRAMINE_MODE_FALSE@
144 GRAMINE_MODE_TRUE = @GRAMINE_MODE_TRUE@
145 GRAS_ARCH_32_BITS_FALSE = @GRAS_ARCH_32_BITS_FALSE@
146 GRAS_ARCH_32_BITS_TRUE = @GRAS_ARCH_32_BITS_TRUE@
147 GRAS_DEP = @GRAS_DEP@
148 GREP = @GREP@
149 GTNETS_CFLAGS = @GTNETS_CFLAGS@
150 GTNETS_LDFLAGS = @GTNETS_LDFLAGS@
151 HAVE_FLEXML_FALSE = @HAVE_FLEXML_FALSE@
152 HAVE_FLEXML_TRUE = @HAVE_FLEXML_TRUE@
153 HAVE_SDP_FALSE = @HAVE_SDP_FALSE@
154 HAVE_SDP_TRUE = @HAVE_SDP_TRUE@
155 INSTALL_DATA = @INSTALL_DATA@
156 INSTALL_PROGRAM = @INSTALL_PROGRAM@
157 INSTALL_SCRIPT = @INSTALL_SCRIPT@
158 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
159 LDFLAGS = @LDFLAGS@
160 LD_DYNAMIC_FLAGS = @LD_DYNAMIC_FLAGS@
161 LEX = @LEX@
162 LEXLIB = @LEXLIB@
163 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
164 LIBOBJS = @LIBOBJS@
165 LIBS = @LIBS@
166 LIBTOOL = @LIBTOOL@
167 LN_S = @LN_S@
168 LTLIBOBJS = @LTLIBOBJS@
169 MAINT = @MAINT@
170 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
171 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
172 MAKEINFO = @MAKEINFO@
173 MD5SUM = @MD5SUM@
174 OBJDUMP = @OBJDUMP@
175 OBJEXT = @OBJEXT@
176 PACKAGE = @PACKAGE@
177 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
178 PACKAGE_NAME = @PACKAGE_NAME@
179 PACKAGE_STRING = @PACKAGE_STRING@
180 PACKAGE_TARNAME = @PACKAGE_TARNAME@
181 PACKAGE_VERSION = @PACKAGE_VERSION@
182 PATH_SEPARATOR = @PATH_SEPARATOR@
183 PTH_STACK_GROWTH = @PTH_STACK_GROWTH@
184 RANLIB = @RANLIB@
185 SET_MAKE = @SET_MAKE@
186 SHELL = @SHELL@
187 SIMGRID_DEP = @SIMGRID_DEP@
188 STRIP = @STRIP@
189 USE_GTNETS_FALSE = @USE_GTNETS_FALSE@
190 USE_GTNETS_TRUE = @USE_GTNETS_TRUE@
191 USE_SIMIX_FALSE = @USE_SIMIX_FALSE@
192 USE_SIMIX_TRUE = @USE_SIMIX_TRUE@
193 VERSION = @VERSION@
194 WARNING = @WARNING@
195 abs_builddir = @abs_builddir@
196 abs_srcdir = @abs_srcdir@
197 abs_top_builddir = @abs_top_builddir@
198 abs_top_srcdir = @abs_top_srcdir@
199 ac_configure_args = @ac_configure_args@
200 ac_ct_CC = @ac_ct_CC@
201 ac_ct_CXX = @ac_ct_CXX@
202 ac_ct_F77 = @ac_ct_F77@
203 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
204 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
205 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
206 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
207 am__include = @am__include@
208 am__leading_dot = @am__leading_dot@
209 am__quote = @am__quote@
210 am__tar = @am__tar@
211 am__untar = @am__untar@
212 bindir = @bindir@
213 build = @build@
214 build_alias = @build_alias@
215 build_cpu = @build_cpu@
216 build_id = @build_id@
217 build_os = @build_os@
218 build_vendor = @build_vendor@
219 datadir = @datadir@
220 datarootdir = @datarootdir@
221 docdir = @docdir@
222 dvidir = @dvidir@
223 exec_prefix = @exec_prefix@
224 host = @host@
225 host_alias = @host_alias@
226 host_cpu = @host_cpu@
227 host_os = @host_os@
228 host_vendor = @host_vendor@
229 htmldir = @htmldir@
230 includedir = @includedir@
231 infodir = @infodir@
232 install_sh = @install_sh@
233 libdir = @libdir@
234 libexecdir = @libexecdir@
235 localedir = @localedir@
236 localstatedir = @localstatedir@
237 mandir = @mandir@
238 mkdir_p = @mkdir_p@
239 oldincludedir = @oldincludedir@
240 pdfdir = @pdfdir@
241 prefix = @prefix@
242 program_transform_name = @program_transform_name@
243 psdir = @psdir@
244 pth_skaddr_makecontext = @pth_skaddr_makecontext@
245 pth_sksize_makecontext = @pth_sksize_makecontext@
246 sbindir = @sbindir@
247 sharedstatedir = @sharedstatedir@
248 sysconfdir = @sysconfdir@
249 target = @target@
250 target_alias = @target_alias@
251 target_cpu = @target_cpu@
252 target_os = @target_os@
253 target_vendor = @target_vendor@
254 INCLUDES = -I$(top_srcdir)/include
255 EXTRA_DIST = simple_token.xml test_rl test_sg_32 test_sg_64
256 @GRAS_ARCH_32_BITS_FALSE@TESTS = test_rl test_sg_64
257 @GRAS_ARCH_32_BITS_TRUE@TESTS = test_rl test_sg_32
258 TESTS_ENVIRONMENT = srcdir=$(srcdir) EXEEXT=$(EXEEXT) @top_builddir@/tools/tesh/tesh
259 simple_token_simulator_SOURCES = _simple_token_simulator.c simple_token.c
260 simple_token_simulator_LDADD = $(top_builddir)/src/libsimgrid.la
261 simple_token_node_SOURCES = _simple_token_node.c simple_token.c
262 simple_token_node_LDADD = $(top_builddir)/src/libgras.la
263
264 # generate temps
265 NAME = simple_token
266 PROCESSES = node
267 CLEANFILES = _$(NAME)_simulator.c $(NAME).mk $(NAME).Makefile.local $(NAME).Makefile.remote $(NAME).deploy.sh \
268              $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c)
269
270 MOSTLYCLEANFILES = $(NAME).trace
271 all: all-am
272
273 .SUFFIXES:
274 .SUFFIXES: .c .lo .o .obj
275 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/examples/gras/tests.mk $(top_srcdir)/examples/temps-gras-stub.mk $(top_srcdir)/acmacro/dist-files.mk $(am__configure_deps)
276         @for dep in $?; do \
277           case '$(am__configure_deps)' in \
278             *$$dep*) \
279               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
280                 && exit 0; \
281               exit 1;; \
282           esac; \
283         done; \
284         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  examples/gras/mutual_exclusion/simple_token/Makefile'; \
285         cd $(top_srcdir) && \
286           $(AUTOMAKE) --gnu  examples/gras/mutual_exclusion/simple_token/Makefile
287 .PRECIOUS: Makefile
288 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
289         @case '$?' in \
290           *config.status*) \
291             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
292           *) \
293             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
294             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
295         esac;
296
297 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
298         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
299
300 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
301         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
302 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
303         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
304
305 clean-noinstPROGRAMS:
306         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
307           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
308           echo " rm -f $$p $$f"; \
309           rm -f $$p $$f ; \
310         done
311 simple_token_node$(EXEEXT): $(simple_token_node_OBJECTS) $(simple_token_node_DEPENDENCIES) 
312         @rm -f simple_token_node$(EXEEXT)
313         $(LINK) $(simple_token_node_LDFLAGS) $(simple_token_node_OBJECTS) $(simple_token_node_LDADD) $(LIBS)
314 simple_token_simulator$(EXEEXT): $(simple_token_simulator_OBJECTS) $(simple_token_simulator_DEPENDENCIES) 
315         @rm -f simple_token_simulator$(EXEEXT)
316         $(LINK) $(simple_token_simulator_LDFLAGS) $(simple_token_simulator_OBJECTS) $(simple_token_simulator_LDADD) $(LIBS)
317
318 mostlyclean-compile:
319         -rm -f *.$(OBJEXT)
320
321 distclean-compile:
322         -rm -f *.tab.c
323
324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_simple_token_node.Po@am__quote@
325 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_simple_token_simulator.Po@am__quote@
326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simple_token.Po@am__quote@
327
328 .c.o:
329 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
330 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
331 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
332 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
333 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
334
335 .c.obj:
336 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
337 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
338 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
339 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
340 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
341
342 .c.lo:
343 @am__fastdepCC_TRUE@    if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
344 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
345 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
346 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
347 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
348
349 mostlyclean-libtool:
350         -rm -f *.lo
351
352 clean-libtool:
353         -rm -rf .libs _libs
354
355 distclean-libtool:
356         -rm -f libtool
357 uninstall-info-am:
358
359 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
360         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
361         unique=`for i in $$list; do \
362             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
363           done | \
364           $(AWK) '    { files[$$0] = 1; } \
365                END { for (i in files) print i; }'`; \
366         mkid -fID $$unique
367 tags: TAGS
368
369 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
370                 $(TAGS_FILES) $(LISP)
371         tags=; \
372         here=`pwd`; \
373         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
374         unique=`for i in $$list; do \
375             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
376           done | \
377           $(AWK) '    { files[$$0] = 1; } \
378                END { for (i in files) print i; }'`; \
379         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
380           test -n "$$unique" || unique=$$empty_fix; \
381           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
382             $$tags $$unique; \
383         fi
384 ctags: CTAGS
385 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
386                 $(TAGS_FILES) $(LISP)
387         tags=; \
388         here=`pwd`; \
389         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
390         unique=`for i in $$list; do \
391             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
392           done | \
393           $(AWK) '    { files[$$0] = 1; } \
394                END { for (i in files) print i; }'`; \
395         test -z "$(CTAGS_ARGS)$$tags$$unique" \
396           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
397              $$tags $$unique
398
399 GTAGS:
400         here=`$(am__cd) $(top_builddir) && pwd` \
401           && cd $(top_srcdir) \
402           && gtags -i $(GTAGS_ARGS) $$here
403
404 distclean-tags:
405         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
406
407 check-TESTS: $(TESTS)
408         @failed=0; all=0; xfail=0; xpass=0; skip=0; \
409         srcdir=$(srcdir); export srcdir; \
410         list='$(TESTS)'; \
411         if test -n "$$list"; then \
412           for tst in $$list; do \
413             if test -f ./$$tst; then dir=./; \
414             elif test -f $$tst; then dir=; \
415             else dir="$(srcdir)/"; fi; \
416             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
417               all=`expr $$all + 1`; \
418               case " $(XFAIL_TESTS) " in \
419               *" $$tst "*) \
420                 xpass=`expr $$xpass + 1`; \
421                 failed=`expr $$failed + 1`; \
422                 echo "XPASS: $$tst"; \
423               ;; \
424               *) \
425                 echo "PASS: $$tst"; \
426               ;; \
427               esac; \
428             elif test $$? -ne 77; then \
429               all=`expr $$all + 1`; \
430               case " $(XFAIL_TESTS) " in \
431               *" $$tst "*) \
432                 xfail=`expr $$xfail + 1`; \
433                 echo "XFAIL: $$tst"; \
434               ;; \
435               *) \
436                 failed=`expr $$failed + 1`; \
437                 echo "FAIL: $$tst"; \
438               ;; \
439               esac; \
440             else \
441               skip=`expr $$skip + 1`; \
442               echo "SKIP: $$tst"; \
443             fi; \
444           done; \
445           if test "$$failed" -eq 0; then \
446             if test "$$xfail" -eq 0; then \
447               banner="All $$all tests passed"; \
448             else \
449               banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
450             fi; \
451           else \
452             if test "$$xpass" -eq 0; then \
453               banner="$$failed of $$all tests failed"; \
454             else \
455               banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
456             fi; \
457           fi; \
458           dashes="$$banner"; \
459           skipped=""; \
460           if test "$$skip" -ne 0; then \
461             skipped="($$skip tests were not run)"; \
462             test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
463               dashes="$$skipped"; \
464           fi; \
465           report=""; \
466           if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
467             report="Please report to $(PACKAGE_BUGREPORT)"; \
468             test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
469               dashes="$$report"; \
470           fi; \
471           dashes=`echo "$$dashes" | sed s/./=/g`; \
472           echo "$$dashes"; \
473           echo "$$banner"; \
474           test -z "$$skipped" || echo "$$skipped"; \
475           test -z "$$report" || echo "$$report"; \
476           echo "$$dashes"; \
477           test "$$failed" -eq 0; \
478         else :; fi
479
480 distdir: $(DISTFILES)
481         $(mkdir_p) $(distdir)/../../../../acmacro $(distdir)/../../../../examples $(distdir)/../../../../examples/gras
482         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
483         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
484         list='$(DISTFILES)'; for file in $$list; do \
485           case $$file in \
486             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
487             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
488           esac; \
489           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
490           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
491           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
492             dir="/$$dir"; \
493             $(mkdir_p) "$(distdir)$$dir"; \
494           else \
495             dir=''; \
496           fi; \
497           if test -d $$d/$$file; then \
498             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
499               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
500             fi; \
501             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
502           else \
503             test -f $(distdir)/$$file \
504             || cp -p $$d/$$file $(distdir)/$$file \
505             || exit 1; \
506           fi; \
507         done
508 check-am: all-am
509         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
510 check: check-am
511 all-am: Makefile $(PROGRAMS)
512 installdirs:
513 install: install-am
514 install-exec: install-exec-am
515 install-data: install-data-am
516 uninstall: uninstall-am
517
518 install-am: all-am
519         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
520
521 installcheck: installcheck-am
522 install-strip:
523         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
524           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
525           `test -z '$(STRIP)' || \
526             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
527 mostlyclean-generic:
528         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
529
530 clean-generic:
531         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
532
533 distclean-generic:
534         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
535
536 maintainer-clean-generic:
537         @echo "This command is intended for maintainers to use"
538         @echo "it deletes files that may require special tools to rebuild."
539 clean: clean-am
540
541 clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
542         mostlyclean-am
543
544 distclean: distclean-am
545         -rm -rf ./$(DEPDIR)
546         -rm -f Makefile
547 distclean-am: clean-am distclean-compile distclean-generic \
548         distclean-libtool distclean-tags
549
550 dvi: dvi-am
551
552 dvi-am:
553
554 html: html-am
555
556 info: info-am
557
558 info-am:
559
560 install-data-am:
561
562 install-exec-am:
563
564 install-info: install-info-am
565
566 install-man:
567
568 installcheck-am:
569
570 maintainer-clean: maintainer-clean-am
571         -rm -rf ./$(DEPDIR)
572         -rm -f Makefile
573 maintainer-clean-am: distclean-am maintainer-clean-generic
574
575 mostlyclean: mostlyclean-am
576
577 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
578         mostlyclean-libtool
579
580 pdf: pdf-am
581
582 pdf-am:
583
584 ps: ps-am
585
586 ps-am:
587
588 uninstall-am: uninstall-info-am
589
590 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
591         clean-generic clean-libtool clean-noinstPROGRAMS ctags \
592         distclean distclean-compile distclean-generic \
593         distclean-libtool distclean-tags distdir dvi dvi-am html \
594         html-am info info-am install install-am install-data \
595         install-data-am install-exec install-exec-am install-info \
596         install-info-am install-man install-strip installcheck \
597         installcheck-am installdirs maintainer-clean \
598         maintainer-clean-generic mostlyclean mostlyclean-compile \
599         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
600         tags uninstall uninstall-am uninstall-info-am
601
602 @GRAS_ARCH_32_BITS_TRUE@test-sg:
603 @GRAS_ARCH_32_BITS_TRUE@        $(TESTS_ENVIRONMENT) test_sg_32
604 @GRAS_ARCH_32_BITS_FALSE@test-sg:
605 @GRAS_ARCH_32_BITS_FALSE@       $(TESTS_ENVIRONMENT) test_sg_32
606
607 test-rl:
608         $(TESTS_ENVIRONMENT) test_rl
609
610 $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME).xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
611         [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ $(NAME) $(srcdir)/$(NAME).xml
612
613 $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@:
614         make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@
615
616 dist-files:
617         @for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done
618         @echo
619         @for n in $(DIST_SUBDIRS) ; do if [ x$$n != x. ] ; then $(MAKE) -C $$n dist-files SRCFILE=$(SRCFILE)$$n/ ; fi; done
620
621 # Cruft
622 # Tell versions [3.59,3.63) of GNU make to not export all variables.
623 # Otherwise a system limit (for SysV at least) may be exceeded.
624 .NOEXPORT: