Clang] Fix expansion of response files in -Wp after integrated-cc1 change
[llvm-project.git] / polly / lib / External / ppcg / Makefile.in
blobc1b7193554582b4a37633dada4b82d3177e4396f
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994-2014 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.
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.
15 @SET_MAKE@
17 VPATH = @srcdir@
18 am__is_gnu_make = { \
19 if test -z '$(MAKELEVEL)'; then \
20 false; \
21 elif test -n '$(MAKE_HOST)'; then \
22 true; \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24 true; \
25 else \
26 false; \
27 fi; \
29 am__make_running_with_option = \
30 case $${target_option-} in \
31 ?) ;; \
32 *) echo "am__make_running_with_option: internal error: invalid" \
33 "target option '$${target_option-}' specified" >&2; \
34 exit 1;; \
35 esac; \
36 has_opt=no; \
37 sane_makeflags=$$MAKEFLAGS; \
38 if $(am__is_gnu_make); then \
39 sane_makeflags=$$MFLAGS; \
40 else \
41 case $$MAKEFLAGS in \
42 *\\[\ \ ]*) \
43 bs=\\; \
44 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
46 esac; \
47 fi; \
48 skip_next=no; \
49 strip_trailopt () \
50 { \
51 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52 }; \
53 for flg in $$sane_makeflags; do \
54 test $$skip_next = yes && { skip_next=no; continue; }; \
55 case $$flg in \
56 *=*|--*) continue;; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
60 -*O?*) strip_trailopt 'O';; \
61 -*l) strip_trailopt 'l'; skip_next=yes;; \
62 -*l?*) strip_trailopt 'l';; \
63 -[dEDm]) skip_next=yes;; \
64 -[JT]) skip_next=yes;; \
65 esac; \
66 case $$flg in \
67 *$$target_option*) has_opt=yes; break;; \
68 esac; \
69 done; \
70 test $$has_opt = yes
71 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73 pkgdatadir = $(datadir)/@PACKAGE@
74 pkgincludedir = $(includedir)/@PACKAGE@
75 pkglibdir = $(libdir)/@PACKAGE@
76 pkglibexecdir = $(libexecdir)/@PACKAGE@
77 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78 install_sh_DATA = $(install_sh) -c -m 644
79 install_sh_PROGRAM = $(install_sh) -c
80 install_sh_SCRIPT = $(install_sh) -c
81 INSTALL_HEADER = $(INSTALL_DATA)
82 transform = $(program_transform_name)
83 NORMAL_INSTALL = :
84 PRE_INSTALL = :
85 POST_INSTALL = :
86 NORMAL_UNINSTALL = :
87 PRE_UNINSTALL = :
88 POST_UNINSTALL = :
89 build_triplet = @build@
90 host_triplet = @host@
91 bin_PROGRAMS = ppcg$(EXEEXT)
92 subdir = .
93 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
94 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_opencl.m4 \
95 $(top_srcdir)/m4/ax_check_openmp.m4 \
96 $(top_srcdir)/m4/ax_detect_git_head.m4 \
97 $(top_srcdir)/m4/ax_submodule.m4 $(top_srcdir)/m4/libtool.m4 \
98 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
99 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
100 $(top_srcdir)/configure.ac
101 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
102 $(ACLOCAL_M4)
103 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
104 $(am__configure_deps) $(am__DIST_COMMON)
105 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
106 configure.lineno config.status.lineno
107 mkinstalldirs = $(install_sh) -d
108 CONFIG_CLEAN_FILES = polybench_test.sh opencl_test.sh
109 CONFIG_CLEAN_VPATH_FILES =
110 am__installdirs = "$(DESTDIR)$(bindir)"
111 PROGRAMS = $(bin_PROGRAMS)
112 am_ppcg_OBJECTS = cpu.$(OBJEXT) cuda.$(OBJEXT) opencl.$(OBJEXT) \
113 cuda_common.$(OBJEXT) gpu.$(OBJEXT) gpu_array_tile.$(OBJEXT) \
114 gpu_group.$(OBJEXT) gpu_print.$(OBJEXT) gpu_tree.$(OBJEXT) \
115 schedule.$(OBJEXT) ppcg_options.$(OBJEXT) ppcg.$(OBJEXT) \
116 print.$(OBJEXT) version.$(OBJEXT)
117 ppcg_OBJECTS = $(am_ppcg_OBJECTS)
118 ppcg_LDADD = $(LDADD)
119 am__DEPENDENCIES_1 = $(PET_LA)
120 am__DEPENDENCIES_2 = $(ISL_LA)
121 ppcg_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
122 AM_V_lt = $(am__v_lt_@AM_V@)
123 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
124 am__v_lt_0 = --silent
125 am__v_lt_1 =
126 AM_V_P = $(am__v_P_@AM_V@)
127 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
128 am__v_P_0 = false
129 am__v_P_1 = :
130 AM_V_GEN = $(am__v_GEN_@AM_V@)
131 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
132 am__v_GEN_0 = @echo " GEN " $@;
133 am__v_GEN_1 =
134 AM_V_at = $(am__v_at_@AM_V@)
135 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
136 am__v_at_0 = @
137 am__v_at_1 =
138 DEFAULT_INCLUDES = -I.@am__isrc@
139 depcomp = $(SHELL) $(top_srcdir)/depcomp
140 am__depfiles_maybe = depfiles
141 am__mv = mv -f
142 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
143 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
144 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
145 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
146 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
147 $(AM_CFLAGS) $(CFLAGS)
148 AM_V_CC = $(am__v_CC_@AM_V@)
149 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
150 am__v_CC_0 = @echo " CC " $@;
151 am__v_CC_1 =
152 CCLD = $(CC)
153 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
154 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
155 $(AM_LDFLAGS) $(LDFLAGS) -o $@
156 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
157 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
158 am__v_CCLD_0 = @echo " CCLD " $@;
159 am__v_CCLD_1 =
160 SOURCES = $(ppcg_SOURCES)
161 DIST_SOURCES = $(ppcg_SOURCES)
162 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
163 ctags-recursive dvi-recursive html-recursive info-recursive \
164 install-data-recursive install-dvi-recursive \
165 install-exec-recursive install-html-recursive \
166 install-info-recursive install-pdf-recursive \
167 install-ps-recursive install-recursive installcheck-recursive \
168 installdirs-recursive pdf-recursive ps-recursive \
169 tags-recursive uninstall-recursive
170 am__can_run_installinfo = \
171 case $$AM_UPDATE_INFO_DIR in \
172 n|no|NO) false;; \
173 *) (install-info --version) >/dev/null 2>&1;; \
174 esac
175 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
176 distclean-recursive maintainer-clean-recursive
177 am__recursive_targets = \
178 $(RECURSIVE_TARGETS) \
179 $(RECURSIVE_CLEAN_TARGETS) \
180 $(am__extra_recursive_targets)
181 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
182 cscope check recheck distdir dist dist-all distcheck
183 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
184 # Read a list of newline-separated strings from the standard input,
185 # and print each of them once, without duplicates. Input order is
186 # *not* preserved.
187 am__uniquify_input = $(AWK) '\
188 BEGIN { nonempty = 0; } \
189 { items[$$0] = 1; nonempty = 1; } \
190 END { if (nonempty) { for (i in items) print i; }; } \
192 # Make sure the list of sources is unique. This is necessary because,
193 # e.g., the same source file might be shared among _SOURCES variables
194 # for different programs/libraries.
195 am__define_uniq_tagged_files = \
196 list='$(am__tagged_files)'; \
197 unique=`for i in $$list; do \
198 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
199 done | $(am__uniquify_input)`
200 ETAGS = etags
201 CTAGS = ctags
202 CSCOPE = cscope
203 am__tty_colors_dummy = \
204 mgn= red= grn= lgn= blu= brg= std=; \
205 am__color_tests=no
206 am__tty_colors = { \
207 $(am__tty_colors_dummy); \
208 if test "X$(AM_COLOR_TESTS)" = Xno; then \
209 am__color_tests=no; \
210 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
211 am__color_tests=yes; \
212 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
213 am__color_tests=yes; \
214 fi; \
215 if test $$am__color_tests = yes; then \
216 red='\e[0;31m'; \
217 grn='\e[0;32m'; \
218 lgn='\e[1;32m'; \
219 blu='\e[1;34m'; \
220 mgn='\e[0;35m'; \
221 brg='\e[1m'; \
222 std='\e[m'; \
223 fi; \
225 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
226 am__vpath_adj = case $$p in \
227 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
228 *) f=$$p;; \
229 esac;
230 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
231 am__install_max = 40
232 am__nobase_strip_setup = \
233 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
234 am__nobase_strip = \
235 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
236 am__nobase_list = $(am__nobase_strip_setup); \
237 for p in $$list; do echo "$$p $$p"; done | \
238 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
239 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
240 if (++n[$$2] == $(am__install_max)) \
241 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
242 END { for (dir in files) print dir, files[dir] }'
243 am__base_list = \
244 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
245 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
246 am__uninstall_files_from_dir = { \
247 test -z "$$files" \
248 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
249 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
250 $(am__cd) "$$dir" && rm -f $$files; }; \
252 am__recheck_rx = ^[ ]*:recheck:[ ]*
253 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
254 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
255 # A command that, given a newline-separated list of test names on the
256 # standard input, print the name of the tests that are to be re-run
257 # upon "make recheck".
258 am__list_recheck_tests = $(AWK) '{ \
259 recheck = 1; \
260 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
262 if (rc < 0) \
264 if ((getline line2 < ($$0 ".log")) < 0) \
265 recheck = 0; \
266 break; \
268 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
270 recheck = 0; \
271 break; \
273 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
275 break; \
277 }; \
278 if (recheck) \
279 print $$0; \
280 close ($$0 ".trs"); \
281 close ($$0 ".log"); \
283 # A command that, given a newline-separated list of test names on the
284 # standard input, create the global log from their .trs and .log files.
285 am__create_global_log = $(AWK) ' \
286 function fatal(msg) \
288 print "fatal: making $@: " msg | "cat >&2"; \
289 exit 1; \
291 function rst_section(header) \
293 print header; \
294 len = length(header); \
295 for (i = 1; i <= len; i = i + 1) \
296 printf "="; \
297 printf "\n\n"; \
300 copy_in_global_log = 1; \
301 global_test_result = "RUN"; \
302 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
304 if (rc < 0) \
305 fatal("failed to read from " $$0 ".trs"); \
306 if (line ~ /$(am__global_test_result_rx)/) \
308 sub("$(am__global_test_result_rx)", "", line); \
309 sub("[ ]*$$", "", line); \
310 global_test_result = line; \
312 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
313 copy_in_global_log = 0; \
314 }; \
315 if (copy_in_global_log) \
317 rst_section(global_test_result ": " $$0); \
318 while ((rc = (getline line < ($$0 ".log"))) != 0) \
320 if (rc < 0) \
321 fatal("failed to read from " $$0 ".log"); \
322 print line; \
323 }; \
324 printf "\n"; \
325 }; \
326 close ($$0 ".trs"); \
327 close ($$0 ".log"); \
329 # Restructured Text title.
330 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
331 # Solaris 10 'make', and several other traditional 'make' implementations,
332 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
333 # by disabling -e (using the XSI extension "set +e") if it's set.
334 am__sh_e_setup = case $$- in *e*) set +e;; esac
335 # Default flags passed to test drivers.
336 am__common_driver_flags = \
337 --color-tests "$$am__color_tests" \
338 --enable-hard-errors "$$am__enable_hard_errors" \
339 --expect-failure "$$am__expect_failure"
340 # To be inserted before the command running the test. Creates the
341 # directory for the log if needed. Stores in $dir the directory
342 # containing $f, in $tst the test, in $log the log. Executes the
343 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
344 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
345 # will run the test scripts (or their associated LOG_COMPILER, if
346 # thy have one).
347 am__check_pre = \
348 $(am__sh_e_setup); \
349 $(am__vpath_adj_setup) $(am__vpath_adj) \
350 $(am__tty_colors); \
351 srcdir=$(srcdir); export srcdir; \
352 case "$@" in \
353 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
354 *) am__odir=.;; \
355 esac; \
356 test "x$$am__odir" = x"." || test -d "$$am__odir" \
357 || $(MKDIR_P) "$$am__odir" || exit $$?; \
358 if test -f "./$$f"; then dir=./; \
359 elif test -f "$$f"; then dir=; \
360 else dir="$(srcdir)/"; fi; \
361 tst=$$dir$$f; log='$@'; \
362 if test -n '$(DISABLE_HARD_ERRORS)'; then \
363 am__enable_hard_errors=no; \
364 else \
365 am__enable_hard_errors=yes; \
366 fi; \
367 case " $(XFAIL_TESTS) " in \
368 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
369 am__expect_failure=yes;; \
370 *) \
371 am__expect_failure=no;; \
372 esac; \
373 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
374 # A shell command to get the names of the tests scripts with any registered
375 # extension removed (i.e., equivalently, the names of the test logs, with
376 # the '.log' extension removed). The result is saved in the shell variable
377 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
378 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
379 # since that might cause problem with VPATH rewrites for suffix-less tests.
380 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
381 am__set_TESTS_bases = \
382 bases='$(TEST_LOGS)'; \
383 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
384 bases=`echo $$bases`
385 RECHECK_LOGS = $(TEST_LOGS)
386 TEST_SUITE_LOG = test-suite.log
387 am__test_logs1 = $(TESTS:=.log)
388 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
389 TEST_LOGS = $(am__test_logs2:.sh.log=.log)
390 SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
391 SH_LOG_COMPILE = $(SH_LOG_COMPILER) $(AM_SH_LOG_FLAGS) $(SH_LOG_FLAGS)
392 am__set_b = \
393 case '$@' in \
394 */*) \
395 case '$*' in \
396 */*) b='$*';; \
397 *) b=`echo '$@' | sed 's/\.log$$//'`; \
398 esac;; \
399 *) \
400 b='$*';; \
401 esac
402 DIST_SUBDIRS = isl pet .
403 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/opencl_test.sh.in \
404 $(srcdir)/polybench_test.sh.in ChangeLog README compile \
405 config.guess config.sub depcomp install-sh ltmain.sh missing \
406 test-driver
407 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
408 distdir = $(PACKAGE)-$(VERSION)
409 top_distdir = $(distdir)
410 am__remove_distdir = \
411 if test -d "$(distdir)"; then \
412 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
413 && rm -rf "$(distdir)" \
414 || { sleep 5 && rm -rf "$(distdir)"; }; \
415 else :; fi
416 am__post_remove_distdir = $(am__remove_distdir)
417 am__relativize = \
418 dir0=`pwd`; \
419 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
420 sed_rest='s,^[^/]*/*,,'; \
421 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
422 sed_butlast='s,/*[^/]*$$,,'; \
423 while test -n "$$dir1"; do \
424 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
425 if test "$$first" != "."; then \
426 if test "$$first" = ".."; then \
427 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
428 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
429 else \
430 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
431 if test "$$first2" = "$$first"; then \
432 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
433 else \
434 dir2="../$$dir2"; \
435 fi; \
436 dir0="$$dir0"/"$$first"; \
437 fi; \
438 fi; \
439 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
440 done; \
441 reldir="$$dir2"
442 DIST_ARCHIVES = $(distdir).tar.gz
443 GZIP_ENV = --best
444 DIST_TARGETS = dist-gzip
445 distuninstallcheck_listfiles = find . -type f -print
446 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
447 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
448 distcleancheck_listfiles = find . -type f -print
449 ACLOCAL = @ACLOCAL@
450 AMTAR = @AMTAR@
451 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
452 AR = @AR@
453 AUTOCONF = @AUTOCONF@
454 AUTOHEADER = @AUTOHEADER@
455 AUTOMAKE = @AUTOMAKE@
456 AWK = @AWK@
457 CC = @CC@
458 CCDEPMODE = @CCDEPMODE@
459 CFLAGS = @CFLAGS@
460 CPP = @CPP@
461 CPPFLAGS = @CPPFLAGS@
462 CYGPATH_W = @CYGPATH_W@
463 DEFS = @DEFS@
464 DEPDIR = @DEPDIR@
465 DLLTOOL = @DLLTOOL@
466 DSYMUTIL = @DSYMUTIL@
467 DUMPBIN = @DUMPBIN@
468 ECHO_C = @ECHO_C@
469 ECHO_N = @ECHO_N@
470 ECHO_T = @ECHO_T@
471 EGREP = @EGREP@
472 EXEEXT = @EXEEXT@
473 FGREP = @FGREP@
474 GIT_HEAD = @GIT_HEAD@
475 GIT_HEAD_ID = @GIT_HEAD_ID@
476 GIT_HEAD_VERSION = @GIT_HEAD_VERSION@
477 GREP = @GREP@
478 HAVE_OPENCL = @HAVE_OPENCL@
479 HAVE_OPENMP = @HAVE_OPENMP@
480 INSTALL = @INSTALL@
481 INSTALL_DATA = @INSTALL_DATA@
482 INSTALL_PROGRAM = @INSTALL_PROGRAM@
483 INSTALL_SCRIPT = @INSTALL_SCRIPT@
484 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
485 ISL_CFLAGS = @ISL_CFLAGS@
486 ISL_LIBS = @ISL_LIBS@
487 LD = @LD@
488 LDFLAGS = @LDFLAGS@
489 LIBOBJS = @LIBOBJS@
490 LIBS = @LIBS@
491 LIBTOOL = @LIBTOOL@
492 LIPO = @LIPO@
493 LN_S = @LN_S@
494 LTLIBOBJS = @LTLIBOBJS@
495 MAKEINFO = @MAKEINFO@
496 MANIFEST_TOOL = @MANIFEST_TOOL@
497 MKDIR_P = @MKDIR_P@
498 NM = @NM@
499 NMEDIT = @NMEDIT@
500 OBJDUMP = @OBJDUMP@
501 OBJEXT = @OBJEXT@
502 OTOOL = @OTOOL@
503 OTOOL64 = @OTOOL64@
504 PACKAGE = @PACKAGE@
505 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
506 PACKAGE_NAME = @PACKAGE_NAME@
507 PACKAGE_STRING = @PACKAGE_STRING@
508 PACKAGE_TARNAME = @PACKAGE_TARNAME@
509 PACKAGE_URL = @PACKAGE_URL@
510 PACKAGE_VERSION = @PACKAGE_VERSION@
511 PATH_SEPARATOR = @PATH_SEPARATOR@
512 PET_CFLAGS = @PET_CFLAGS@
513 PET_LIBS = @PET_LIBS@
514 PKG_CONFIG = @PKG_CONFIG@
515 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
516 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
517 POLYBENCH_DIR = @POLYBENCH_DIR@
518 RANLIB = @RANLIB@
519 SED = @SED@
520 SET_MAKE = @SET_MAKE@
521 SHELL = @SHELL@
522 STRIP = @STRIP@
523 VERSION = @VERSION@
524 abs_builddir = @abs_builddir@
525 abs_srcdir = @abs_srcdir@
526 abs_top_builddir = @abs_top_builddir@
527 abs_top_srcdir = @abs_top_srcdir@
528 ac_ct_AR = @ac_ct_AR@
529 ac_ct_CC = @ac_ct_CC@
530 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
531 am__include = @am__include@
532 am__leading_dot = @am__leading_dot@
533 am__quote = @am__quote@
534 am__tar = @am__tar@
535 am__untar = @am__untar@
536 bindir = @bindir@
537 build = @build@
538 build_alias = @build_alias@
539 build_cpu = @build_cpu@
540 build_os = @build_os@
541 build_vendor = @build_vendor@
542 builddir = @builddir@
543 datadir = @datadir@
544 datarootdir = @datarootdir@
545 docdir = @docdir@
546 dvidir = @dvidir@
547 exec_prefix = @exec_prefix@
548 extra_tests = @extra_tests@
549 host = @host@
550 host_alias = @host_alias@
551 host_cpu = @host_cpu@
552 host_os = @host_os@
553 host_vendor = @host_vendor@
554 htmldir = @htmldir@
555 includedir = @includedir@
556 infodir = @infodir@
557 install_sh = @install_sh@
558 libdir = @libdir@
559 libexecdir = @libexecdir@
560 localedir = @localedir@
561 localstatedir = @localstatedir@
562 mandir = @mandir@
563 mkdir_p = @mkdir_p@
564 oldincludedir = @oldincludedir@
565 pdfdir = @pdfdir@
566 prefix = @prefix@
567 program_transform_name = @program_transform_name@
568 psdir = @psdir@
569 sbindir = @sbindir@
570 sharedstatedir = @sharedstatedir@
571 srcdir = @srcdir@
572 subdirs = @subdirs@
573 sysconfdir = @sysconfdir@
574 target_alias = @target_alias@
575 top_build_prefix = @top_build_prefix@
576 top_builddir = @top_builddir@
577 top_srcdir = @top_srcdir@
578 @BUNDLED_ISL_TRUE@MAYBE_ISL = isl
579 @BUNDLED_ISL_TRUE@ISL_LA = $(top_builddir)/isl/libisl.la
580 @BUNDLED_ISL_TRUE@LOCAL_ISL_LA = isl/libisl.la
581 @BUNDLED_PET_TRUE@MAYBE_PET = pet
582 @BUNDLED_PET_TRUE@PET_LA = $(top_builddir)/pet/libpet.la
583 SUBDIRS = $(MAYBE_ISL) $(MAYBE_PET) .
584 ACLOCAL_AMFLAGS = -I m4
585 LIB_ISL = $(ISL_LA) @ISL_LIBS@
586 LIB_PET = $(PET_LA) @PET_LIBS@
587 AM_CPPFLAGS = @ISL_CFLAGS@ @PET_CFLAGS@
588 LDADD = $(LIB_PET) $(LIB_ISL)
589 ppcg_SOURCES = \
590 cpu.c \
591 cpu.h \
592 cuda.c \
593 cuda.h \
594 opencl.c \
595 opencl.h \
596 cuda_common.h \
597 cuda_common.c \
598 gpu.c \
599 gpu.h \
600 gpu_array_tile.c \
601 gpu_array_tile.h \
602 gpu_group.c \
603 gpu_group.h \
604 gpu_print.c \
605 gpu_print.h \
606 gpu_tree.c \
607 gpu_tree.h \
608 schedule.c \
609 schedule.h \
610 ppcg_options.c \
611 ppcg_options.h \
612 ppcg.c \
613 ppcg.h \
614 print.c \
615 print.h \
616 util.h \
617 version.c
619 TESTS = @extra_tests@
620 EXTRA_TESTS = opencl_test.sh polybench_test.sh
621 TEST_EXTENSIONS = .sh
622 EXTRA_DIST = \
623 ocl_utilities.c \
624 ocl_utilities.h \
625 tests
627 all: all-recursive
629 .SUFFIXES:
630 .SUFFIXES: .c .lo .log .o .obj .sh .sh$(EXEEXT) .trs
631 am--refresh: Makefile
633 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
634 @for dep in $?; do \
635 case '$(am__configure_deps)' in \
636 *$$dep*) \
637 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
638 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
639 && exit 0; \
640 exit 1;; \
641 esac; \
642 done; \
643 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
644 $(am__cd) $(top_srcdir) && \
645 $(AUTOMAKE) --foreign Makefile
646 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
647 @case '$?' in \
648 *config.status*) \
649 echo ' $(SHELL) ./config.status'; \
650 $(SHELL) ./config.status;; \
651 *) \
652 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
653 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
654 esac;
656 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
657 $(SHELL) ./config.status --recheck
659 $(top_srcdir)/configure: $(am__configure_deps)
660 $(am__cd) $(srcdir) && $(AUTOCONF)
661 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
662 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
663 $(am__aclocal_m4_deps):
664 polybench_test.sh: $(top_builddir)/config.status $(srcdir)/polybench_test.sh.in
665 cd $(top_builddir) && $(SHELL) ./config.status $@
666 opencl_test.sh: $(top_builddir)/config.status $(srcdir)/opencl_test.sh.in
667 cd $(top_builddir) && $(SHELL) ./config.status $@
668 install-binPROGRAMS: $(bin_PROGRAMS)
669 @$(NORMAL_INSTALL)
670 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
671 if test -n "$$list"; then \
672 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
673 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
674 fi; \
675 for p in $$list; do echo "$$p $$p"; done | \
676 sed 's/$(EXEEXT)$$//' | \
677 while read p p1; do if test -f $$p \
678 || test -f $$p1 \
679 ; then echo "$$p"; echo "$$p"; else :; fi; \
680 done | \
681 sed -e 'p;s,.*/,,;n;h' \
682 -e 's|.*|.|' \
683 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
684 sed 'N;N;N;s,\n, ,g' | \
685 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
686 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
687 if ($$2 == $$4) files[d] = files[d] " " $$1; \
688 else { print "f", $$3 "/" $$4, $$1; } } \
689 END { for (d in files) print "f", d, files[d] }' | \
690 while read type dir files; do \
691 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
692 test -z "$$files" || { \
693 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
694 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
696 ; done
698 uninstall-binPROGRAMS:
699 @$(NORMAL_UNINSTALL)
700 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
701 files=`for p in $$list; do echo "$$p"; done | \
702 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
703 -e 's/$$/$(EXEEXT)/' \
704 `; \
705 test -n "$$list" || exit 0; \
706 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
707 cd "$(DESTDIR)$(bindir)" && rm -f $$files
709 clean-binPROGRAMS:
710 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
711 echo " rm -f" $$list; \
712 rm -f $$list || exit $$?; \
713 test -n "$(EXEEXT)" || exit 0; \
714 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
715 echo " rm -f" $$list; \
716 rm -f $$list
718 ppcg$(EXEEXT): $(ppcg_OBJECTS) $(ppcg_DEPENDENCIES) $(EXTRA_ppcg_DEPENDENCIES)
719 @rm -f ppcg$(EXEEXT)
720 $(AM_V_CCLD)$(LINK) $(ppcg_OBJECTS) $(ppcg_LDADD) $(LIBS)
722 mostlyclean-compile:
723 -rm -f *.$(OBJEXT)
725 distclean-compile:
726 -rm -f *.tab.c
728 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu.Po@am__quote@
729 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cuda.Po@am__quote@
730 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cuda_common.Po@am__quote@
731 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpu.Po@am__quote@
732 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpu_array_tile.Po@am__quote@
733 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpu_group.Po@am__quote@
734 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpu_print.Po@am__quote@
735 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpu_tree.Po@am__quote@
736 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opencl.Po@am__quote@
737 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ppcg.Po@am__quote@
738 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ppcg_options.Po@am__quote@
739 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/print.Po@am__quote@
740 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/schedule.Po@am__quote@
741 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
743 .c.o:
744 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
745 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
746 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
747 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
748 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
750 .c.obj:
751 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
752 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
753 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
754 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
755 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
757 .c.lo:
758 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
759 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
760 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
761 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
762 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
764 mostlyclean-libtool:
765 -rm -f *.lo
767 clean-libtool:
768 -rm -rf .libs _libs
770 distclean-libtool:
771 -rm -f libtool config.lt
773 # This directory's subdirectories are mostly independent; you can cd
774 # into them and run 'make' without going through this Makefile.
775 # To change the values of 'make' variables: instead of editing Makefiles,
776 # (1) if the variable is set in 'config.status', edit 'config.status'
777 # (which will cause the Makefiles to be regenerated when you run 'make');
778 # (2) otherwise, pass the desired values on the 'make' command line.
779 $(am__recursive_targets):
780 @fail=; \
781 if $(am__make_keepgoing); then \
782 failcom='fail=yes'; \
783 else \
784 failcom='exit 1'; \
785 fi; \
786 dot_seen=no; \
787 target=`echo $@ | sed s/-recursive//`; \
788 case "$@" in \
789 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
790 *) list='$(SUBDIRS)' ;; \
791 esac; \
792 for subdir in $$list; do \
793 echo "Making $$target in $$subdir"; \
794 if test "$$subdir" = "."; then \
795 dot_seen=yes; \
796 local_target="$$target-am"; \
797 else \
798 local_target="$$target"; \
799 fi; \
800 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
801 || eval $$failcom; \
802 done; \
803 if test "$$dot_seen" = "no"; then \
804 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
805 fi; test -z "$$fail"
807 ID: $(am__tagged_files)
808 $(am__define_uniq_tagged_files); mkid -fID $$unique
809 tags: tags-recursive
810 TAGS: tags
812 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
813 set x; \
814 here=`pwd`; \
815 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
816 include_option=--etags-include; \
817 empty_fix=.; \
818 else \
819 include_option=--include; \
820 empty_fix=; \
821 fi; \
822 list='$(SUBDIRS)'; for subdir in $$list; do \
823 if test "$$subdir" = .; then :; else \
824 test ! -f $$subdir/TAGS || \
825 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
826 fi; \
827 done; \
828 $(am__define_uniq_tagged_files); \
829 shift; \
830 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
831 test -n "$$unique" || unique=$$empty_fix; \
832 if test $$# -gt 0; then \
833 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
834 "$$@" $$unique; \
835 else \
836 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
837 $$unique; \
838 fi; \
840 ctags: ctags-recursive
842 CTAGS: ctags
843 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
844 $(am__define_uniq_tagged_files); \
845 test -z "$(CTAGS_ARGS)$$unique" \
846 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
847 $$unique
849 GTAGS:
850 here=`$(am__cd) $(top_builddir) && pwd` \
851 && $(am__cd) $(top_srcdir) \
852 && gtags -i $(GTAGS_ARGS) "$$here"
853 cscope: cscope.files
854 test ! -s cscope.files \
855 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
856 clean-cscope:
857 -rm -f cscope.files
858 cscope.files: clean-cscope cscopelist
859 cscopelist: cscopelist-recursive
861 cscopelist-am: $(am__tagged_files)
862 list='$(am__tagged_files)'; \
863 case "$(srcdir)" in \
864 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
865 *) sdir=$(subdir)/$(srcdir) ;; \
866 esac; \
867 for i in $$list; do \
868 if test -f "$$i"; then \
869 echo "$(subdir)/$$i"; \
870 else \
871 echo "$$sdir/$$i"; \
872 fi; \
873 done >> $(top_builddir)/cscope.files
875 distclean-tags:
876 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
877 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
879 # Recover from deleted '.trs' file; this should ensure that
880 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
881 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
882 # to avoid problems with "make -n".
883 .log.trs:
884 rm -f $< $@
885 $(MAKE) $(AM_MAKEFLAGS) $<
887 # Leading 'am--fnord' is there to ensure the list of targets does not
888 # expand to empty, as could happen e.g. with make check TESTS=''.
889 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
890 am--force-recheck:
893 $(TEST_SUITE_LOG): $(TEST_LOGS)
894 @$(am__set_TESTS_bases); \
895 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
896 redo_bases=`for i in $$bases; do \
897 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
898 done`; \
899 if test -n "$$redo_bases"; then \
900 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
901 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
902 if $(am__make_dryrun); then :; else \
903 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
904 fi; \
905 fi; \
906 if test -n "$$am__remaking_logs"; then \
907 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
908 "recursion detected" >&2; \
909 elif test -n "$$redo_logs"; then \
910 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
911 fi; \
912 if $(am__make_dryrun); then :; else \
913 st=0; \
914 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
915 for i in $$redo_bases; do \
916 test -f $$i.trs && test -r $$i.trs \
917 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
918 test -f $$i.log && test -r $$i.log \
919 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
920 done; \
921 test $$st -eq 0 || exit 1; \
923 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
924 ws='[ ]'; \
925 results=`for b in $$bases; do echo $$b.trs; done`; \
926 test -n "$$results" || results=/dev/null; \
927 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
928 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
929 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
930 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
931 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
932 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
933 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
934 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
935 success=true; \
936 else \
937 success=false; \
938 fi; \
939 br='==================='; br=$$br$$br$$br$$br; \
940 result_count () \
942 if test x"$$1" = x"--maybe-color"; then \
943 maybe_colorize=yes; \
944 elif test x"$$1" = x"--no-color"; then \
945 maybe_colorize=no; \
946 else \
947 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
948 fi; \
949 shift; \
950 desc=$$1 count=$$2; \
951 if test $$maybe_colorize = yes && test $$count -gt 0; then \
952 color_start=$$3 color_end=$$std; \
953 else \
954 color_start= color_end=; \
955 fi; \
956 echo "$${color_start}# $$desc $$count$${color_end}"; \
957 }; \
958 create_testsuite_report () \
960 result_count $$1 "TOTAL:" $$all "$$brg"; \
961 result_count $$1 "PASS: " $$pass "$$grn"; \
962 result_count $$1 "SKIP: " $$skip "$$blu"; \
963 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
964 result_count $$1 "FAIL: " $$fail "$$red"; \
965 result_count $$1 "XPASS:" $$xpass "$$red"; \
966 result_count $$1 "ERROR:" $$error "$$mgn"; \
967 }; \
969 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
970 $(am__rst_title); \
971 create_testsuite_report --no-color; \
972 echo; \
973 echo ".. contents:: :depth: 2"; \
974 echo; \
975 for b in $$bases; do echo $$b; done \
976 | $(am__create_global_log); \
977 } >$(TEST_SUITE_LOG).tmp || exit 1; \
978 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
979 if $$success; then \
980 col="$$grn"; \
981 else \
982 col="$$red"; \
983 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
984 fi; \
985 echo "$${col}$$br$${std}"; \
986 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
987 echo "$${col}$$br$${std}"; \
988 create_testsuite_report --maybe-color; \
989 echo "$$col$$br$$std"; \
990 if $$success; then :; else \
991 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
992 if test -n "$(PACKAGE_BUGREPORT)"; then \
993 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
994 fi; \
995 echo "$$col$$br$$std"; \
996 fi; \
997 $$success || exit 1
999 check-TESTS:
1000 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1001 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1002 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1003 @set +e; $(am__set_TESTS_bases); \
1004 log_list=`for i in $$bases; do echo $$i.log; done`; \
1005 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1006 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1007 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1008 exit $$?;
1009 recheck: all
1010 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1011 @set +e; $(am__set_TESTS_bases); \
1012 bases=`for i in $$bases; do echo $$i; done \
1013 | $(am__list_recheck_tests)` || exit 1; \
1014 log_list=`for i in $$bases; do echo $$i.log; done`; \
1015 log_list=`echo $$log_list`; \
1016 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1017 am__force_recheck=am--force-recheck \
1018 TEST_LOGS="$$log_list"; \
1019 exit $$?
1020 .sh.log:
1021 @p='$<'; \
1022 $(am__set_b); \
1023 $(am__check_pre) $(SH_LOG_DRIVER) --test-name "$$f" \
1024 --log-file $$b.log --trs-file $$b.trs \
1025 $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \
1026 "$$tst" $(AM_TESTS_FD_REDIRECT)
1027 @am__EXEEXT_TRUE@.sh$(EXEEXT).log:
1028 @am__EXEEXT_TRUE@ @p='$<'; \
1029 @am__EXEEXT_TRUE@ $(am__set_b); \
1030 @am__EXEEXT_TRUE@ $(am__check_pre) $(SH_LOG_DRIVER) --test-name "$$f" \
1031 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1032 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \
1033 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1035 distdir: $(DISTFILES)
1036 $(am__remove_distdir)
1037 test -d "$(distdir)" || mkdir "$(distdir)"
1038 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1039 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1040 list='$(DISTFILES)'; \
1041 dist_files=`for file in $$list; do echo $$file; done | \
1042 sed -e "s|^$$srcdirstrip/||;t" \
1043 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1044 case $$dist_files in \
1045 */*) $(MKDIR_P) `echo "$$dist_files" | \
1046 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1047 sort -u` ;; \
1048 esac; \
1049 for file in $$dist_files; do \
1050 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1051 if test -d $$d/$$file; then \
1052 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1053 if test -d "$(distdir)/$$file"; then \
1054 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1055 fi; \
1056 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1057 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1058 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1059 fi; \
1060 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1061 else \
1062 test -f "$(distdir)/$$file" \
1063 || cp -p $$d/$$file "$(distdir)/$$file" \
1064 || exit 1; \
1065 fi; \
1066 done
1067 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1068 if test "$$subdir" = .; then :; else \
1069 $(am__make_dryrun) \
1070 || test -d "$(distdir)/$$subdir" \
1071 || $(MKDIR_P) "$(distdir)/$$subdir" \
1072 || exit 1; \
1073 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1074 $(am__relativize); \
1075 new_distdir=$$reldir; \
1076 dir1=$$subdir; dir2="$(top_distdir)"; \
1077 $(am__relativize); \
1078 new_top_distdir=$$reldir; \
1079 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1080 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1081 ($(am__cd) $$subdir && \
1082 $(MAKE) $(AM_MAKEFLAGS) \
1083 top_distdir="$$new_top_distdir" \
1084 distdir="$$new_distdir" \
1085 am__remove_distdir=: \
1086 am__skip_length_check=: \
1087 am__skip_mode_fix=: \
1088 distdir) \
1089 || exit 1; \
1090 fi; \
1091 done
1092 $(MAKE) $(AM_MAKEFLAGS) \
1093 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1094 dist-hook
1095 -test -n "$(am__skip_mode_fix)" \
1096 || find "$(distdir)" -type d ! -perm -755 \
1097 -exec chmod u+rwx,go+rx {} \; -o \
1098 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1099 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1100 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1101 || chmod -R a+r "$(distdir)"
1102 dist-gzip: distdir
1103 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1104 $(am__post_remove_distdir)
1106 dist-bzip2: distdir
1107 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1108 $(am__post_remove_distdir)
1110 dist-lzip: distdir
1111 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1112 $(am__post_remove_distdir)
1114 dist-xz: distdir
1115 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1116 $(am__post_remove_distdir)
1118 dist-tarZ: distdir
1119 @echo WARNING: "Support for distribution archives compressed with" \
1120 "legacy program 'compress' is deprecated." >&2
1121 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1122 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1123 $(am__post_remove_distdir)
1125 dist-shar: distdir
1126 @echo WARNING: "Support for shar distribution archives is" \
1127 "deprecated." >&2
1128 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1129 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1130 $(am__post_remove_distdir)
1132 dist-zip: distdir
1133 -rm -f $(distdir).zip
1134 zip -rq $(distdir).zip $(distdir)
1135 $(am__post_remove_distdir)
1137 dist dist-all:
1138 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1139 $(am__post_remove_distdir)
1141 # This target untars the dist file and tries a VPATH configuration. Then
1142 # it guarantees that the distribution is self-contained by making another
1143 # tarfile.
1144 distcheck: dist
1145 case '$(DIST_ARCHIVES)' in \
1146 *.tar.gz*) \
1147 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1148 *.tar.bz2*) \
1149 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1150 *.tar.lz*) \
1151 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1152 *.tar.xz*) \
1153 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1154 *.tar.Z*) \
1155 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1156 *.shar.gz*) \
1157 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1158 *.zip*) \
1159 unzip $(distdir).zip ;;\
1160 esac
1161 chmod -R a-w $(distdir)
1162 chmod u+w $(distdir)
1163 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1164 chmod a-w $(distdir)
1165 test -d $(distdir)/_build || exit 0; \
1166 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1167 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1168 && am__cwd=`pwd` \
1169 && $(am__cd) $(distdir)/_build/sub \
1170 && ../../configure \
1171 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1172 $(DISTCHECK_CONFIGURE_FLAGS) \
1173 --srcdir=../.. --prefix="$$dc_install_base" \
1174 && $(MAKE) $(AM_MAKEFLAGS) \
1175 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1176 && $(MAKE) $(AM_MAKEFLAGS) check \
1177 && $(MAKE) $(AM_MAKEFLAGS) install \
1178 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1179 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1180 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1181 distuninstallcheck \
1182 && chmod -R a-w "$$dc_install_base" \
1183 && ({ \
1184 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1185 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1186 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1187 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1188 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1189 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1190 && rm -rf "$$dc_destdir" \
1191 && $(MAKE) $(AM_MAKEFLAGS) dist \
1192 && rm -rf $(DIST_ARCHIVES) \
1193 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1194 && cd "$$am__cwd" \
1195 || exit 1
1196 $(am__post_remove_distdir)
1197 @(echo "$(distdir) archives ready for distribution: "; \
1198 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1199 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1200 distuninstallcheck:
1201 @test -n '$(distuninstallcheck_dir)' || { \
1202 echo 'ERROR: trying to run $@ with an empty' \
1203 '$$(distuninstallcheck_dir)' >&2; \
1204 exit 1; \
1205 }; \
1206 $(am__cd) '$(distuninstallcheck_dir)' || { \
1207 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1208 exit 1; \
1209 }; \
1210 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1211 || { echo "ERROR: files left after uninstall:" ; \
1212 if test -n "$(DESTDIR)"; then \
1213 echo " (check DESTDIR support)"; \
1214 fi ; \
1215 $(distuninstallcheck_listfiles) ; \
1216 exit 1; } >&2
1217 distcleancheck: distclean
1218 @if test '$(srcdir)' = . ; then \
1219 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1220 exit 1 ; \
1222 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1223 || { echo "ERROR: files left in build directory after distclean:" ; \
1224 $(distcleancheck_listfiles) ; \
1225 exit 1; } >&2
1226 check-am: all-am
1227 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1228 check: check-recursive
1229 all-am: Makefile $(PROGRAMS)
1230 installdirs: installdirs-recursive
1231 installdirs-am:
1232 for dir in "$(DESTDIR)$(bindir)"; do \
1233 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1234 done
1235 install: install-recursive
1236 install-exec: install-exec-recursive
1237 install-data: install-data-recursive
1238 uninstall: uninstall-recursive
1240 install-am: all-am
1241 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1243 installcheck: installcheck-recursive
1244 install-strip:
1245 if test -z '$(STRIP)'; then \
1246 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1247 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1248 install; \
1249 else \
1250 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1251 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1252 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1254 mostlyclean-generic:
1255 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1256 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1257 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1259 clean-generic:
1261 distclean-generic:
1262 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1263 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1265 maintainer-clean-generic:
1266 @echo "This command is intended for maintainers to use"
1267 @echo "it deletes files that may require special tools to rebuild."
1268 clean: clean-recursive
1270 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
1272 distclean: distclean-recursive
1273 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1274 -rm -rf ./$(DEPDIR)
1275 -rm -f Makefile
1276 distclean-am: clean-am distclean-compile distclean-generic \
1277 distclean-libtool distclean-tags
1279 dvi: dvi-recursive
1281 dvi-am:
1283 html: html-recursive
1285 html-am:
1287 info: info-recursive
1289 info-am:
1291 install-data-am:
1293 install-dvi: install-dvi-recursive
1295 install-dvi-am:
1297 install-exec-am: install-binPROGRAMS
1299 install-html: install-html-recursive
1301 install-html-am:
1303 install-info: install-info-recursive
1305 install-info-am:
1307 install-man:
1309 install-pdf: install-pdf-recursive
1311 install-pdf-am:
1313 install-ps: install-ps-recursive
1315 install-ps-am:
1317 installcheck-am:
1319 maintainer-clean: maintainer-clean-recursive
1320 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1321 -rm -rf $(top_srcdir)/autom4te.cache
1322 -rm -rf ./$(DEPDIR)
1323 -rm -f Makefile
1324 maintainer-clean-am: distclean-am maintainer-clean-generic
1326 mostlyclean: mostlyclean-recursive
1328 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1329 mostlyclean-libtool
1331 pdf: pdf-recursive
1333 pdf-am:
1335 ps: ps-recursive
1337 ps-am:
1339 uninstall-am: uninstall-binPROGRAMS
1341 .MAKE: $(am__recursive_targets) check-am install-am install-strip
1343 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1344 am--refresh check check-TESTS check-am clean clean-binPROGRAMS \
1345 clean-cscope clean-generic clean-libtool cscope cscopelist-am \
1346 ctags ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \
1347 dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
1348 distclean distclean-compile distclean-generic \
1349 distclean-libtool distclean-tags distcleancheck distdir \
1350 distuninstallcheck dvi dvi-am html html-am info info-am \
1351 install install-am install-binPROGRAMS install-data \
1352 install-data-am install-dvi install-dvi-am install-exec \
1353 install-exec-am install-html install-html-am install-info \
1354 install-info-am install-man install-pdf install-pdf-am \
1355 install-ps install-ps-am install-strip installcheck \
1356 installcheck-am installdirs installdirs-am maintainer-clean \
1357 maintainer-clean-generic mostlyclean mostlyclean-compile \
1358 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1359 recheck tags tags-am uninstall uninstall-am \
1360 uninstall-binPROGRAMS
1362 .PRECIOUS: Makefile
1365 FORCE:
1366 isl/libisl.la: FORCE
1367 cd isl; $(MAKE) $(AM_MAKEFLAGS) libisl.la
1368 pet/libpet.la: FORCE
1369 cd pet; $(MAKE) $(AM_MAKEFLAGS) libpet.la
1371 dist-hook:
1372 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
1374 gitversion.h: @GIT_HEAD@
1375 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
1377 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1378 # Otherwise a system limit (for SysV at least) may be exceeded.
1379 .NOEXPORT: