2 # /**------- <| --------------------------------------------------------**
4 # **--- /.\ -----------------------------------------------------**
5 # ** <| [""M# makefile.am **
6 # **- A | # -----------------------------------------------------**
7 # ** /.\ [""M# First version: 30/04/2008 **
8 # **- [""M# | # U"U#U -----------------------------------------------**
11 # ****** | "--' .-" *****************************************************
12 # * |"-"-"-"-"-#-#-## Clan : the Chunky Loop Analyser (experimental) *
13 # **** | # ## ###### ****************************************************
15 # * \ ::::'/ Copyright (C) 2008 Cedric Bastoul *
17 # * ::88a ### This is free software; you can redistribute it *
18 # * ::::888a 8a ##::. and/or modify it under the terms of the GNU *
19 # * ::::::::888a88a[]::: Lesser General Public License as published by *
20 # *::8:::::::::SUNDOGa8a::. the Free Software Foundation, either version 3 of *
21 # *::::::::8::::888:Y8888:: the License, or (at your option) *
22 # *::::':::88::::888::Y88a::::::::::::... any later version. *
23 # *::'::.. . ..... .. ... . *
24 # * This software is distributed in the hope that it will be useful, but *
25 # * WITHOUT ANY WARRANTY; without even the implied warranty of *
26 # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
27 # * Public License for more details. *
29 # * You should have received a copy of the GNU Lesser General Public *
30 # * License along with software; if not, write to the Free Software *
31 # * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
33 # * Clan, the Chunky Loop Analyser *
34 # * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr *
36 # *****************************************************************************/
38 # Makefile.am (or makefile if generated) of Clan, the Chunky Loop Analyser.
39 # Makefile.am is not a makefile, you must run the 'autogen.sh' THEN the
40 # configure shellscript to generate the Makefile thanks to this file.
43 #############################################################################
46 #############################################################################
48 MAINTAINERCLEANFILES = Makefile.in
50 TESTS_ENVIRONMENT = top_builddir=$(top_builddir) SRCDIR=$(srcdir)
52 #############################################################################
54 EXTRA_DIST = checker.sh
56 check_SCRIPTS = check_unitary.sh check_complex.sh
58 ## Replace by program names when needed
59 # check_PROGRAMS = ...
60 TESTS = $(check_SCRIPTS)
63 $(top_srcdir)/tests/ax-do.c \
64 $(top_srcdir)/tests/gauss.c \
65 $(top_srcdir)/tests/gemver.c \
66 $(top_srcdir)/tests/iir_4_64.c \
67 $(top_srcdir)/tests/matmul.c \
68 $(top_srcdir)/tests/swim.c
70 UNITARY_TEST_FILES = \
71 $(top_srcdir)/tests/unitary/classicloop.c \
72 $(top_srcdir)/tests/unitary/simpleloop.c \
73 $(top_srcdir)/tests/unitary/basicnest.c \
74 $(top_srcdir)/tests/unitary/empty.c \
75 $(top_srcdir)/tests/unitary/simplecond.c \
76 $(top_srcdir)/tests/unitary/twoconds.c \
77 $(top_srcdir)/tests/unitary/twocondincond.c \
78 $(top_srcdir)/tests/unitary/complexcond.c \
79 $(top_srcdir)/tests/unitary/multiparenthcond.c \
80 $(top_srcdir)/tests/unitary/maxloopsimple.c \
81 $(top_srcdir)/tests/unitary/maxloopcomplex.c \
82 $(top_srcdir)/tests/unitary/minloopsimple.c \
83 $(top_srcdir)/tests/unitary/minloopcomplex.c \
84 $(top_srcdir)/tests/unitary/minmax.c \
85 $(top_srcdir)/tests/unitary/negassign.c \
86 $(top_srcdir)/tests/unitary/binop.c \
87 $(top_srcdir)/tests/unitary/complexop.c \
88 $(top_srcdir)/tests/unitary/complexprog.c \
89 $(top_srcdir)/tests/unitary/noloop.c \
90 $(top_srcdir)/tests/unitary/noloop2.c \
91 $(top_srcdir)/tests/unitary/ternary.c \
92 $(top_srcdir)/tests/unitary/functioncall.c \
93 $(top_srcdir)/tests/unitary/functioncall2.c \
94 $(top_srcdir)/tests/unitary/redefiter.c \
95 $(top_srcdir)/tests/unitary/comments.c \
96 $(top_srcdir)/tests/unitary/underscore.c \
97 $(top_srcdir)/tests/unitary/parenthesis.c \
98 $(top_srcdir)/tests/unitary/intaddit.c \
99 $(top_srcdir)/tests/unitary/assigniter.c \
100 $(top_srcdir)/tests/unitary/assigniter2.c \
101 $(top_srcdir)/tests/unitary/increment.c \
102 $(top_srcdir)/tests/unitary/field.c \
103 $(top_srcdir)/tests/unitary/object.c \
104 $(top_srcdir)/tests/unitary/nestedcurly.c \
105 $(top_srcdir)/tests/unitary/float.c
108 TEST_FILES_REF = $(TEST_FILES:.c=.c.scop)
109 UNITARY_TEST_FILES_REF = $(UNITARY_TEST_FILES:.c=.c.scop)
111 TEST_FILES_CLEAN = $(TEST_FILES:.c=.c.test)
112 UNITARY_TEST_FILES_CLEAN = $(UNITARY_TEST_FILES:.c=.c.test)
116 $(TEST_FILES_CLEAN) \
117 $(UNITARY_TEST_FILES_CLEAN)
123 $(UNITARY_TEST_FILES) \
124 $(UNITARY_TEST_FILES_REF) \
128 TESTS_ENVIRONMENT += \
129 CHECKER="$(top_srcdir)/tests/checker.sh" \
130 TEST_FILES="$(TEST_FILES)" \
131 UNITARY_TEST_FILES="$(UNITARY_TEST_FILES)"