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