2 MAYBE_INTERFACE = interface
4 SUBDIRS = . $(MAYBE_INTERFACE) doc
5 DIST_SUBDIRS = $(MAYBE_INTERFACE) doc
7 ACLOCAL_AMFLAGS = -I m4
8 AUTOMAKE_OPTIONS = nostdinc subdir-objects
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 \
14 isl_closure isl_bound isl_schedule isl_codegen isl_test_int \
15 isl_flow isl_flow_cmp isl_schedule_cmp
16 TESTS = isl_test codegen_test.sh pip_test.sh bound_test.sh isl_test_int \
17 flow_test.sh schedule_test.sh
25 imath_wrap/gmp_compat.h \
29 imath_wrap/gmp_compat.c \
33 noinst_PROGRAMS += isl_test_imath
34 TESTS += isl_test_imath
37 MP_SRC += isl_int_sioimath.h \
41 MP_SRC += isl_val_imath.c
48 if NEED_GET_MEMORY_FUNCTIONS
49 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
53 $(GET_MEMORY_FUNCTIONS) \
58 MP_INCLUDE_H = include/isl/val_gmp.h
61 AM_CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/ @MP_CPPFLAGS@
62 AM_CFLAGS = @WARNING_FLAGS@
73 isl_ast_build_private.h \
74 isl_ast_build_expr.c \
75 isl_ast_build_expr.h \
78 isl_ast_graft_private.h \
79 isl_basis_reduction.h \
80 basis_reduction_tab.c \
89 isl_constraint_private.h \
106 isl_id_to_ast_expr.c \
115 isl_local_space_private.h \
124 isl_map_to_basic_set.c \
133 isl_options_private.h \
135 isl_output_private.h \
136 isl_point_private.h \
138 isl_polynomial_private.h \
140 isl_printer_private.h \
152 isl_schedule_band.c \
153 isl_schedule_band.h \
154 isl_schedule_node.c \
155 isl_schedule_node_private.h \
156 isl_schedule_read.c \
157 isl_schedule_tree.c \
158 isl_schedule_tree.h \
159 isl_schedule_private.h \
160 isl_schedule_constraints.c \
161 isl_schedule_constraints.h \
167 isl_space_private.h \
169 isl_stream_private.h \
178 isl_transitive_closure.c \
180 isl_union_map_private.h \
181 isl_union_set_private.h \
187 isl_vertices_private.h \
190 libisl_la_LIBADD = @MP_LIBS@
191 libisl_la_LDFLAGS = -version-info @versioninfo@ \
194 isl_test_LDFLAGS = @MP_LDFLAGS@
195 isl_test_LDADD = libisl.la @MP_LIBS@
197 isl_test_int_LDFLAGS = @MP_LDFLAGS@
198 isl_test_int_LDADD = libisl.la @MP_LIBS@
201 isl_test_imath_LDFLAGS = @MP_LDFLAGS@
202 isl_test_imath_LDADD = libisl.la @MP_LIBS@
205 isl_polyhedron_sample_LDADD = libisl.la
206 isl_polyhedron_sample_SOURCES = \
209 isl_pip_LDFLAGS = @MP_LDFLAGS@
210 isl_pip_LDADD = libisl.la @MP_LIBS@
214 isl_schedule_LDFLAGS = @MP_LDFLAGS@
215 isl_schedule_LDADD = libisl.la @MP_LIBS@
216 isl_schedule_SOURCES = \
219 isl_schedule_cmp_LDFLAGS = @MP_LDFLAGS@
220 isl_schedule_cmp_LDADD = libisl.la @MP_LIBS@
221 isl_schedule_cmp_SOURCES = \
224 isl_flow_LDFLAGS = @MP_LDFLAGS@
225 isl_flow_LDADD = libisl.la @MP_LIBS@
229 isl_flow_cmp_LDFLAGS = @MP_LDFLAGS@
230 isl_flow_cmp_LDADD = libisl.la @MP_LIBS@
231 isl_flow_cmp_SOURCES = \
234 isl_codegen_LDFLAGS = @MP_LDFLAGS@
235 isl_codegen_LDADD = libisl.la @MP_LIBS@
236 isl_codegen_SOURCES = \
239 isl_bound_LDFLAGS = @MP_LDFLAGS@
240 isl_bound_LDADD = libisl.la @MP_LIBS@
241 isl_bound_SOURCES = \
244 isl_polyhedron_minimize_LDFLAGS = @MP_LDFLAGS@
245 isl_polyhedron_minimize_LDADD = libisl.la @MP_LIBS@
246 isl_polyhedron_minimize_SOURCES = \
247 polyhedron_minimize.c
249 isl_polytope_scan_LDADD = libisl.la
250 isl_polytope_scan_SOURCES = \
253 isl_polyhedron_detect_equalities_LDADD = libisl.la
254 isl_polyhedron_detect_equalities_SOURCES = \
255 polyhedron_detect_equalities.c
257 isl_cat_LDADD = libisl.la
261 isl_closure_LDADD = libisl.la
262 isl_closure_SOURCES = \
265 nodist_pkginclude_HEADERS = \
267 pkginclude_HEADERS = \
270 include/isl/aff_type.h \
273 include/isl/ast_type.h \
274 include/isl/ast_build.h \
275 include/isl/constraint.h \
279 include/isl/id_to_ast_expr.h \
280 include/isl/id_to_id.h \
281 include/isl/id_to_pw_aff.h \
285 include/isl/hmap_templ.c \
287 include/isl/local_space.h \
291 include/isl/map_to_basic_set.h \
292 include/isl/map_type.h \
293 include/isl/maybe.h \
294 include/isl/maybe_ast_expr.h \
295 include/isl/maybe_basic_set.h \
296 include/isl/maybe_id.h \
297 include/isl/maybe_pw_aff.h \
298 include/isl/maybe_templ.h \
299 include/isl/multi.h \
301 include/isl/options.h \
302 include/isl/point.h \
303 include/isl/polynomial.h \
304 include/isl/polynomial_type.h \
305 include/isl/printer.h \
306 include/isl/printer_type.h \
307 include/isl/schedule.h \
308 include/isl/schedule_node.h \
309 include/isl/schedule_type.h \
311 include/isl/set_type.h \
312 include/isl/space.h \
313 include/isl/stream.h \
314 include/isl/union_map.h \
315 include/isl/union_map_type.h \
316 include/isl/union_set.h \
317 include/isl/union_set_type.h \
320 include/isl/version.h \
321 include/isl/vertices.h
323 BUILT_SOURCES = gitversion.h
338 basis_reduction_templ.c \
344 isl_map_lexopt_templ.c \
349 isl_multi_apply_templ.c \
350 isl_multi_apply_set.c \
351 isl_multi_apply_union_set.c \
353 isl_multi_coalesce.c \
358 isl_multi_intersect.c \
366 read_in_string_templ.c \
369 isl_tab_lexopt_templ.c \
379 doc/SubmittingPatches \
380 doc/implementation.tex \
393 interface/isl.py.top \
394 interface/isl_test_python.py \
398 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
399 (cd doc; make manual.pdf)
400 cp doc/manual.pdf $(distdir)/doc/
402 pkgconfigdir=$(pkgconfig_libdir)
403 pkgconfig_DATA = $(pkgconfig_libfile)
405 gitversion.h: @GIT_HEAD@
406 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
408 install-data-local: $(srcdir)/libisl-gdb.py
409 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
410 $(builddir)/libisl.la`; \
412 '') echo Cannot find isl library name. GDB bindings not installed.;; \
413 *) echo $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
414 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
415 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
416 $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
417 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
421 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
422 $(builddir)/libisl.la`; \
423 if test -n "$${libisl}"; then \
424 rm -f $(DESTDIR)$(libdir)/$$libisl-gdb.py; \