run indent, no other changes
[cloog-ppl.git] / Makefile.am
blob1f118f33c6fc8f6dddd9fd0a562b9af3ff97882d
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 -fomit-frame-pointer
46 libcloog_la_SOURCES = \
47         source/block.c \
48         source/loop.c \
49         source/names.c \
50         source/options.c \
51         source/@POLYHEDRAL_BACKEND@/clast.c \
52         source/@POLYHEDRAL_BACKEND@/domain.c \
53         source/@POLYHEDRAL_BACKEND@/matrix.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/names.h \
68         include/cloog/options.h \
69         include/cloog/pprint.h \
70         include/cloog/program.h \
71         include/cloog/statement.h \
72         include/cloog/version.h
74 version.h: @GIT_INDEX@
75         echo '#define CLOOG_HEAD "'`$(top_builddir)/genversion.sh`'"' > $@
77 EXTRA_DIST = autoconf/Doxyfile.in doc/images test
79 dist-hook:
80         rm -f $(distdir)/test/Makefile
81         $(top_builddir)/genversion.sh > $(distdir)/CLOOG_HEAD
82         (cd doc; make cloog.pdf) && cp doc/cloog.pdf $(distdir)/doc/
84 #/*****************************************************************************
85 # *                                   Rules                                   *
86 # *****************************************************************************/
88 check:
89         $(MAKE) test -C test
91 valcheck:
92         $(MAKE) valgrind -C test
94 total:
95         @echo "             /*-----------------------------------------------*"
96         @echo "              *                     CLooG                     *"
97         @echo "              *-----------------------------------------------*/"
98         $(MAKE) uninstall
99         $(MAKE) clean
100         $(MAKE)
101         $(MAKE) install
103 doc:
104         @echo "             /*-----------------------------------------------*"
105         @echo "              *        Generating CLooG's documentation       *"
106         @echo "              *-----------------------------------------------*/"
107         doxygen ./autoconf/Doxyfile