2 # /**-------------------------------------------------------------------**
4 # **-------------------------------------------------------------------**
6 # **-------------------------------------------------------------------**
7 # ** First version: september 8th 2003 **
8 # **-------------------------------------------------------------------**/
10 #/*****************************************************************************
11 # * CAnDL : the Chunky Analyser for Dependences in Loops (experimental) *
12 # *****************************************************************************
14 # * Copyright (C) 2003-2008 Cedric Bastoul *
16 # * This is free software; you can redistribute it and/or modify it under the *
17 # * terms of the GNU Lesser General Public License as published by the Free *
18 # * Software Foundation; either version 3 of the License, or (at your option) *
19 # * any later version. *
21 # * This software is distributed in the hope that it will be useful, but *
22 # * WITHOUT ANY WARRANTY; without even the implied warranty of *
23 # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
24 # * Public License for more details. *
26 # * You should have received a copy of the GNU Lesser General Public License *
27 # * along with software; if not, write to the Free Software Foundation, Inc., *
28 # * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
30 # * CAnDL, the Chunky Dependence Analyser *
31 # * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr *
33 # *****************************************************************************/
36 #############################################################################
40 OSL_LA = $(top_builddir)/osl/source/libosl.la
44 PIPLIB_LA = $(top_builddir)/piplib/source/libpiplib$(BITS).la
47 SUBDIRS = $(MAYBE_OSL) $(MAYBE_PIPLIB) doc tests
48 DIST_SUBDIRS = $(MAYBE_OSL) $(MAYBE_PIPLIB) doc tests
49 ACLOCAL_AMFLAGS = -I m4
51 #############################################################################
54 lib_LTLIBRARIES = libcandl.la
56 #############################################################################
58 pkginclude_HEADERS = \
59 include/candl/candl.h \
60 include/candl/dependence.h \
61 include/candl/scop.h \
62 include/candl/statement.h \
63 include/candl/macros.h \
64 include/candl/util.h \
66 include/candl/matrix.h \
67 include/candl/options.h \
68 include/candl/piplib-wrapper.h \
69 include/candl/pruning.h \
70 include/candl/violation.h
72 DEFAULT_INCLUDES = -I.
73 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
74 AM_CFLAGS = $(CFLAGS_WARN)
76 #############################################################################
78 EXTRA_DIST = COPYING.LESSER AUTHORS
80 libcandl_la_LIBADD = @OSL_LIBS@ @PIPLIB_LIBS@ $(OSL_LA) $(PIPLIB_LA)
81 libcandl_la_CPPFLAGS = @OSL_CPPFLAGS@ @PIPLIB_CPPFLAGS@ -g
82 libcandl_la_LDFLAGS = @OSL_LDFLAGS@ @PIPLIB_LDFLAGS@
83 libcandl_la_SOURCES = \
89 source/isl-wrapper.c \
92 source/piplib-wrapper.c \
96 #############################################################################
98 LDADD = @OSL_LIBS@ @PIPLIB_LIBS@ libcandl.la
99 candl_CPPFLAGS = @OSL_CPPFLAGS@ @PIPLIB_CPPFLAGS@ -g -Wall
100 candl_LDFLAGS = #@OSL_LDFLAGS@ @PIPLIB_LDFLAGS@ # TO BE REMOVED
101 candl_DEPENDENCIES = libcandl.la
102 candl_SOURCES = source/candl.c
105 #############################################################################
107 MAINTAINERCLEANFILES = \
113 #############################################################################
115 (cd $(distdir) && mkdir -p $(ac_aux_dir))
116 for file in $(AUX_DIST); do \
117 cp $$file $(distdir)/$$file; \
119 #############################################################################