Logo AND Algorithmique Numérique Distribuée

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