2 # /**-------------------------------------------------------------------**
4 # **-------------------------------------------------------------------**
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 # *****************************************************************************
18 # * Copyright (C) 2001 Cedric Bastoul *
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 *
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. *
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 *
34 # * CLooG, the Chunky Loop Generator *
35 # * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr *
37 # *****************************************************************************/
41 ACLOCAL_AMFLAGS = -I m4
44 lib_LTLIBRARIES = @CLOOG_LIBRARIES@
45 EXTRA_LTLIBRARIES = libcloog-polylib.la
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
64 libcloog_polylib_la_SOURCES = \
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 = \
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
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 #/*****************************************************************************
110 # *****************************************************************************/
116 $(MAKE) valgrind -C test
119 @echo " /*-----------------------------------------------*"
121 @echo " *-----------------------------------------------*/"
128 @echo " /*-----------------------------------------------*"
129 @echo " * Generating CLooG's documentation *"
130 @echo " *-----------------------------------------------*/"
131 doxygen ./autoconf/Doxyfile