implemented Setup.hs to build boehm cpp libs and install them;
[hs-boehmgc.git] / gc-7.2 / libatomic_ops / tests / Makefile
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # tests/Makefile.  Generated from Makefile.in by configure.
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16
17
18 pkgdatadir = $(datadir)/libatomic_ops
19 pkgincludedir = $(includedir)/libatomic_ops
20 pkglibdir = $(libdir)/libatomic_ops
21 pkglibexecdir = $(libexecdir)/libatomic_ops
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = i686-pc-linux-gnu
35 host_triplet = i686-pc-linux-gnu
36 target_triplet = i686-pc-linux-gnu
37 #TESTS = test_atomic$(EXEEXT) test_stack$(EXEEXT) \
38 #       test_malloc$(EXEEXT)
39 TESTS = test_atomic$(EXEEXT) \
40         test_atomic_pthreads$(EXEEXT) \
41         test_stack$(EXEEXT) test_malloc$(EXEEXT)
42 check_PROGRAMS = $(am__EXEEXT_1)
43 subdir = tests
44 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48         $(ACLOCAL_M4)
49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
50 CONFIG_HEADER = $(top_builddir)/src/config.h
51 CONFIG_CLEAN_FILES =
52 CONFIG_CLEAN_VPATH_FILES =
53 #am__EXEEXT_1 = test_atomic$(EXEEXT) \
54 #       test_stack$(EXEEXT) test_malloc$(EXEEXT)
55 am__EXEEXT_1 = test_atomic$(EXEEXT) \
56         test_atomic_pthreads$(EXEEXT) \
57         test_stack$(EXEEXT) test_malloc$(EXEEXT)
58 am_test_atomic_OBJECTS = test_atomic.$(OBJEXT)
59 test_atomic_OBJECTS = $(am_test_atomic_OBJECTS)
60 am__DEPENDENCIES_1 =
61 test_atomic_DEPENDENCIES = $(am__DEPENDENCIES_1) \
62         ../src/libatomic_ops.a
63 am__test_atomic_pthreads_SOURCES_DIST = test_atomic.c
64 am__objects_1 = test_atomic_pthreads-test_atomic.$(OBJEXT)
65 am_test_atomic_pthreads_OBJECTS =  \
66         $(am__objects_1)
67 test_atomic_pthreads_OBJECTS = $(am_test_atomic_pthreads_OBJECTS)
68 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) ../src/libatomic_ops.a
69 test_atomic_pthreads_DEPENDENCIES =  \
70         $(am__DEPENDENCIES_2)
71 am_test_malloc_OBJECTS = test_malloc.$(OBJEXT)
72 test_malloc_OBJECTS = $(am_test_malloc_OBJECTS)
73 test_malloc_DEPENDENCIES = $(am__DEPENDENCIES_1) \
74         ../src/libatomic_ops_gpl.a ../src/libatomic_ops.a
75 am_test_stack_OBJECTS = test_stack.$(OBJEXT)
76 test_stack_OBJECTS = $(am_test_stack_OBJECTS)
77 test_stack_DEPENDENCIES = $(am__DEPENDENCIES_1) \
78         ../src/libatomic_ops_gpl.a ../src/libatomic_ops.a
79 DEFAULT_INCLUDES = -I. -I$(top_builddir)/src
80 depcomp = $(SHELL) $(top_srcdir)/depcomp
81 am__depfiles_maybe = depfiles
82 am__mv = mv -f
83 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
84         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
85 CCLD = $(CC)
86 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
87 SOURCES = $(test_atomic_SOURCES) $(test_atomic_pthreads_SOURCES) \
88         $(test_malloc_SOURCES) $(test_stack_SOURCES)
89 DIST_SOURCES = $(test_atomic_SOURCES) \
90         $(am__test_atomic_pthreads_SOURCES_DIST) \
91         $(test_malloc_SOURCES) $(test_stack_SOURCES)
92 ETAGS = etags
93 CTAGS = ctags
94 am__tty_colors = \
95 red=; grn=; lgn=; blu=; std=
96 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
97 ACLOCAL = ${SHELL} /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/missing --run aclocal-1.11
98 AMTAR = ${SHELL} /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/missing --run tar
99 AUTOCONF = ${SHELL} /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/missing --run autoconf
100 AUTOHEADER = ${SHELL} /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/missing --run autoheader
101 AUTOMAKE = ${SHELL} /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/missing --run automake-1.11
102 AWK = mawk
103 CC = gcc
104 CCAS = gcc
105 CCASDEPMODE = depmode=gcc3
106 CCASFLAGS = -g -O2
107 CCDEPMODE = depmode=gcc3
108 CFLAGS = -g -O2 -DNDEBUG
109 CPP = gcc -E
110 CPPFLAGS = 
111 CYGPATH_W = echo
112 DEFS = -DHAVE_CONFIG_H
113 DEPDIR = .deps
114 ECHO_C = 
115 ECHO_N = -n
116 ECHO_T = 
117 EGREP = /bin/grep -E
118 EXEEXT = 
119 GREP = /bin/grep
120 INSTALL = /usr/bin/install -c
121 INSTALL_DATA = ${INSTALL} -m 644
122 INSTALL_PROGRAM = ${INSTALL}
123 INSTALL_SCRIPT = ${INSTALL}
124 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
125 LDFLAGS = 
126 LIBOBJS = 
127 LIBS = 
128 LTLIBOBJS = 
129 MAKEINFO = ${SHELL} /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/missing --run makeinfo
130 MKDIR_P = /bin/mkdir -p
131 OBJEXT = o
132 PACKAGE = libatomic_ops
133 PACKAGE_BUGREPORT = 
134 PACKAGE_NAME = libatomic_ops
135 PACKAGE_STRING = libatomic_ops 7.2
136 PACKAGE_TARNAME = libatomic_ops
137 PACKAGE_URL = 
138 PACKAGE_VERSION = 7.2
139 PATH_SEPARATOR = :
140 PICFLAG = -fPIC
141 RANLIB = ranlib
142 SET_MAKE = 
143 SHELL = /bin/bash
144 STRIP = 
145 THREADDLLIBS = -lpthread
146 VERSION = 7.2
147 abs_builddir = /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/tests
148 abs_srcdir = /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/tests
149 abs_top_builddir = /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops
150 abs_top_srcdir = /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops
151 ac_ct_CC = gcc
152 am__include = include
153 am__leading_dot = .
154 am__quote = 
155 am__tar = ${AMTAR} chof - "$$tardir"
156 am__untar = ${AMTAR} xf -
157 bindir = ${exec_prefix}/bin
158 build = i686-pc-linux-gnu
159 build_alias = 
160 build_cpu = i686
161 build_os = linux-gnu
162 build_vendor = pc
163 builddir = .
164 datadir = ${datarootdir}
165 datarootdir = ${prefix}/share
166 docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
167 dvidir = ${docdir}
168 exec_prefix = ${prefix}
169 host = i686-pc-linux-gnu
170 host_alias = 
171 host_cpu = i686
172 host_os = linux-gnu
173 host_vendor = pc
174 htmldir = ${docdir}
175 includedir = ${prefix}/include
176 infodir = ${datarootdir}/info
177 install_sh = ${SHELL} /home/hs/Mate/boehmgc/gc-7.2/libatomic_ops/install-sh
178 libdir = ${exec_prefix}/lib
179 libexecdir = ${exec_prefix}/libexec
180 localedir = ${datarootdir}/locale
181 localstatedir = ${prefix}/var
182 mandir = ${datarootdir}/man
183 mkdir_p = /bin/mkdir -p
184 oldincludedir = /usr/include
185 pdfdir = ${docdir}
186 prefix = /home/hs/Mate/boehmgc/gc
187 program_transform_name = s,x,x,
188 psdir = ${docdir}
189 sbindir = ${exec_prefix}/sbin
190 sharedstatedir = ${prefix}/com
191 srcdir = .
192 sysconfdir = ${prefix}/etc
193 target = i686-pc-linux-gnu
194 target_alias = 
195 target_cpu = i686
196 target_os = linux-gnu
197 target_vendor = pc
198 top_build_prefix = ../
199 top_builddir = ..
200 top_srcdir = ..
201 EXTRA_DIST = test_atomic.template list_atomic.template run_parallel.inc \
202            test_atomic_include.h list_atomic.c
203
204 # We distribute test_atomic_include.h and list_atomic.c, since it is hard
205 # to regenerate them on Windows without sed.
206 BUILT_SOURCES = test_atomic_include.h list_atomic.i
207 CLEANFILES = list_atomic.i
208 AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
209 test_atomic_pthreads_SOURCES = $(test_atomic_SOURCES)
210 test_atomic_pthreads_CPPFLAGS = -DAO_USE_PTHREAD_DEFS $(AM_CPPFLAGS)
211 test_atomic_pthreads_LDADD = $(test_atomic_LDADD)
212 test_atomic_SOURCES = test_atomic.c
213 test_atomic_LDADD = $(THREADDLLIBS) ../src/libatomic_ops.a
214 test_stack_SOURCES = test_stack.c
215 test_stack_LDADD = $(THREADDLLIBS) ../src/libatomic_ops_gpl.a \
216         ../src/libatomic_ops.a
217
218 test_malloc_SOURCES = test_malloc.c
219 test_malloc_LDADD = $(THREADDLLIBS) ../src/libatomic_ops_gpl.a \
220         ../src/libatomic_ops.a
221
222 all: $(BUILT_SOURCES)
223         $(MAKE) $(AM_MAKEFLAGS) all-am
224
225 .SUFFIXES:
226 .SUFFIXES: .c .o .obj
227 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
228         @for dep in $?; do \
229           case '$(am__configure_deps)' in \
230             *$$dep*) \
231               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
232                 && { if test -f $@; then exit 0; else break; fi; }; \
233               exit 1;; \
234           esac; \
235         done; \
236         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
237         $(am__cd) $(top_srcdir) && \
238           $(AUTOMAKE) --gnu tests/Makefile
239 .PRECIOUS: Makefile
240 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
241         @case '$?' in \
242           *config.status*) \
243             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
244           *) \
245             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
246             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
247         esac;
248
249 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
250         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
251
252 $(top_srcdir)/configure:  $(am__configure_deps)
253         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
254 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
255         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
256 $(am__aclocal_m4_deps):
257
258 clean-checkPROGRAMS:
259         -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
260 test_atomic$(EXEEXT): $(test_atomic_OBJECTS) $(test_atomic_DEPENDENCIES) 
261         @rm -f test_atomic$(EXEEXT)
262         $(LINK) $(test_atomic_OBJECTS) $(test_atomic_LDADD) $(LIBS)
263 test_atomic_pthreads$(EXEEXT): $(test_atomic_pthreads_OBJECTS) $(test_atomic_pthreads_DEPENDENCIES) 
264         @rm -f test_atomic_pthreads$(EXEEXT)
265         $(LINK) $(test_atomic_pthreads_OBJECTS) $(test_atomic_pthreads_LDADD) $(LIBS)
266 test_malloc$(EXEEXT): $(test_malloc_OBJECTS) $(test_malloc_DEPENDENCIES) 
267         @rm -f test_malloc$(EXEEXT)
268         $(LINK) $(test_malloc_OBJECTS) $(test_malloc_LDADD) $(LIBS)
269 test_stack$(EXEEXT): $(test_stack_OBJECTS) $(test_stack_DEPENDENCIES) 
270         @rm -f test_stack$(EXEEXT)
271         $(LINK) $(test_stack_OBJECTS) $(test_stack_LDADD) $(LIBS)
272
273 mostlyclean-compile:
274         -rm -f *.$(OBJEXT)
275
276 distclean-compile:
277         -rm -f *.tab.c
278
279 include ./$(DEPDIR)/test_atomic.Po
280 include ./$(DEPDIR)/test_atomic_pthreads-test_atomic.Po
281 include ./$(DEPDIR)/test_malloc.Po
282 include ./$(DEPDIR)/test_stack.Po
283
284 .c.o:
285         $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
286         $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
287 #       source='$<' object='$@' libtool=no \
288 #       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
289 #       $(COMPILE) -c $<
290
291 .c.obj:
292         $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
293         $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
294 #       source='$<' object='$@' libtool=no \
295 #       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
296 #       $(COMPILE) -c `$(CYGPATH_W) '$<'`
297
298 test_atomic_pthreads-test_atomic.o: test_atomic.c
299         $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_atomic_pthreads_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_atomic_pthreads-test_atomic.o -MD -MP -MF $(DEPDIR)/test_atomic_pthreads-test_atomic.Tpo -c -o test_atomic_pthreads-test_atomic.o `test -f 'test_atomic.c' || echo '$(srcdir)/'`test_atomic.c
300         $(am__mv) $(DEPDIR)/test_atomic_pthreads-test_atomic.Tpo $(DEPDIR)/test_atomic_pthreads-test_atomic.Po
301 #       source='test_atomic.c' object='test_atomic_pthreads-test_atomic.o' libtool=no \
302 #       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
303 #       $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_atomic_pthreads_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_atomic_pthreads-test_atomic.o `test -f 'test_atomic.c' || echo '$(srcdir)/'`test_atomic.c
304
305 test_atomic_pthreads-test_atomic.obj: test_atomic.c
306         $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_atomic_pthreads_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_atomic_pthreads-test_atomic.obj -MD -MP -MF $(DEPDIR)/test_atomic_pthreads-test_atomic.Tpo -c -o test_atomic_pthreads-test_atomic.obj `if test -f 'test_atomic.c'; then $(CYGPATH_W) 'test_atomic.c'; else $(CYGPATH_W) '$(srcdir)/test_atomic.c'; fi`
307         $(am__mv) $(DEPDIR)/test_atomic_pthreads-test_atomic.Tpo $(DEPDIR)/test_atomic_pthreads-test_atomic.Po
308 #       source='test_atomic.c' object='test_atomic_pthreads-test_atomic.obj' libtool=no \
309 #       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
310 #       $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_atomic_pthreads_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_atomic_pthreads-test_atomic.obj `if test -f 'test_atomic.c'; then $(CYGPATH_W) 'test_atomic.c'; else $(CYGPATH_W) '$(srcdir)/test_atomic.c'; fi`
311
312 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
313         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
314         unique=`for i in $$list; do \
315             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
316           done | \
317           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
318               END { if (nonempty) { for (i in files) print i; }; }'`; \
319         mkid -fID $$unique
320 tags: TAGS
321
322 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
323                 $(TAGS_FILES) $(LISP)
324         set x; \
325         here=`pwd`; \
326         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
327         unique=`for i in $$list; do \
328             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
329           done | \
330           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
331               END { if (nonempty) { for (i in files) print i; }; }'`; \
332         shift; \
333         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
334           test -n "$$unique" || unique=$$empty_fix; \
335           if test $$# -gt 0; then \
336             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
337               "$$@" $$unique; \
338           else \
339             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
340               $$unique; \
341           fi; \
342         fi
343 ctags: CTAGS
344 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
345                 $(TAGS_FILES) $(LISP)
346         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
347         unique=`for i in $$list; do \
348             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
349           done | \
350           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
351               END { if (nonempty) { for (i in files) print i; }; }'`; \
352         test -z "$(CTAGS_ARGS)$$unique" \
353           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
354              $$unique
355
356 GTAGS:
357         here=`$(am__cd) $(top_builddir) && pwd` \
358           && $(am__cd) $(top_srcdir) \
359           && gtags -i $(GTAGS_ARGS) "$$here"
360
361 distclean-tags:
362         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
363
364 check-TESTS: $(TESTS)
365         @failed=0; all=0; xfail=0; xpass=0; skip=0; \
366         srcdir=$(srcdir); export srcdir; \
367         list=' $(TESTS) '; \
368         $(am__tty_colors); \
369         if test -n "$$list"; then \
370           for tst in $$list; do \
371             if test -f ./$$tst; then dir=./; \
372             elif test -f $$tst; then dir=; \
373             else dir="$(srcdir)/"; fi; \
374             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
375               all=`expr $$all + 1`; \
376               case " $(XFAIL_TESTS) " in \
377               *[\ \     ]$$tst[\ \      ]*) \
378                 xpass=`expr $$xpass + 1`; \
379                 failed=`expr $$failed + 1`; \
380                 col=$$red; res=XPASS; \
381               ;; \
382               *) \
383                 col=$$grn; res=PASS; \
384               ;; \
385               esac; \
386             elif test $$? -ne 77; then \
387               all=`expr $$all + 1`; \
388               case " $(XFAIL_TESTS) " in \
389               *[\ \     ]$$tst[\ \      ]*) \
390                 xfail=`expr $$xfail + 1`; \
391                 col=$$lgn; res=XFAIL; \
392               ;; \
393               *) \
394                 failed=`expr $$failed + 1`; \
395                 col=$$red; res=FAIL; \
396               ;; \
397               esac; \
398             else \
399               skip=`expr $$skip + 1`; \
400               col=$$blu; res=SKIP; \
401             fi; \
402             echo "$${col}$$res$${std}: $$tst"; \
403           done; \
404           if test "$$all" -eq 1; then \
405             tests="test"; \
406             All=""; \
407           else \
408             tests="tests"; \
409             All="All "; \
410           fi; \
411           if test "$$failed" -eq 0; then \
412             if test "$$xfail" -eq 0; then \
413               banner="$$All$$all $$tests passed"; \
414             else \
415               if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
416               banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
417             fi; \
418           else \
419             if test "$$xpass" -eq 0; then \
420               banner="$$failed of $$all $$tests failed"; \
421             else \
422               if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
423               banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
424             fi; \
425           fi; \
426           dashes="$$banner"; \
427           skipped=""; \
428           if test "$$skip" -ne 0; then \
429             if test "$$skip" -eq 1; then \
430               skipped="($$skip test was not run)"; \
431             else \
432               skipped="($$skip tests were not run)"; \
433             fi; \
434             test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
435               dashes="$$skipped"; \
436           fi; \
437           report=""; \
438           if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
439             report="Please report to $(PACKAGE_BUGREPORT)"; \
440             test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
441               dashes="$$report"; \
442           fi; \
443           dashes=`echo "$$dashes" | sed s/./=/g`; \
444           if test "$$failed" -eq 0; then \
445             echo "$$grn$$dashes"; \
446           else \
447             echo "$$red$$dashes"; \
448           fi; \
449           echo "$$banner"; \
450           test -z "$$skipped" || echo "$$skipped"; \
451           test -z "$$report" || echo "$$report"; \
452           echo "$$dashes$$std"; \
453           test "$$failed" -eq 0; \
454         else :; fi
455
456 distdir: $(DISTFILES)
457         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
458         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
459         list='$(DISTFILES)'; \
460           dist_files=`for file in $$list; do echo $$file; done | \
461           sed -e "s|^$$srcdirstrip/||;t" \
462               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
463         case $$dist_files in \
464           */*) $(MKDIR_P) `echo "$$dist_files" | \
465                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
466                            sort -u` ;; \
467         esac; \
468         for file in $$dist_files; do \
469           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
470           if test -d $$d/$$file; then \
471             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
472             if test -d "$(distdir)/$$file"; then \
473               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
474             fi; \
475             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
476               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
477               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
478             fi; \
479             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
480           else \
481             test -f "$(distdir)/$$file" \
482             || cp -p $$d/$$file "$(distdir)/$$file" \
483             || exit 1; \
484           fi; \
485         done
486 check-am: all-am
487         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
488         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
489 check: $(BUILT_SOURCES)
490         $(MAKE) $(AM_MAKEFLAGS) check-am
491 all-am: Makefile
492 installdirs:
493 install: $(BUILT_SOURCES)
494         $(MAKE) $(AM_MAKEFLAGS) install-am
495 install-exec: install-exec-am
496 install-data: install-data-am
497 uninstall: uninstall-am
498
499 install-am: all-am
500         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
501
502 installcheck: installcheck-am
503 install-strip:
504         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
505           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
506           `test -z '$(STRIP)' || \
507             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
508 mostlyclean-generic:
509
510 clean-generic:
511         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
512
513 distclean-generic:
514         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
515         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
516
517 maintainer-clean-generic:
518         @echo "This command is intended for maintainers to use"
519         @echo "it deletes files that may require special tools to rebuild."
520         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
521 clean: clean-am
522
523 clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
524
525 distclean: distclean-am
526         -rm -rf ./$(DEPDIR)
527         -rm -f Makefile
528 distclean-am: clean-am distclean-compile distclean-generic \
529         distclean-tags
530
531 dvi: dvi-am
532
533 dvi-am:
534
535 html: html-am
536
537 html-am:
538
539 info: info-am
540
541 info-am:
542
543 install-data-am:
544
545 install-dvi: install-dvi-am
546
547 install-dvi-am:
548
549 install-exec-am:
550
551 install-html: install-html-am
552
553 install-html-am:
554
555 install-info: install-info-am
556
557 install-info-am:
558
559 install-man:
560
561 install-pdf: install-pdf-am
562
563 install-pdf-am:
564
565 install-ps: install-ps-am
566
567 install-ps-am:
568
569 installcheck-am:
570
571 maintainer-clean: maintainer-clean-am
572         -rm -rf ./$(DEPDIR)
573         -rm -f Makefile
574 maintainer-clean-am: distclean-am maintainer-clean-generic
575
576 mostlyclean: mostlyclean-am
577
578 mostlyclean-am: mostlyclean-compile mostlyclean-generic
579
580 pdf: pdf-am
581
582 pdf-am:
583
584 ps: ps-am
585
586 ps-am:
587
588 uninstall-am:
589
590 .MAKE: all check check-am install install-am install-strip
591
592 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
593         clean-checkPROGRAMS clean-generic ctags distclean \
594         distclean-compile distclean-generic distclean-tags distdir dvi \
595         dvi-am html html-am info info-am install install-am \
596         install-data install-data-am install-dvi install-dvi-am \
597         install-exec install-exec-am install-html install-html-am \
598         install-info install-info-am install-man install-pdf \
599         install-pdf-am install-ps install-ps-am install-strip \
600         installcheck installcheck-am installdirs maintainer-clean \
601         maintainer-clean-generic mostlyclean mostlyclean-compile \
602         mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
603         uninstall-am
604
605
606 test_atomic_include.h: test_atomic.template
607         sed -e s/XX// $? > $@
608         sed -e s/XX/_release/ $? >> $@
609         sed -e s/XX/_acquire/ $? >> $@
610         sed -e s/XX/_read/ $? >> $@
611         sed -e s/XX/_write/ $? >> $@
612         sed -e s/XX/_full/ $? >> $@
613         sed -e s/XX/_release_write/ $? >> $@
614         sed -e s/XX/_acquire_read/ $? >> $@
615
616 list_atomic.c: list_atomic.template
617         echo "#include \"atomic_ops.h\" " > $@
618         sed -e s/XX// $? >> $@
619         sed -e s/XX/_release/ $? >> $@
620         sed -e s/XX/_acquire/ $? >> $@
621         sed -e s/XX/_read/ $? >> $@
622         sed -e s/XX/_write/ $? >> $@
623         sed -e s/XX/_full/ $? >> $@
624         sed -e s/XX/_release_write/ $? >> $@
625         sed -e s/XX/_acquire_read/ $? >> $@
626
627 list_atomic.i: list_atomic.c
628         $(COMPILE) $? -E > list_atomic.i
629
630 # Tell versions [3.59,3.63) of GNU make to not export all variables.
631 # Otherwise a system limit (for SysV at least) may be exceeded.
632 .NOEXPORT: