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 TESTS = isl_test codegen_test.sh pip_test.sh bound_test.sh isl_test_int
20 isl_hide_deprecated.h \
24 imath_wrap/gmp_compat.h \
28 imath_wrap/gmp_compat.c \
32 noinst_PROGRAMS += isl_test_imath
33 TESTS += isl_test_imath
36 MP_SRC += isl_int_sioimath.h \
40 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 DEPRECATED_SRC = isl_ast_int.c
59 MP_INCLUDE_H = include/isl/val_gmp.h
62 AM_CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/ @MP_CPPFLAGS@
63 AM_CFLAGS = @WARNING_FLAGS@
75 isl_ast_build_private.h \
76 isl_ast_build_expr.c \
77 isl_ast_build_expr.h \
80 isl_ast_graft_private.h \
83 isl_basis_reduction.h \
84 basis_reduction_tab.c \
93 isl_constraint_private.h \
102 isl_factorization.c \
103 isl_factorization.h \
110 isl_id_to_ast_expr.c \
119 isl_local_space_private.h \
128 isl_map_to_basic_set.c \
137 isl_options_private.h \
139 isl_output_private.h \
140 isl_point_private.h \
142 isl_polynomial_private.h \
144 isl_printer_private.h \
156 isl_schedule_band.c \
157 isl_schedule_band.h \
158 isl_schedule_node.c \
159 isl_schedule_node_private.h \
160 isl_schedule_read.c \
161 isl_schedule_tree.c \
162 isl_schedule_tree.h \
163 isl_schedule_private.h \
164 isl_schedule_constraints.c \
165 isl_schedule_constraints.h \
171 isl_space_private.h \
173 isl_stream_private.h \
181 isl_transitive_closure.c \
183 isl_union_map_private.h \
184 isl_union_set_private.h \
190 isl_vertices_private.h \
193 libisl_la_LIBADD = @MP_LIBS@
194 libisl_la_LDFLAGS = -version-info @versioninfo@ \
197 isl_test_LDFLAGS = @MP_LDFLAGS@
198 isl_test_LDADD = libisl.la @MP_LIBS@
200 isl_test_int_LDFLAGS = @MP_LDFLAGS@
201 isl_test_int_LDADD = libisl.la @MP_LIBS@
204 isl_test_imath_LDFLAGS = @MP_LDFLAGS@
205 isl_test_imath_LDADD = libisl.la @MP_LIBS@
208 isl_polyhedron_sample_LDADD = libisl.la
209 isl_polyhedron_sample_SOURCES = \
212 isl_pip_LDFLAGS = @MP_LDFLAGS@
213 isl_pip_LDADD = libisl.la @MP_LIBS@
217 isl_schedule_LDFLAGS = @MP_LDFLAGS@
218 isl_schedule_LDADD = libisl.la @MP_LIBS@
219 isl_schedule_SOURCES = \
222 isl_codegen_LDFLAGS = @MP_LDFLAGS@
223 isl_codegen_LDADD = libisl.la @MP_LIBS@
224 isl_codegen_SOURCES = \
227 isl_bound_LDFLAGS = @MP_LDFLAGS@
228 isl_bound_LDADD = libisl.la @MP_LIBS@
229 isl_bound_SOURCES = \
232 isl_polyhedron_minimize_LDFLAGS = @MP_LDFLAGS@
233 isl_polyhedron_minimize_LDADD = libisl.la @MP_LIBS@
234 isl_polyhedron_minimize_SOURCES = \
235 polyhedron_minimize.c
237 isl_polytope_scan_LDADD = libisl.la
238 isl_polytope_scan_SOURCES = \
241 isl_polyhedron_detect_equalities_LDADD = libisl.la
242 isl_polyhedron_detect_equalities_SOURCES = \
243 polyhedron_detect_equalities.c
245 isl_cat_LDADD = libisl.la
249 isl_closure_LDADD = libisl.la
250 isl_closure_SOURCES = \
253 nodist_pkginclude_HEADERS = \
255 pkginclude_HEADERS = \
258 include/isl/aff_type.h \
261 include/isl/ast_type.h \
262 include/isl/ast_build.h \
264 include/isl/constraint.h \
268 include/isl/id_to_ast_expr.h \
269 include/isl/id_to_id.h \
270 include/isl/id_to_pw_aff.h \
274 include/isl/hmap_templ.c \
276 include/isl/local_space.h \
280 include/isl/map_to_basic_set.h \
281 include/isl/map_type.h \
282 include/isl/maybe.h \
283 include/isl/maybe_ast_expr.h \
284 include/isl/maybe_basic_set.h \
285 include/isl/maybe_id.h \
286 include/isl/maybe_pw_aff.h \
287 include/isl/maybe_templ.h \
288 include/isl/multi.h \
290 include/isl/options.h \
291 include/isl/point.h \
292 include/isl/polynomial.h \
293 include/isl/polynomial_type.h \
294 include/isl/printer.h \
295 include/isl/printer_type.h \
296 include/isl/schedule.h \
297 include/isl/schedule_node.h \
298 include/isl/schedule_type.h \
300 include/isl/set_type.h \
301 include/isl/space.h \
302 include/isl/stream.h \
303 include/isl/union_map.h \
304 include/isl/union_map_type.h \
305 include/isl/union_set.h \
306 include/isl/union_set_type.h \
309 include/isl/version.h \
310 include/isl/vertices.h
311 deprecateddir = $(pkgincludedir)/deprecated
312 deprecated_HEADERS = \
313 include/isl/deprecated/int.h \
314 include/isl/deprecated/aff_int.h \
315 include/isl/deprecated/ast_int.h \
316 include/isl/deprecated/constraint_int.h \
317 include/isl/deprecated/ilp_int.h \
318 include/isl/deprecated/map_int.h \
319 include/isl/deprecated/mat_int.h \
320 include/isl/deprecated/point_int.h \
321 include/isl/deprecated/polynomial_int.h \
322 include/isl/deprecated/set_int.h \
323 include/isl/deprecated/union_map_int.h \
324 include/isl/deprecated/val_int.h \
325 include/isl/deprecated/vec_int.h
327 BUILT_SOURCES = gitversion.h
342 basis_reduction_templ.c \
348 isl_map_lexopt_templ.c \
352 isl_multi_apply_templ.c \
353 isl_multi_apply_set.c \
354 isl_multi_apply_union_set.c \
356 isl_multi_coalesce.c \
360 isl_multi_intersect.c \
368 read_in_string_templ.c \
371 isl_tab_lexopt_templ.c \
380 doc/SubmittingPatches \
381 doc/implementation.tex \
394 interface/isl.h.top \
395 interface/isl.py.top \
399 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
400 (cd doc; make manual.pdf)
401 cp doc/manual.pdf $(distdir)/doc/
403 pkgconfigdir=$(pkgconfig_libdir)
404 pkgconfig_DATA = $(pkgconfig_libfile)
406 gitversion.h: @GIT_HEAD@
407 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
409 install-data-local: $(srcdir)/isl.py
410 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
411 $(builddir)/libisl.la`; \
413 '') echo Cannot find isl library name. GDB bindings not installed.;; \
414 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
415 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
416 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
417 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac
420 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
421 $(builddir)/libisl.la`; \
422 if test -n "$${libisl}"; then \
423 rm -f $(DESTDIR)$(libdir)/$$libisl-gdb.py; \