implemented Setup.hs to build boehm cpp libs and install them;
[hs-boehmgc.git] / gc-7.2 / libatomic_ops / tests / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
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 @SET_MAKE@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
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 = @build@
35 host_triplet = @host@
36 target_triplet = @target@
37 @HAVE_PTHREAD_H_FALSE@TESTS = test_atomic$(EXEEXT) test_stack$(EXEEXT) \
38 @HAVE_PTHREAD_H_FALSE@  test_malloc$(EXEEXT)
39 @HAVE_PTHREAD_H_TRUE@TESTS = test_atomic$(EXEEXT) \
40 @HAVE_PTHREAD_H_TRUE@   test_atomic_pthreads$(EXEEXT) \
41 @HAVE_PTHREAD_H_TRUE@   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 @HAVE_PTHREAD_H_FALSE@am__EXEEXT_1 = test_atomic$(EXEEXT) \
54 @HAVE_PTHREAD_H_FALSE@  test_stack$(EXEEXT) test_malloc$(EXEEXT)
55 @HAVE_PTHREAD_H_TRUE@am__EXEEXT_1 = test_atomic$(EXEEXT) \
56 @HAVE_PTHREAD_H_TRUE@   test_atomic_pthreads$(EXEEXT) \
57 @HAVE_PTHREAD_H_TRUE@   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 @HAVE_PTHREAD_H_TRUE@am_test_atomic_pthreads_OBJECTS =  \
66 @HAVE_PTHREAD_H_TRUE@   $(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 @HAVE_PTHREAD_H_TRUE@test_atomic_pthreads_DEPENDENCIES =  \
70 @HAVE_PTHREAD_H_TRUE@   $(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.@am__isrc@ -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 = @ACLOCAL@
98 AMTAR = @AMTAR@
99 AUTOCONF = @AUTOCONF@
100 AUTOHEADER = @AUTOHEADER@
101 AUTOMAKE = @AUTOMAKE@
102 AWK = @AWK@
103 CC = @CC@
104 CCAS = @CCAS@
105 CCASDEPMODE = @CCASDEPMODE@
106 CCASFLAGS = @CCASFLAGS@
107 CCDEPMODE = @CCDEPMODE@
108 CFLAGS = @CFLAGS@
109 CPP = @CPP@
110 CPPFLAGS = @CPPFLAGS@
111 CYGPATH_W = @CYGPATH_W@
112 DEFS = @DEFS@
113 DEPDIR = @DEPDIR@
114 ECHO_C = @ECHO_C@
115 ECHO_N = @ECHO_N@
116 ECHO_T = @ECHO_T@
117 EGREP = @EGREP@
118 EXEEXT = @EXEEXT@
119 GREP = @GREP@
120 INSTALL = @INSTALL@
121 INSTALL_DATA = @INSTALL_DATA@
122 INSTALL_PROGRAM = @INSTALL_PROGRAM@
123 INSTALL_SCRIPT = @INSTALL_SCRIPT@
124 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
125 LDFLAGS = @LDFLAGS@
126 LIBOBJS = @LIBOBJS@
127 LIBS = @LIBS@
128 LTLIBOBJS = @LTLIBOBJS@
129 MAKEINFO = @MAKEINFO@
130 MKDIR_P = @MKDIR_P@
131 OBJEXT = @OBJEXT@
132 PACKAGE = @PACKAGE@
133 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
134 PACKAGE_NAME = @PACKAGE_NAME@
135 PACKAGE_STRING = @PACKAGE_STRING@
136 PACKAGE_TARNAME = @PACKAGE_TARNAME@
137 PACKAGE_URL = @PACKAGE_URL@
138 PACKAGE_VERSION = @PACKAGE_VERSION@
139 PATH_SEPARATOR = @PATH_SEPARATOR@
140 PICFLAG = @PICFLAG@
141 RANLIB = @RANLIB@
142 SET_MAKE = @SET_MAKE@
143 SHELL = @SHELL@
144 STRIP = @STRIP@
145 THREADDLLIBS = @THREADDLLIBS@
146 VERSION = @VERSION@
147 abs_builddir = @abs_builddir@
148 abs_srcdir = @abs_srcdir@
149 abs_top_builddir = @abs_top_builddir@
150 abs_top_srcdir = @abs_top_srcdir@
151 ac_ct_CC = @ac_ct_CC@
152 am__include = @am__include@
153 am__leading_dot = @am__leading_dot@
154 am__quote = @am__quote@
155 am__tar = @am__tar@
156 am__untar = @am__untar@
157 bindir = @bindir@
158 build = @build@
159 build_alias = @build_alias@
160 build_cpu = @build_cpu@
161 build_os = @build_os@
162 build_vendor = @build_vendor@
163 builddir = @builddir@
164 datadir = @datadir@
165 datarootdir = @datarootdir@
166 docdir = @docdir@
167 dvidir = @dvidir@
168 exec_prefix = @exec_prefix@
169 host = @host@
170 host_alias = @host_alias@
171 host_cpu = @host_cpu@
172 host_os = @host_os@
173 host_vendor = @host_vendor@
174 htmldir = @htmldir@
175 includedir = @includedir@
176 infodir = @infodir@
177 install_sh = @install_sh@
178 libdir = @libdir@
179 libexecdir = @libexecdir@
180 localedir = @localedir@
181 localstatedir = @localstatedir@
182 mandir = @mandir@
183 mkdir_p = @mkdir_p@
184 oldincludedir = @oldincludedir@
185 pdfdir = @pdfdir@
186 prefix = @prefix@
187 program_transform_name = @program_transform_name@
188 psdir = @psdir@
189 sbindir = @sbindir@
190 sharedstatedir = @sharedstatedir@
191 srcdir = @srcdir@
192 sysconfdir = @sysconfdir@
193 target = @target@
194 target_alias = @target_alias@
195 target_cpu = @target_cpu@
196 target_os = @target_os@
197 target_vendor = @target_vendor@
198 top_build_prefix = @top_build_prefix@
199 top_builddir = @top_builddir@
200 top_srcdir = @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 @HAVE_PTHREAD_H_TRUE@test_atomic_pthreads_SOURCES = $(test_atomic_SOURCES)
210 @HAVE_PTHREAD_H_TRUE@test_atomic_pthreads_CPPFLAGS = -DAO_USE_PTHREAD_DEFS $(AM_CPPFLAGS)
211 @HAVE_PTHREAD_H_TRUE@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 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_atomic.Po@am__quote@
280 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_atomic_pthreads-test_atomic.Po@am__quote@
281 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_malloc.Po@am__quote@
282 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_stack.Po@am__quote@
283
284 .c.o:
285 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
286 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
287 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
288 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
289 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
290
291 .c.obj:
292 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
293 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
294 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
295 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
296 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
297
298 test_atomic_pthreads-test_atomic.o: test_atomic.c
299 @am__fastdepCC_TRUE@    $(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__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_atomic_pthreads-test_atomic.Tpo $(DEPDIR)/test_atomic_pthreads-test_atomic.Po
301 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test_atomic.c' object='test_atomic_pthreads-test_atomic.o' libtool=no @AMDEPBACKSLASH@
302 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
303 @am__fastdepCC_FALSE@   $(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 @am__fastdepCC_TRUE@    $(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__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_atomic_pthreads-test_atomic.Tpo $(DEPDIR)/test_atomic_pthreads-test_atomic.Po
308 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test_atomic.c' object='test_atomic_pthreads-test_atomic.obj' libtool=no @AMDEPBACKSLASH@
309 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
310 @am__fastdepCC_FALSE@   $(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: