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 \
90 isl_constraint_private.h \
100 isl_factorization.h \
107 isl_id_to_ast_expr.c \
116 isl_local_space_private.h \
125 isl_map_to_basic_set.c \
134 isl_options_private.h \
136 isl_output_private.h \
137 isl_point_private.h \
139 isl_polynomial_private.h \
141 isl_printer_private.h \
153 isl_schedule_band.c \
154 isl_schedule_band.h \
155 isl_schedule_node.c \
156 isl_schedule_node_private.h \
157 isl_schedule_read.c \
158 isl_schedule_tree.c \
159 isl_schedule_tree.h \
160 isl_schedule_private.h \
161 isl_schedule_constraints.c \
162 isl_schedule_constraints.h \
168 isl_space_private.h \
170 isl_stream_private.h \
179 isl_transitive_closure.c \
181 isl_union_map_private.h \
182 isl_union_set_private.h \
188 isl_vertices_private.h \
191 libisl_la_LIBADD = @MP_LIBS@
192 libisl_la_LDFLAGS = -version-info @versioninfo@ \
195 isl_test_LDFLAGS = @MP_LDFLAGS@
196 isl_test_LDADD = libisl.la @MP_LIBS@
198 isl_test_int_LDFLAGS = @MP_LDFLAGS@
199 isl_test_int_LDADD = libisl.la @MP_LIBS@
202 isl_test_imath_LDFLAGS = @MP_LDFLAGS@
203 isl_test_imath_LDADD = libisl.la @MP_LIBS@
206 isl_polyhedron_sample_LDADD = libisl.la
207 isl_polyhedron_sample_SOURCES = \
210 isl_pip_LDFLAGS = @MP_LDFLAGS@
211 isl_pip_LDADD = libisl.la @MP_LIBS@
215 isl_schedule_LDFLAGS = @MP_LDFLAGS@
216 isl_schedule_LDADD = libisl.la @MP_LIBS@
217 isl_schedule_SOURCES = \
220 isl_schedule_cmp_LDFLAGS = @MP_LDFLAGS@
221 isl_schedule_cmp_LDADD = libisl.la @MP_LIBS@
222 isl_schedule_cmp_SOURCES = \
225 isl_flow_LDFLAGS = @MP_LDFLAGS@
226 isl_flow_LDADD = libisl.la @MP_LIBS@
230 isl_flow_cmp_LDFLAGS = @MP_LDFLAGS@
231 isl_flow_cmp_LDADD = libisl.la @MP_LIBS@
232 isl_flow_cmp_SOURCES = \
235 isl_codegen_LDFLAGS = @MP_LDFLAGS@
236 isl_codegen_LDADD = libisl.la @MP_LIBS@
237 isl_codegen_SOURCES = \
240 isl_bound_LDFLAGS = @MP_LDFLAGS@
241 isl_bound_LDADD = libisl.la @MP_LIBS@
242 isl_bound_SOURCES = \
245 isl_polyhedron_minimize_LDFLAGS = @MP_LDFLAGS@
246 isl_polyhedron_minimize_LDADD = libisl.la @MP_LIBS@
247 isl_polyhedron_minimize_SOURCES = \
248 polyhedron_minimize.c
250 isl_polytope_scan_LDADD = libisl.la
251 isl_polytope_scan_SOURCES = \
254 isl_polyhedron_detect_equalities_LDADD = libisl.la
255 isl_polyhedron_detect_equalities_SOURCES = \
256 polyhedron_detect_equalities.c
258 isl_cat_LDADD = libisl.la
262 isl_closure_LDADD = libisl.la
263 isl_closure_SOURCES = \
266 nodist_pkginclude_HEADERS = \
268 pkginclude_HEADERS = \
271 include/isl/aff_type.h \
274 include/isl/ast_type.h \
275 include/isl/ast_build.h \
276 include/isl/constraint.h \
278 include/isl/fixed_box.h \
281 include/isl/id_type.h \
282 include/isl/id_to_ast_expr.h \
283 include/isl/id_to_id.h \
284 include/isl/id_to_pw_aff.h \
288 include/isl/hmap_templ.c \
290 include/isl/local_space.h \
294 include/isl/map_to_basic_set.h \
295 include/isl/map_type.h \
296 include/isl/maybe.h \
297 include/isl/maybe_ast_expr.h \
298 include/isl/maybe_basic_set.h \
299 include/isl/maybe_id.h \
300 include/isl/maybe_pw_aff.h \
301 include/isl/maybe_templ.h \
302 include/isl/multi.h \
304 include/isl/options.h \
305 include/isl/point.h \
306 include/isl/polynomial.h \
307 include/isl/polynomial_type.h \
308 include/isl/printer.h \
309 include/isl/printer_type.h \
310 include/isl/schedule.h \
311 include/isl/schedule_node.h \
312 include/isl/schedule_type.h \
314 include/isl/set_type.h \
315 include/isl/space.h \
316 include/isl/space_type.h \
317 include/isl/stream.h \
318 include/isl/stride_info.h \
319 include/isl/union_map.h \
320 include/isl/union_map_type.h \
321 include/isl/union_set.h \
322 include/isl/union_set_type.h \
324 include/isl/val_type.h \
326 include/isl/version.h \
327 include/isl/vertices.h
329 BUILT_SOURCES = gitversion.h
344 basis_reduction_templ.c \
350 isl_map_lexopt_templ.c \
353 isl_multi_explicit_domain.c \
354 isl_multi_pw_aff_explicit_domain.c \
355 isl_multi_union_pw_aff_explicit_domain.c \
356 isl_multi_no_explicit_domain.c \
359 isl_multi_align_templ.c \
360 isl_multi_align_set.c \
361 isl_multi_align_union_set.c \
362 isl_multi_apply_templ.c \
363 isl_multi_apply_set.c \
364 isl_multi_apply_union_set.c \
366 isl_multi_coalesce.c \
371 isl_multi_intersect.c \
381 read_in_string_templ.c \
384 set_list_from_map_list_inl.c \
385 isl_tab_lexopt_templ.c \
396 doc/SubmittingPatches \
397 doc/implementation.tex \
410 interface/isl.py.top \
411 interface/isl_test_python.py \
415 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
416 (cd doc; make manual.pdf)
417 cp doc/manual.pdf $(distdir)/doc/
419 pkgconfigdir=$(pkgconfig_libdir)
420 pkgconfig_DATA = $(pkgconfig_libfile)
422 gitversion.h: @GIT_HEAD@
423 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
425 install-data-local: $(srcdir)/libisl-gdb.py
426 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
427 $(builddir)/libisl.la`; \
429 '') echo Cannot find isl library name. GDB bindings not installed.;; \
430 *) echo $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
431 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
432 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
433 $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
434 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
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; \