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
22 isl_hide_deprecated.h \
26 imath_wrap/gmp_compat.h \
30 imath_wrap/gmp_compat.c \
34 noinst_PROGRAMS += isl_test_imath
35 TESTS += isl_test_imath
38 MP_SRC += isl_int_sioimath.h \
42 MP_SRC += isl_val_imath.c
50 if NEED_GET_MEMORY_FUNCTIONS
51 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
55 $(GET_MEMORY_FUNCTIONS) \
60 DEPRECATED_SRC = isl_ast_int.c
61 MP_INCLUDE_H = include/isl/val_gmp.h
64 AM_CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/ @MP_CPPFLAGS@
65 AM_CFLAGS = @WARNING_FLAGS@
77 isl_ast_build_private.h \
78 isl_ast_build_expr.c \
79 isl_ast_build_expr.h \
82 isl_ast_graft_private.h \
85 isl_basis_reduction.h \
86 basis_reduction_tab.c \
95 isl_constraint_private.h \
104 isl_factorization.c \
105 isl_factorization.h \
112 isl_id_to_ast_expr.c \
121 isl_local_space_private.h \
130 isl_map_to_basic_set.c \
139 isl_options_private.h \
141 isl_output_private.h \
142 isl_point_private.h \
144 isl_polynomial_private.h \
146 isl_printer_private.h \
158 isl_schedule_band.c \
159 isl_schedule_band.h \
160 isl_schedule_node.c \
161 isl_schedule_node_private.h \
162 isl_schedule_read.c \
163 isl_schedule_tree.c \
164 isl_schedule_tree.h \
165 isl_schedule_private.h \
166 isl_schedule_constraints.c \
167 isl_schedule_constraints.h \
173 isl_space_private.h \
175 isl_stream_private.h \
183 isl_transitive_closure.c \
185 isl_union_map_private.h \
186 isl_union_set_private.h \
192 isl_vertices_private.h \
195 libisl_la_LIBADD = @MP_LIBS@
196 libisl_la_LDFLAGS = -version-info @versioninfo@ \
199 isl_test_LDFLAGS = @MP_LDFLAGS@
200 isl_test_LDADD = libisl.la @MP_LIBS@
202 isl_test_int_LDFLAGS = @MP_LDFLAGS@
203 isl_test_int_LDADD = libisl.la @MP_LIBS@
206 isl_test_imath_LDFLAGS = @MP_LDFLAGS@
207 isl_test_imath_LDADD = libisl.la @MP_LIBS@
210 isl_polyhedron_sample_LDADD = libisl.la
211 isl_polyhedron_sample_SOURCES = \
214 isl_pip_LDFLAGS = @MP_LDFLAGS@
215 isl_pip_LDADD = libisl.la @MP_LIBS@
219 isl_schedule_LDFLAGS = @MP_LDFLAGS@
220 isl_schedule_LDADD = libisl.la @MP_LIBS@
221 isl_schedule_SOURCES = \
224 isl_schedule_cmp_LDFLAGS = @MP_LDFLAGS@
225 isl_schedule_cmp_LDADD = libisl.la @MP_LIBS@
226 isl_schedule_cmp_SOURCES = \
229 isl_flow_LDFLAGS = @MP_LDFLAGS@
230 isl_flow_LDADD = libisl.la @MP_LIBS@
234 isl_flow_cmp_LDFLAGS = @MP_LDFLAGS@
235 isl_flow_cmp_LDADD = libisl.la @MP_LIBS@
236 isl_flow_cmp_SOURCES = \
239 isl_codegen_LDFLAGS = @MP_LDFLAGS@
240 isl_codegen_LDADD = libisl.la @MP_LIBS@
241 isl_codegen_SOURCES = \
244 isl_bound_LDFLAGS = @MP_LDFLAGS@
245 isl_bound_LDADD = libisl.la @MP_LIBS@
246 isl_bound_SOURCES = \
249 isl_polyhedron_minimize_LDFLAGS = @MP_LDFLAGS@
250 isl_polyhedron_minimize_LDADD = libisl.la @MP_LIBS@
251 isl_polyhedron_minimize_SOURCES = \
252 polyhedron_minimize.c
254 isl_polytope_scan_LDADD = libisl.la
255 isl_polytope_scan_SOURCES = \
258 isl_polyhedron_detect_equalities_LDADD = libisl.la
259 isl_polyhedron_detect_equalities_SOURCES = \
260 polyhedron_detect_equalities.c
262 isl_cat_LDADD = libisl.la
266 isl_closure_LDADD = libisl.la
267 isl_closure_SOURCES = \
270 nodist_pkginclude_HEADERS = \
272 pkginclude_HEADERS = \
275 include/isl/aff_type.h \
278 include/isl/ast_type.h \
279 include/isl/ast_build.h \
281 include/isl/constraint.h \
285 include/isl/id_to_ast_expr.h \
286 include/isl/id_to_id.h \
287 include/isl/id_to_pw_aff.h \
291 include/isl/hmap_templ.c \
293 include/isl/local_space.h \
297 include/isl/map_to_basic_set.h \
298 include/isl/map_type.h \
299 include/isl/maybe.h \
300 include/isl/maybe_ast_expr.h \
301 include/isl/maybe_basic_set.h \
302 include/isl/maybe_id.h \
303 include/isl/maybe_pw_aff.h \
304 include/isl/maybe_templ.h \
305 include/isl/multi.h \
307 include/isl/options.h \
308 include/isl/point.h \
309 include/isl/polynomial.h \
310 include/isl/polynomial_type.h \
311 include/isl/printer.h \
312 include/isl/printer_type.h \
313 include/isl/schedule.h \
314 include/isl/schedule_node.h \
315 include/isl/schedule_type.h \
317 include/isl/set_type.h \
318 include/isl/space.h \
319 include/isl/stream.h \
320 include/isl/union_map.h \
321 include/isl/union_map_type.h \
322 include/isl/union_set.h \
323 include/isl/union_set_type.h \
326 include/isl/version.h \
327 include/isl/vertices.h
328 deprecateddir = $(pkgincludedir)/deprecated
329 deprecated_HEADERS = \
330 include/isl/deprecated/int.h \
331 include/isl/deprecated/aff_int.h \
332 include/isl/deprecated/ast_int.h \
333 include/isl/deprecated/constraint_int.h \
334 include/isl/deprecated/ilp_int.h \
335 include/isl/deprecated/map_int.h \
336 include/isl/deprecated/mat_int.h \
337 include/isl/deprecated/point_int.h \
338 include/isl/deprecated/polynomial_int.h \
339 include/isl/deprecated/set_int.h \
340 include/isl/deprecated/union_map_int.h \
341 include/isl/deprecated/val_int.h \
342 include/isl/deprecated/vec_int.h
344 BUILT_SOURCES = gitversion.h
359 basis_reduction_templ.c \
365 isl_map_lexopt_templ.c \
370 isl_multi_apply_templ.c \
371 isl_multi_apply_set.c \
372 isl_multi_apply_union_set.c \
374 isl_multi_coalesce.c \
378 isl_multi_intersect.c \
386 read_in_string_templ.c \
389 isl_tab_lexopt_templ.c \
398 doc/SubmittingPatches \
399 doc/implementation.tex \
412 interface/isl-noexceptions.h.top \
413 interface/isl.py.top \
417 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
418 (cd doc; make manual.pdf)
419 cp doc/manual.pdf $(distdir)/doc/
421 pkgconfigdir=$(pkgconfig_libdir)
422 pkgconfig_DATA = $(pkgconfig_libfile)
424 gitversion.h: @GIT_HEAD@
425 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
427 install-data-local: $(srcdir)/isl.py
428 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
429 $(builddir)/libisl.la`; \
431 '') echo Cannot find isl library name. GDB bindings not installed.;; \
432 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
433 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
434 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
435 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac
438 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
439 $(builddir)/libisl.la`; \
440 if test -n "$${libisl}"; then \
441 rm -f $(DESTDIR)$(libdir)/$$libisl-gdb.py; \