Change semantics of cloog_domain_cut_first
[cloog/uuh.git] / Makefile.am
blobcd372ce2f0f596f44183332e26e851413b409d03
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 ACLOCAL_AMFLAGS = -I m4
43 bin_PROGRAMS = cloog
44 lib_LTLIBRARIES = @CLOOG_LIBRARIES@
45 EXTRA_LTLIBRARIES = libcloog-polylib.la
47 SOURCES_CORE = \
48         source/block.c \
49         source/clast.c \
50         source/int.c \
51         source/loop.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
59 # avoid -I$(top_builddir)/include/cloog ending up in DEFAULT_INCLUDES
60 # as that may result in polylib/matrix.h confusion
61 DEFAULT_INCLUDES = -I.
62 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
63 AM_CFLAGS = -Wall
64 libcloog_polylib_la_SOURCES = \
65         $(SOURCES_CORE) \
66         source/polylib/domain.c \
67         source/polylib/domain.h \
68         source/polylib/matrix.c \
69         source/polylib/backend_options.c
70 LDADD = libcloog-@BACKEND@.la
71 cloog_DEPENDENCIES = libcloog-@BACKEND@.la
72 cloog_SOURCES = source/cloog.c
74 pkginclude_HEADERS = \
75         include/cloog/block.h \
76         include/cloog/clast.h \
77         include/cloog/cloog.h \
78         include/cloog/domain.h \
79         include/cloog/loop.h \
80         include/cloog/constraints.h \
81         include/cloog/names.h \
82         include/cloog/options.h \
83         include/cloog/pprint.h \
84         include/cloog/program.h \
85         include/cloog/statement.h \
86         include/cloog/version.h
87 nodist_pkginclude_HEADERS = \
88         include/cloog/int.h
90 pkgpolylibincludedir = $(pkgincludedir)/polylib
91 pkgpolylibinclude_HEADERS = \
92         include/cloog/polylib/domain.h \
93         include/cloog/polylib/matrix.h \
94         include/cloog/polylib/options.h
95 nodist_pkgpolylibinclude_HEADERS = \
96         include/cloog/polylib/cloog.h
98 version.h: @GIT_INDEX@
99         echo '#define CLOOG_HEAD "'`$(top_builddir)/genversion.sh`'"' > $@
101 EXTRA_DIST = autoconf/Doxyfile.in doc/images examples
103 dist-hook:
104         rm -f $(distdir)/test/Makefile
105         $(top_builddir)/genversion.sh > $(distdir)/CLOOG_HEAD
106         (cd doc; make cloog.pdf) && cp doc/cloog.pdf $(distdir)/doc/
108 #/*****************************************************************************
109 # *                                   Rules                                   *
110 # *****************************************************************************/
112 check:
113         $(MAKE) test -C test
115 valcheck:
116         $(MAKE) valgrind -C test
118 total:
119         @echo "             /*-----------------------------------------------*"
120         @echo "              *                     CLooG                     *"
121         @echo "              *-----------------------------------------------*/"
122         $(MAKE) uninstall
123         $(MAKE) clean
124         $(MAKE)
125         $(MAKE) install
127 doc:
128         @echo "             /*-----------------------------------------------*"
129         @echo "              *        Generating CLooG's documentation       *"
130         @echo "              *-----------------------------------------------*/"
131         doxygen ./autoconf/Doxyfile