Logo AND Algorithmique Numérique Distribuée

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