2 # /*------------------------------------------------------------------+
4 # |------------------------------------------------------------------|
6 # |------------------------------------------------------------------|
7 # | First version: 03/04/2012 |
8 # +------------------------------------------------------------------+
10 # +------------------------------------------------------------------------+
11 # | / __)( ) /__\ ( \/ ) |
12 # | ( (__ )(__ /(__)\ \ / Chunky Loop Alteration wizardrY |
13 # | \___)(____)(__)(__)(__) |
14 # +------------------------------------------------------------------------+
15 # | Copyright (C) 2012 University of Paris-Sud |
17 # | This library is free software; you can redistribute it and/or modify |
18 # | it under the terms of the GNU Lesser General Public License as |
19 # | published by the Free Software Foundation; either version 2.1 of the |
20 # | License, or (at your option) any later version. |
22 # | This library is distributed in the hope that it will be useful but |
23 # | WITHOUT ANY WARRANTY; without even the implied warranty of |
24 # | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
25 # | Lesser General Public License for more details. |
27 # | You should have received a copy of the GNU Lesser General Public |
28 # | License along with this software; if not, write to the Free Software |
29 # | Foundation, Inc., 51 Franklin Street, Fifth Floor, |
30 # | Boston, MA 02110-1301 USA |
32 # | Clay, the Chunky Loop Alteration wizardrY |
33 # | Written by Cedric Bastoul, Cedric.Bastoul@u-psud.fr |
34 # +------------------------------------------------------------------------*/
36 # Makefile.am (or makefile if generated) of Clay.
37 # Makefile.am is not a makefile, you must run the 'autogen.sh' THEN the
38 # configure shellscript to generate the Makefile thanks to this file.
40 #############################################################################
44 OSL_LA = $(top_builddir)/osl/libosl.la
48 CLAN_LA = $(top_builddir)/clan/libclan.la
52 CLOOG_LA = $(top_builddir)/cloog/libcloog-isl.la
56 CANDL_LA = $(top_builddir)/candl/libcandl.la
59 SUBDIRS = $(MAYBE_OSL) $(MAYBE_CLAN) $(MAYBE_CLOOG) $(MAYBE_CANDL) doc tests
60 DIST_SUBDIRS = $(MAYBE_OSL) $(MAYBE_CLAN) $(MAYBE_CLOOG) $(MAYBE_CANDL) doc tests
61 ACLOCAL_AMFLAGS = -I m4
63 #############################################################################
66 lib_LTLIBRARIES = libclay.la
68 #############################################################################
70 pkginclude_HEADERS = \
72 include/clay/array.h \
74 include/clay/options.h \
75 include/clay/ident.h \
77 include/clay/macros.h \
78 include/clay/betatree.h \
80 include/clay/errors.h \
81 include/clay/functions.h \
83 include/clay/stack.h \
84 include/clay/transformation.h
86 DEFAULT_INCLUDES = -I.
87 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
88 AM_CFLAGS = $(CFLAGS_WARN)
90 LEX_OUTPUT_ROOT = lex.clay_yy
92 #############################################################################
94 libclay_la_LIBADD = @OSL_LIBS@ @CLAN_LIBS@ @CLOOG_LIBS@ @CANDL_LIBS@ $(OSL_LA) $(CLAN_LA) $(CLOOG_LA) $(CANDL_LA)
95 libclay_la_CPPFLAGS = @OSL_CPPFLAGS@ @CLAN_CPPFLAGS@ @CLOOG_CPPFLAGS@ @CANDL_CPPFLAGS@
96 # libclay_la_LDFLAGS = @OSL_LDFLAGS@ @CLAN_LDFLAGS@ @CLOOG_LDFLAGS@ @CANDL_LDFLAGS@ # TO BE REMOVED
97 libclay_la_SOURCES = \
110 source/transformation.c
112 #############################################################################
114 LDADD = @OSL_LIBS@ @CLAN_LIBS@ @CLOOG_LIBS@ @CANDL_LIBS@ libclay.la
115 clay_CPPFLAGS = @OSL_CPPFLAGS@ @CLAN_CPPFLAGS@ @CLOOG_CPPFLAGS@ @CANDL_CPPFLAGS@ -g
116 # clay_LDFLAGS = # @OSL_LDFLAGS@ @CLAN_LDFLAGS@ @CLOOG_LDFLAGS@ @CANDL_LDFLAGS@ # TO BE REMOVED
117 clay_DEPENDENCIES = libclay.la
118 clay_SOURCES = source/clay.c
120 #############################################################################
122 MAINTAINERCLEANFILES = \
128 #############################################################################
131 (cd $(distdir) && mkdir -p $(ac_aux_dir))
132 for file in $(AUX_DIST); do \
133 cp $$file $(distdir)/$$file; \
135 #############################################################################