avoid use of matrices in source/program.c
[cloog.git] / Makefile.am
blobc7cfa92c4d60628d5904dfad7174a80d848807d0
2 #   /**-------------------------------------------------------------------**
3 #    **                              CLooG                                **
4 #    **-------------------------------------------------------------------**
5 #    **                           makefile.in                             **
6 #    **-------------------------------------------------------------------**
7 #    **                   First version: october 25th 2001                **
8 #    **-------------------------------------------------------------------**/
10 # makefile.in (or makefile if generated) of CLooG, the Chunky LOOp Generator.
11 # makefile.in is not a makefile, you must run the 'configure' shellscript to
12 # generate the makefile thanks to this file.
14 #/*****************************************************************************
15 # *               CLooG : the Chunky Loop Generator (experimental)            *
16 # *****************************************************************************
17 # *                                                                           *
18 # * Copyright (C) 2001 Cedric Bastoul                                         *
19 # *                                                                           *
20 # * This is free software; you can redistribute it and/or modify it under the *
21 # * terms of the GNU General Public License as published by the Free Software *
22 # * Foundation; either version 2 of the License, or (at your option) any      *
23 # * later version.                                                            *
24 # *                                                                           *
25 # * This software is distributed in the hope that it will be useful, but      *
26 # * WITHOUT ANY WARRANTY; without even the implied warranty of                *
27 # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General *
28 # * Public License for more details.                                          *
29 # *                                                                           *
30 # * You should have received a copy of the GNU General Public License along   *
31 # * with software; if not, write to the Free Software Foundation, Inc.,       *
32 # * 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA                    *
33 # *                                                                           *
34 # * CLooG, the Chunky Loop Generator                                          *
35 # * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr                        *
36 # *                                                                           *
37 # *****************************************************************************/
39 SUBDIRS = . doc test
41 bin_PROGRAMS = cloog
42 lib_LTLIBRARIES = libcloog.la
44 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
45 AM_CFLAGS = -Wall
46 libcloog_la_SOURCES = \
47         source/block.c \
48         source/clast.c \
49         source/polylib/domain.c \
50         source/loop.c \
51         source/matrix.c \
52         source/names.c \
53         source/options.c \
54         source/pprint.c \
55         source/program.c \
56         source/statement.c \
57         source/version.c
58 LDADD = libcloog.la
59 cloog_SOURCES = source/cloog.c
61 pkginclude_HEADERS = \
62         include/cloog/block.h \
63         include/cloog/clast.h \
64         include/cloog/cloog.h \
65         include/cloog/domain.h \
66         include/cloog/loop.h \
67         include/cloog/matrix.h \
68         include/cloog/names.h \
69         include/cloog/options.h \
70         include/cloog/pprint.h \
71         include/cloog/program.h \
72         include/cloog/statement.h \
73         include/cloog/version.h
75 pkgpolylibincludedir = $(pkgincludedir)/polylib
76 pkgpolylibinclude_HEADERS = \
77         include/cloog/polylib/cloog.h \
78         include/cloog/polylib/domain.h
80 version.h: @GIT_INDEX@
81         echo '#define CLOOG_HEAD "'`$(top_builddir)/genversion.sh`'"' > $@
83 EXTRA_DIST = autoconf/Doxyfile.in doc/images test examples
85 dist-hook:
86         rm -f $(distdir)/test/Makefile
87         $(top_builddir)/genversion.sh > $(distdir)/CLOOG_HEAD
88         (cd doc; make cloog.pdf) && cp doc/cloog.pdf $(distdir)/doc/
90 #/*****************************************************************************
91 # *                                   Rules                                   *
92 # *****************************************************************************/
94 check:
95         $(MAKE) test -C test
97 valcheck:
98         $(MAKE) valgrind -C test
100 total:
101         @echo "             /*-----------------------------------------------*"
102         @echo "              *                     CLooG                     *"
103         @echo "              *-----------------------------------------------*/"
104         $(MAKE) uninstall
105         $(MAKE) clean
106         $(MAKE)
107         $(MAKE) install
109 doc:
110         @echo "             /*-----------------------------------------------*"
111         @echo "              *        Generating CLooG's documentation       *"
112         @echo "              *-----------------------------------------------*/"
113         doxygen ./autoconf/Doxyfile