1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
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
18 # /**-------------------------------------------------------------------**
20 # **-------------------------------------------------------------------**
22 # **-------------------------------------------------------------------**
23 # ** First version: march 6th 2003 **
24 # **-------------------------------------------------------------------**/
26 # makefile for checking.
28 #/*****************************************************************************
29 # * CLooG : the Chunky Loop Generator (experimental) *
30 # *****************************************************************************
32 # * Copyright (C) 2003 Cedric Bastoul *
34 # * This is free software; you can redistribute it and/or modify it under the *
35 # * terms of the GNU General Public License as published by the Free Software *
36 # * Foundation; either version 2 of the License, or (at your option) any *
39 # * This software is distributed in the hope that it will be useful, but *
40 # * WITHOUT ANY WARRANTY; without even the implied warranty of *
41 # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
42 # * Public License for more details. *
44 # * You should have received a copy of the GNU General Public License along *
45 # * with software; if not, write to the Free Software Foundation, Inc., *
46 # * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
48 # * CLooG, the Chunky Loop Generator *
49 # * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr *
50 # * This file has been written with the help of the Bart Kienhuis's checking *
51 # * makefile for PipLib. *
53 # *****************************************************************************/
55 top_srcdir = @top_srcdir@
57 pkgdatadir = $(datadir)/@PACKAGE@
58 pkglibdir = $(libdir)/@PACKAGE@
59 pkgincludedir = $(includedir)/@PACKAGE@
61 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
62 install_sh_DATA = $(install_sh) -c -m 644
63 install_sh_PROGRAM = $(install_sh) -c
64 install_sh_SCRIPT = $(install_sh) -c
65 INSTALL_HEADER = $(INSTALL_DATA)
66 transform = $(program_transform_name)
73 build_triplet = @build@
76 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
77 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
79 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
80 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
81 $(top_srcdir)/configure.in
82 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
84 mkinstalldirs = $(SHELL) $(top_srcdir)/autoconf/mkinstalldirs
85 CONFIG_HEADER = $(top_builddir)/include/cloog/cloog-config.h
89 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
92 AMDEP_FALSE = @AMDEP_FALSE@
93 AMDEP_TRUE = @AMDEP_TRUE@
97 AUTOHEADER = @AUTOHEADER@
102 CCDEPMODE = @CCDEPMODE@
105 CLOOG_VERSION_BETA = @CLOOG_VERSION_BETA@
106 CLOOG_VERSION_MAJOR = @CLOOG_VERSION_MAJOR@
107 CLOOG_VERSION_MINOR = @CLOOG_VERSION_MINOR@
108 CLOOG_VERSION_REVISION = @CLOOG_VERSION_REVISION@
110 CPPFLAGS = @CPPFLAGS@
111 CYGPATH_W = @CYGPATH_W@
114 DSYMUTIL = @DSYMUTIL@
122 GIT_INDEX = @GIT_INDEX@
124 INSTALL_DATA = @INSTALL_DATA@
125 INSTALL_PROGRAM = @INSTALL_PROGRAM@
126 INSTALL_SCRIPT = @INSTALL_SCRIPT@
127 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
135 LTLIBOBJS = @LTLIBOBJS@
136 MAKEINFO = @MAKEINFO@
144 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
145 PACKAGE_NAME = @PACKAGE_NAME@
146 PACKAGE_STRING = @PACKAGE_STRING@
147 PACKAGE_TARNAME = @PACKAGE_TARNAME@
148 PACKAGE_URL = @PACKAGE_URL@
149 PACKAGE_VERSION = @PACKAGE_VERSION@
150 PATH_SEPARATOR = @PATH_SEPARATOR@
151 POLYHEDRAL_BACKEND = @POLYHEDRAL_BACKEND@
152 POLYLIB_CPPFLAGS = @POLYLIB_CPPFLAGS@
153 POLYLIB_LDFLAGS = @POLYLIB_LDFLAGS@
154 POLYLIB_LIBS = @POLYLIB_LIBS@
155 PPL_CPPFLAGS = @PPL_CPPFLAGS@
156 PPL_LDFLAGS = @PPL_LDFLAGS@
157 PPL_LIBS = @PPL_LIBS@
160 SET_MAKE = @SET_MAKE@
165 ac_ct_CC = @ac_ct_CC@
166 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
167 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
168 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
169 am__include = @am__include@
170 am__leading_dot = @am__leading_dot@
171 am__quote = @am__quote@
173 am__untar = @am__untar@
176 build_alias = @build_alias@
177 build_cpu = @build_cpu@
178 build_os = @build_os@
179 build_vendor = @build_vendor@
180 cl_cv_polylib = @cl_cv_polylib@
182 datarootdir = @datarootdir@
185 exec_prefix = @exec_prefix@
187 host_alias = @host_alias@
188 host_cpu = @host_cpu@
190 host_vendor = @host_vendor@
192 includedir = @includedir@
194 install_sh = @install_sh@
196 libexecdir = @libexecdir@
197 localedir = @localedir@
198 localstatedir = @localstatedir@
202 oldincludedir = @oldincludedir@
205 program_transform_name = @program_transform_name@
208 sharedstatedir = @sharedstatedir@
209 sysconfdir = @sysconfdir@
211 target_alias = @target_alias@
270 square+triangle-1-1-2-3 \
281 ./non_optimal/nul_complex1 \
282 ./non_optimal/usvd_e_t \
283 ./non_optimal/youcef \
284 ./reservoir/cholesky2 \
285 ./reservoir/fusion1 \
286 ./reservoir/fusion2 \
287 ./reservoir/jacobi2 \
288 ./reservoir/jacobi3 \
289 ./reservoir/lim-lam1 \
290 ./reservoir/lim-lam2 \
291 ./reservoir/lim-lam3 \
292 ./reservoir/lim-lam4 \
293 ./reservoir/lim-lam5 \
294 ./reservoir/lim-lam6 \
295 ./reservoir/liu-zhuge1 \
296 ./reservoir/loechner3 \
297 ./reservoir/loechner4 \
298 ./reservoir/loechner5 \
299 ./reservoir/mg-interp2 \
300 ./reservoir/mg-interp \
301 ./reservoir/mg-psinv \
302 ./reservoir/mg-resid \
303 ./reservoir/mg-rprj3 \
304 ./reservoir/pingali1 \
305 ./reservoir/pingali2 \
306 ./reservoir/pingali3 \
307 ./reservoir/pingali4 \
308 ./reservoir/pingali5 \
309 ./reservoir/pingali6 \
311 ./reservoir/tang-xue1 \
317 CLOOGTEST_FORTRAN = \
323 CLOOGTEST_STRIDED = \
336 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
338 case '$(am__configure_deps)' in \
340 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
345 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \
346 cd $(top_srcdir) && \
347 $(AUTOMAKE) --foreign test/Makefile
349 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
352 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
354 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
355 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
358 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
359 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
361 $(top_srcdir)/configure: $(am__configure_deps)
362 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
363 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
364 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
382 distdir: $(DISTFILES)
383 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
384 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
385 list='$(DISTFILES)'; for file in $$list; do \
387 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
388 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
390 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
391 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
392 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
394 $(mkdir_p) "$(distdir)$$dir"; \
398 if test -d $$d/$$file; then \
399 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
400 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
402 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
404 test -f $(distdir)/$$file \
405 || cp -p $$d/$$file $(distdir)/$$file \
414 install-exec: install-exec-am
415 install-data: install-data-am
416 uninstall: uninstall-am
419 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
421 installcheck: installcheck-am
423 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
424 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
425 `test -z '$(STRIP)' || \
426 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
432 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
434 maintainer-clean-generic:
435 @echo "This command is intended for maintainers to use"
436 @echo "it deletes files that may require special tools to rebuild."
439 clean-am: clean-generic clean-libtool mostlyclean-am
441 distclean: distclean-am
443 distclean-am: clean-am distclean-generic distclean-libtool
459 install-info: install-info-am
465 maintainer-clean: maintainer-clean-am
467 maintainer-clean-am: distclean-am maintainer-clean-generic
469 mostlyclean: mostlyclean-am
471 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
481 uninstall-am: uninstall-info-am
483 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
484 distclean distclean-generic distclean-libtool distdir dvi \
485 dvi-am html html-am info info-am install install-am \
486 install-data install-data-am install-exec install-exec-am \
487 install-info install-info-am install-man install-strip \
488 installcheck installcheck-am installdirs maintainer-clean \
489 maintainer-clean-generic mostlyclean mostlyclean-generic \
490 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
495 @echo " /*-----------------------------------------------*"
496 @echo " * Generate files *"
497 @echo " *-----------------------------------------------*/"
498 for x in $(CLOOGTEST_C) ; do \
499 echo "Generate $$x.c" ; \
500 cloog $$x.cloog -o $$x.c ; \
502 for x in $(CLOOGTEST_FORTRAN) ; do \
503 echo "Generate $$x.f" ; \
504 cloog $$x.cloog -o $$x.f ; \
508 @echo " /*-----------------------------------------------*"
509 @echo " * Checking files by Valgrind *"
510 @echo " *-----------------------------------------------*/"
511 for x in $(CLOOGTEST_C) ; do \
512 echo "Valgrinding $$x.c" ; \
513 valgrind $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog ; \
515 for x in $(CLOOGTEST_FORTRAN) ; do \
516 echo "Valgrinding $$x.f" ; \
517 valgrind $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog ; \
521 @echo " /*-----------------------------------------------*"
522 @echo " * Testing CLooG *"
523 @echo " *-----------------------------------------------*/"
525 echo "--- Testing C files..." ; \
526 for x in $(CLOOGTEST_C) ; do \
527 echo "Verify file $$x" ; \
528 $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog > ttemp ; \
529 diff -w --ignore-matching-lines='CLooG' ttemp $(srcdir)/$$x.c.@POLYHEDRAL_BACKEND@ ; \
531 if [ "$$result" -ne "0" ] ; then \
532 echo "!!! Error: $$x is not the same" ; \
533 failedtest=`expr $$failedtest + 1` ; \
535 echo "$$x passed" ; \
538 echo "--- Testing FORTRAN files..." ; \
539 for x in $(CLOOGTEST_FORTRAN) ; do \
540 echo "Verify file $$x" ; \
541 $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog > ttemp ; \
542 diff -w --ignore-matching-lines='CLooG' ttemp $(srcdir)/$$x.f.@POLYHEDRAL_BACKEND@ ; \
544 if [ "$$result" -ne "0" ] ; then \
545 echo "!!! Error: $$x is not the same" ; \
546 failedtest=`expr $$failedtest + 1` ; \
548 echo "$$x passed" ; \
551 echo "--- Testing STRIDED files..." ; \
552 for x in $(CLOOGTEST_STRIDED) ; do \
553 echo "Verify file $$x" ; \
554 $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog \
555 -strides 1 > ttemp ; \
556 diff -w --ignore-matching-lines='CLooG' ttemp $(srcdir)/$$x.c.@POLYHEDRAL_BACKEND@ ; \
558 if [ "$$result" -ne "0" ] ; then \
559 echo "!!! Error: $$x is not the same" ; \
560 failedtest=`expr $$failedtest + 1` ; \
562 echo "$$x passed" ; \
565 echo "--- Testing SPECIAL OPTIONS files..." ; \
566 echo "Verify file vasilache (-f 8 -l 9)" ; \
568 $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog \
569 -f 8 -l 9 > ttemp ; \
570 diff -w --ignore-matching-lines='CLooG' ttemp $(srcdir)/$$x.c.@POLYHEDRAL_BACKEND@ ; \
572 if [ "$$result" -ne "0" ] ; then \
573 echo "!!! Error: $$x is not the same" ; \
574 failedtest=`expr $$failedtest + 1` ; \
576 echo "$$x passed" ; \
578 echo "Verify file merge (-f -1)" ; \
580 $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog \
582 diff -w --ignore-matching-lines='CLooG' ttemp $(srcdir)/$$x.c.@POLYHEDRAL_BACKEND@ ; \
584 if [ "$$result" -ne "0" ] ; then \
585 echo "!!! Error: $$x is not the same" ; \
586 failedtest=`expr $$failedtest + 1` ; \
588 echo "$$x passed" ; \
590 echo "Verify file equality (-f -1 -l 2 -override)" ; \
592 $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog \
593 -f -1 -l 2 -override > ttemp ; \
594 diff -w --ignore-matching-lines='CLooG' ttemp $(srcdir)/$$x.c.@POLYHEDRAL_BACKEND@ ; \
596 if [ "$$result" -ne "0" ] ; then \
597 echo "!!! Error: $$x is not the same" ; \
598 failedtest=`expr $$failedtest + 1` ; \
600 echo "$$x passed" ; \
602 echo "Verify file equality (-f -1 -l 4 -esp 1 -override)" ; \
604 $(top_builddir)/cloog$(EXEEXT) $(srcdir)/$$x.cloog \
605 -f -1 -l 4 -esp 1 -override > ttemp ; \
606 diff -w --ignore-matching-lines='CLooG' ttemp $(srcdir)/$$x.c.@POLYHEDRAL_BACKEND@ ; \
608 if [ "$$result" -ne "0" ] ; then \
609 echo "!!! Error: $$x is not the same" ; \
610 failedtest=`expr $$failedtest + 1` ; \
612 echo "$$x passed" ; \
615 if [ $$failedtest != 0 ] ; then \
616 echo "$$failedtest tests failed" ; \
618 echo "CLooG works correctly :-) !" ; \
620 # Tell versions [3.59,3.63) of GNU make to not export all variables.
621 # Otherwise a system limit (for SysV at least) may be exceeded.