2 # /*------------------------------------------------------------------+
4 # |------------------------------------------------------------------|
6 # |------------------------------------------------------------------|
7 # | First version: 18/10/2012 |
8 # +------------------------------------------------------------------+
10 # +------------------------------------------------------------------------+
12 # | Converter [osl <-> scoplib] |
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 #############################################################################
42 SUBDIRS = $(MAYBE_OSL) doc
43 DIST_SUBDIRS = $(MAYBE_OSL) doc
44 ACLOCAL_AMFLAGS = -I m4
46 #############################################################################
48 bin_PROGRAMS = converter
49 lib_LTLIBRARIES = libconverter.la
51 #############################################################################
53 pkginclude_HEADERS = \
54 include/converter/converter.h \
55 include/converter/converter_int.h \
56 include/converter/old_candl_dependence.h
58 DEFAULT_INCLUDES = -I.
59 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
60 AM_CFLAGS = $(CFLAGS_WARN)
63 #############################################################################
65 libconverter_la_LIBADD = @OSL_LIBS@ @SCOPLIB_LIBS@ @CANDL_LIBS@ $(OSL_LA)
66 libconverter_la_CPPFLAGS = @OSL_CPPFLAGS@ @SCOPLIB_CPPFLAGS@ @CANDL_CPPFLAGS@ -g
67 libconverter_la_LDFLAGS = @OSL_LDFLAGS@ @SCOPLIB_LDFLAGS@ @CANDL_LDFLAGS@
68 libconverter_la_SOURCES = \
70 source/osl2scoplib.c \
71 source/scoplib2osl.c \
72 source/old_candl_dependence.c \
73 source/converter_int.c
75 #############################################################################
77 LDADD = @OSL_LIBS@ @SCOPLIB_LIBS@ @CANDL_LIBS@ libconverter.la
78 converter_CPPFLAGS = @OSL_CPPFLAGS@ @SCOPLIB_CPPFLAGS@ @CANDL_CPPFLAGS@ -g
79 converter_LDFLAGS = @OSL_LDFLAGS@ @SCOPLIB_LDFLAGS@ @CANDL_LDFLAGS@ # TO BE REMOVED
80 converter_DEPENDENCIES = libconverter.la
81 converter_SOURCES = source/converter.c source/osl2scoplib.c source/scoplib2osl.c source/old_candl_dependence.c source/converter_int.c
83 #############################################################################
85 MAINTAINERCLEANFILES = \
91 #############################################################################
94 (cd $(distdir) && mkdir -p $(ac_aux_dir))
95 for file in $(AUX_DIST); do \
96 cp $$file $(distdir)/$$file; \
99 #############################################################################