2 MAYBE_INTERFACE = interface
4 SUBDIRS = . $(MAYBE_INTERFACE) doc
5 DIST_SUBDIRS = $(MAYBE_INTERFACE) doc
7 ACLOCAL_AMFLAGS = -I m4
8 AUTOMAKE_OPTIONS = nostdinc
10 lib_LTLIBRARIES = libisl.la
11 noinst_PROGRAMS = isl_test isl_polyhedron_sample isl_pip \
12 isl_polyhedron_minimize isl_polytope_scan \
13 isl_polyhedron_detect_equalities isl_cat \
15 TESTS = isl_test pip_test.sh bound_test.sh
28 isl_sample_no_piplib.c
31 if NEED_GET_MEMORY_FUNCTIONS
32 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
35 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/
36 AM_CFLAGS = @WARNING_FLAGS@
40 $(GET_MEMORY_FUNCTIONS) \
47 isl_basis_reduction.h \
48 basis_reduction_tab.c \
56 isl_constraint_private.h \
72 isl_hmap_map_basic_set.c \
73 isl_hmap_map_basic_set.h \
78 isl_local_space_private.h \
101 isl_polynomial_private.h \
103 isl_printer_private.h \
115 isl_schedule_private.h \
117 isl_space_private.h \
119 isl_stream_private.h \
124 isl_transitive_closure.c \
126 isl_union_map_private.h \
129 isl_vertices_private.h \
131 EXTRA_libisl_la_SOURCES = \
135 isl_map_no_piplib.c \
136 isl_sample_no_piplib.c \
137 isl_sample_piplib.c \
138 isl_sample_piplib.h \
140 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
141 libisl_la_LDFLAGS = -version-info @versioninfo@ \
142 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
143 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
145 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
146 isl_test_LDFLAGS = @GMP_LDFLAGS@
147 isl_test_LDADD = libisl.la -lgmp
149 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
150 isl_polyhedron_sample_LDADD = libisl.la
151 isl_polyhedron_sample_SOURCES = \
154 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
155 isl_pip_LDFLAGS = @GMP_LDFLAGS@
156 isl_pip_LDADD = libisl.la -lgmp
160 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
161 isl_bound_LDFLAGS = @GMP_LDFLAGS@
162 isl_bound_LDADD = libisl.la -lgmp
163 isl_bound_SOURCES = \
166 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
167 isl_polyhedron_minimize_LDFLAGS = @GMP_LDFLAGS@
168 isl_polyhedron_minimize_LDADD = libisl.la -lgmp
169 isl_polyhedron_minimize_SOURCES = \
170 polyhedron_minimize.c
172 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
173 isl_polytope_scan_LDADD = libisl.la
174 isl_polytope_scan_SOURCES = \
177 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
178 isl_polyhedron_detect_equalities_LDADD = libisl.la
179 isl_polyhedron_detect_equalities_SOURCES = \
180 polyhedron_detect_equalities.c
182 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
183 isl_cat_LDADD = libisl.la
187 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
188 isl_closure_LDADD = libisl.la
189 isl_closure_SOURCES = \
192 nodist_pkginclude_HEADERS = \
193 include/isl/config.h \
195 pkginclude_HEADERS = \
197 include/isl/aff_type.h \
201 include/isl/constraint.h \
210 include/isl/local_space.h \
214 include/isl/map_type.h \
215 include/isl/multi.h \
217 include/isl/options.h \
218 include/isl/point.h \
219 include/isl/polynomial.h \
220 include/isl/polynomial_type.h \
221 include/isl/printer.h \
222 include/isl/schedule.h \
225 include/isl/set_type.h \
226 include/isl/space.h \
227 include/isl/stream.h \
228 include/isl/union_map.h \
229 include/isl/union_set.h \
231 include/isl/version.h \
232 include/isl/vertices.h
236 basis_reduction_templ.c \
247 doc/implementation.tex \
255 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
256 (cd doc; make manual.pdf)
257 cp doc/manual.pdf $(distdir)/doc/
259 pkgconfigdir=$(pkgconfig_libdir)
260 pkgconfig_DATA = $(pkgconfig_libfile)
262 gitversion.h: @GIT_HEAD@
263 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
265 install-data-local: $(srcdir)/isl.py
266 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
267 $(builddir)/libisl.la`; \
269 '') echo Cannot find isl library name. GDB bindings not installed.;; \
270 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
271 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
272 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
273 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac