Support of the osl_int_t union type
[candl.git] / Makefile.am
blob742c094498b52b4fa782c1fa966333fbcb0462da
2 #   /**-------------------------------------------------------------------**
3 #    **                              CAnDL                                **
4 #    **-------------------------------------------------------------------**
5 #    **                           Makefile.am                             **
6 #    **-------------------------------------------------------------------**
7 #    **                 First version: september 8th 2003                 **
8 #    **-------------------------------------------------------------------**/
10 #/*****************************************************************************
11 # *   CAnDL : the Chunky Analyser for Dependences in Loops (experimental)     *
12 # *****************************************************************************
13 # *                                                                           *
14 # * Copyright (C) 2003-2008 Cedric Bastoul                                    *
15 # *                                                                           *
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.                                                        *
20 # *                                                                           *
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.                                          *
25 # *                                                                           *
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                    *
29 # *                                                                           *
30 # * CAnDL, the Chunky Dependence Analyser                                     *
31 # * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr                        *
32 # *                                                                           *
33 # *****************************************************************************/
36 #############################################################################
38 if BUNDLED_OSL
39   MAYBE_OSL = osl
40   OSL_LA = $(top_builddir)/osl/source/libosl.la
41 endif
42 if BUNDLED_PIPLIB
43   MAYBE_PIPLIB = piplib
44   PIPLIB_LA = $(top_builddir)/piplib/source/libpiplib$(BITS).la
45 endif
47 SUBDIRS         = $(MAYBE_OSL) $(MAYBE_PIPLIB) doc tests
48 DIST_SUBDIRS    = $(MAYBE_OSL) $(MAYBE_PIPLIB) doc tests
49 ACLOCAL_AMFLAGS = -I m4
51 #############################################################################
53 bin_PROGRAMS    = candl
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           \
65         include/candl/ddv.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 =        \
84         source/dependence.c        \
85         source/ddv.c               \
86         source/scop.c              \
87         source/statement.c         \
88         source/util.c              \
89         source/isl-wrapper.c       \
90         source/matrix.c            \
91         source/options.c           \
92         source/piplib-wrapper.c    \
93         source/pruning.c           \
94         source/violation.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    =                       \
108         Makefile.in                             \
109         aclocal.m4                              \
110         configure                               \
111         $(AUX_DIST)
113 #############################################################################
114 dist-hook:
115         (cd $(distdir) && mkdir -p $(ac_aux_dir))
116         for file in $(AUX_DIST); do \
117           cp $$file $(distdir)/$$file; \
118         done
119 #############################################################################