Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert GRAS pid from long int to int; setup a virtualization layer in XBT to choose...
[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 FLEXML = @FLEXML@
141 GRAMINE_MODE_FALSE = @GRAMINE_MODE_FALSE@
142 GRAMINE_MODE_TRUE = @GRAMINE_MODE_TRUE@
143 GRAS_ARCH_32_BITS_FALSE = @GRAS_ARCH_32_BITS_FALSE@
144 GRAS_ARCH_32_BITS_TRUE = @GRAS_ARCH_32_BITS_TRUE@
145 GRAS_DEP = @GRAS_DEP@
146 GREP = @GREP@
147 GTNETS_CFLAGS = @GTNETS_CFLAGS@
148 GTNETS_LDFLAGS = @GTNETS_LDFLAGS@
149 HAVE_FLEXML_FALSE = @HAVE_FLEXML_FALSE@
150 HAVE_FLEXML_TRUE = @HAVE_FLEXML_TRUE@
151 HAVE_SDP_FALSE = @HAVE_SDP_FALSE@
152 HAVE_SDP_TRUE = @HAVE_SDP_TRUE@
153 INSTALL_DATA = @INSTALL_DATA@
154 INSTALL_PROGRAM = @INSTALL_PROGRAM@
155 INSTALL_SCRIPT = @INSTALL_SCRIPT@
156 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
157 LDFLAGS = @LDFLAGS@
158 LD_DYNAMIC_FLAGS = @LD_DYNAMIC_FLAGS@
159 LEX = @LEX@
160 LEXLIB = @LEXLIB@
161 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
162 LIBOBJS = @LIBOBJS@
163 LIBS = @LIBS@
164 LIBTOOL = @LIBTOOL@
165 LN_S = @LN_S@
166 LTLIBOBJS = @LTLIBOBJS@
167 MAINT = @MAINT@
168 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
169 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
170 MAKEINFO = @MAKEINFO@
171 MD5SUM = @MD5SUM@
172 OBJDUMP = @OBJDUMP@
173 OBJEXT = @OBJEXT@
174 PACKAGE = @PACKAGE@
175 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
176 PACKAGE_NAME = @PACKAGE_NAME@
177 PACKAGE_STRING = @PACKAGE_STRING@
178 PACKAGE_TARNAME = @PACKAGE_TARNAME@
179 PACKAGE_VERSION = @PACKAGE_VERSION@
180 PATH_SEPARATOR = @PATH_SEPARATOR@
181 PTH_STACK_GROWTH = @PTH_STACK_GROWTH@
182 RANLIB = @RANLIB@
183 SET_MAKE = @SET_MAKE@
184 SHELL = @SHELL@
185 SIMGRID_DEP = @SIMGRID_DEP@
186 STRIP = @STRIP@
187 USE_GTNETS_FALSE = @USE_GTNETS_FALSE@
188 USE_GTNETS_TRUE = @USE_GTNETS_TRUE@
189 VERSION = @VERSION@
190 WARNING = @WARNING@
191 abs_builddir = @abs_builddir@
192 abs_srcdir = @abs_srcdir@
193 abs_top_builddir = @abs_top_builddir@
194 abs_top_srcdir = @abs_top_srcdir@
195 ac_configure_args = @ac_configure_args@
196 ac_ct_CC = @ac_ct_CC@
197 ac_ct_CXX = @ac_ct_CXX@
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 = simple_token.xml test_rl test_sg_32 test_sg_64
251 @GRAS_ARCH_32_BITS_FALSE@TESTS = test_sg_64 test_rl
252 @GRAS_ARCH_32_BITS_TRUE@TESTS = test_sg_32 test_rl
253 TESTS_ENVIRONMENT = srcdir=$(srcdir) EXEEXT=$(EXEEXT) @top_builddir@/tools/tesh/tesh
254 simple_token_simulator_SOURCES = _simple_token_simulator.c simple_token.c
255 simple_token_simulator_LDADD = $(top_builddir)/src/libsimgrid.la
256 simple_token_node_SOURCES = _simple_token_node.c simple_token.c
257 simple_token_node_LDADD = $(top_builddir)/src/libgras.la
258
259 # generate temps
260 NAME = simple_token
261 PROCESSES = node
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/mutual_exclusion/simple_token/Makefile'; \
280         cd $(top_srcdir) && \
281           $(AUTOMAKE) --gnu  examples/gras/mutual_exclusion/simple_token/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 simple_token_node$(EXEEXT): $(simple_token_node_OBJECTS) $(simple_token_node_DEPENDENCIES) 
307         @rm -f simple_token_node$(EXEEXT)
308         $(LINK) $(simple_token_node_LDFLAGS) $(simple_token_node_OBJECTS) $(simple_token_node_LDADD) $(LIBS)
309 simple_token_simulator$(EXEEXT): $(simple_token_simulator_OBJECTS) $(simple_token_simulator_DEPENDENCIES) 
310         @rm -f simple_token_simulator$(EXEEXT)
311         $(LINK) $(simple_token_simulator_LDFLAGS) $(simple_token_simulator_OBJECTS) $(simple_token_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)/_simple_token_node.Po@am__quote@
320 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_simple_token_simulator.Po@am__quote@
321 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simple_token.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_64
601
602 test-rl: force
603         $(TESTS_ENVIRONMENT) test_rl
604
605 force:
606
607 .PHONY: test_sg_32 test_SG_64 test_rl 
608
609 $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME).xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
610         [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ $(NAME) $(srcdir)/$(NAME).xml
611
612 $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@:
613         make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@
614
615 dist-files:
616         @for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done
617         @echo
618         @for n in $(DIST_SUBDIRS) ; do if [ x$$n != x. ] ; then $(MAKE) -C $$n dist-files SRCFILE=$(SRCFILE)$$n/ ; fi; done
619
620 # Cruft
621 # Tell versions [3.59,3.63) of GNU make to not export all variables.
622 # Otherwise a system limit (for SysV at least) may be exceeded.
623 .NOEXPORT: