1#
2#   /*+------------------------------------------------------------------**
3#    **                       OpenScop Library                           **
4#    **------------------------------------------------------------------**
5#    **                         makefile.am                              **
6#    **------------------------------------------------------------------**
7#    **                   First version: 30/04/2008                      **
8#    **------------------------------------------------------------------**
9#
10#   
11# ***************************************************************************
12# * OpenScop: Structures and formats for polyhedral tools to talk together  *
13# ***************************************************************************
14# *   ,___,,_,__,,__,,__,,__,,_,__,,_,__,,__,,___,_,__,,_,__,               *
15# *   /   / /  //  //  //  // /   / /  //  //   / /  // /  /|,_,            *
16# *  /   / /  //  //  //  // /   / /  //  //   / /  // /  / / /\            *
17# * |~~~|~|~~~|~~~|~~~|~~~|~|~~~|~|~~~|~~~|~~~|~|~~~|~|~~~|/_/  \           *
18# * | G |C| P | = | L | P |=| = |C| = | = | = |=| = |=| C |\  \ /\          *
19# * | R |l| o | = | e | l |=| = |a| = | = | = |=| = |=| L | \# \ /\         *
20# * | A |a| l | = | t | u |=| = |n| = | = | = |=| = |=| o | |\# \  \        *
21# * | P |n| l | = | s | t |=| = |d| = | = | = | |   |=| o | | \# \  \       *
22# * | H | | y |   | e | o | | = |l|   |   | = | |   | | G | |  \  \  \      *
23# * | I | |   |   | e |   | |   | |   |   |   | |   | |   | |   \  \  \     *
24# * | T | |   |   |   |   | |   | |   |   |   | |   | |   | |    \  \  \    *
25# * | E | |   |   |   |   | |   | |   |   |   | |   | |   | |     \  \  \   *
26# * | * |*| * | * | * | * |*| * |*| * | * | * |*| * |*| * | /      \* \  \  *
27# * | O |p| e | n | S | c |o| p |-| L | i | b |r| a |r| y |/        \  \ /  *
28# * '---'-'---'---'---'---'-'---'-'---'---'---'-'---'-'---'          '--'   *
29# *                                                                         *
30# * Copyright (C) 2008 University Paris-Sud 11 and INRIA                    *
31# *                                                                         *
32# * (3-clause BSD license)                                                  *
33# * Redistribution and use in source  and binary forms, with or without     *
34# * modification, are permitted provided that the following conditions      *
35# * are met:                                                                *
36# *                                                                         *
37# * 1. Redistributions of source code must retain the above copyright       *
38# *    notice, this list of conditions and the following disclaimer.        *
39# * 2. Redistributions in binary form must reproduce the above copyright    *
40# *    notice, this list of conditions and the following disclaimer in the  *
41# *    documentation and/or other materials provided with the distribution. *
42# * 3. The name of the author may not be used to endorse or promote         *
43# *    products derived from this software without specific prior written   *
44# *    permission.                                                          *
45# *                                                                         *
46# * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR    *
47# * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED          *
48# * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  *
49# * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,      *
50# * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES      *
51# * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR      *
52# * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)      *
53# * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,     *
54# * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING   *
55# * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE      *
56# * POSSIBILITY OF SUCH DAMAGE.                                             *
57# *                                                                         *
58# * OpenScop Library, a library to manipulate OpenScop formats and data     *
59# * structures. Written by:                                                 *
60# * Cedric Bastoul     <Cedric.Bastoul@u-psud.fr> and                       *
61# * Louis-Noel Pouchet <Louis-Noel.pouchet@inria.fr>                        *
62# *                                                                         *
63# ***************************************************************************/
64#
65# Makefile.am (or makefile if generated) of the OpenScop Library.
66# Makefile.am is not a makefile, you must run the 'autogen.sh' THEN the
67# configure shellscript to generate the Makefile thanks to this file.
68
69
70#############################################################################
71
72SUBDIRS = . doc tests
73ACLOCAL_AMFLAGS = -I m4
74
75#############################################################################
76
77lib_LTLIBRARIES = libosl.la
78
79#############################################################################
80
81pkginclude_HEADERS = \
82	include/osl/osl.h \
83	include/osl/statement.h \
84	include/osl/interface.h \
85	include/osl/generic.h \
86	include/osl/vector.h \
87	include/osl/relation.h \
88	include/osl/relation_list.h \
89	include/osl/macros.h \
90	include/osl/int.h \
91	include/osl/names.h \
92	include/osl/strings.h \
93	include/osl/body.h \
94	include/osl/util.h \
95	include/osl/scop.h
96
97pkgextensionsincludedir = $(pkgincludedir)/extensions
98pkgextensionsinclude_HEADERS = \
99	include/osl/extensions/textual.h \
100	include/osl/extensions/comment.h \
101	include/osl/extensions/scatnames.h \
102	include/osl/extensions/arrays.h \
103	include/osl/extensions/coordinates.h \
104	include/osl/extensions/irregular.h
105
106DEFAULT_INCLUDES = -I.
107INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
108AM_CFLAGS = $(CFLAGS_WARN)
109
110#############################################################################
111
112libosl_la_CPPFLAGS = -g
113libosl_la_SOURCES = \
114	source/scop.c \
115	source/statement.c \
116	source/extensions/textual.c \
117	source/extensions/comment.c \
118	source/extensions/scatnames.c \
119	source/extensions/arrays.c \
120	source/extensions/coordinates.c \
121	source/extensions/irregular.c \
122	source/interface.c \
123	source/generic.c \
124	source/relation.c \
125	source/relation_list.c \
126	source/vector.c \
127	source/names.c \
128	source/strings.c \
129	source/body.c \
130	source/int.c \
131	source/util.c
132
133MAINTAINERCLEANFILES 	=			\
134	autoconf/texinfo.tex			\
135	Makefile.in				\
136	aclocal.m4				\
137	configure				\
138	source/stamp-h.in			\
139	$(AUX_DIST)
140
141#############################################################################
142
143ctags:
144	ctags -R --c++-kinds=+p --fields=+iaS --extra=+q -f$(HOME)/.ctags .
145
146#############################################################################
147