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_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 \
109 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_point_private.h \
137 isl_polynomial_private.h \
139 isl_printer_private.h \
151 isl_schedule_band.c \
152 isl_schedule_band.h \
153 isl_schedule_node.c \
154 isl_schedule_node_private.h \
155 isl_schedule_read.c \
156 isl_schedule_tree.c \
157 isl_schedule_tree.h \
158 isl_schedule_private.h \
164 isl_space_private.h \
166 isl_stream_private.h \
174 isl_transitive_closure.c \
176 isl_union_map_private.h \
182 isl_vertices_private.h \
185 libisl_la_LIBADD = @MP_LIBS@
186 libisl_la_LDFLAGS = -version-info @versioninfo@ \
189 isl_test_LDFLAGS = @MP_LDFLAGS@
190 isl_test_LDADD = libisl.la @MP_LIBS@
192 isl_test_int_LDFLAGS = @MP_LDFLAGS@
193 isl_test_int_LDADD = libisl.la @MP_LIBS@
196 isl_test_imath_LDFLAGS = @MP_LDFLAGS@
197 isl_test_imath_LDADD = libisl.la @MP_LIBS@
200 isl_polyhedron_sample_LDADD = libisl.la
201 isl_polyhedron_sample_SOURCES = \
204 isl_pip_LDFLAGS = @MP_LDFLAGS@
205 isl_pip_LDADD = libisl.la @MP_LIBS@
209 isl_codegen_LDFLAGS = @MP_LDFLAGS@
210 isl_codegen_LDADD = libisl.la @MP_LIBS@
211 isl_codegen_SOURCES = \
214 isl_bound_LDFLAGS = @MP_LDFLAGS@
215 isl_bound_LDADD = libisl.la @MP_LIBS@
216 isl_bound_SOURCES = \
219 isl_polyhedron_minimize_LDFLAGS = @MP_LDFLAGS@
220 isl_polyhedron_minimize_LDADD = libisl.la @MP_LIBS@
221 isl_polyhedron_minimize_SOURCES = \
222 polyhedron_minimize.c
224 isl_polytope_scan_LDADD = libisl.la
225 isl_polytope_scan_SOURCES = \
228 isl_polyhedron_detect_equalities_LDADD = libisl.la
229 isl_polyhedron_detect_equalities_SOURCES = \
230 polyhedron_detect_equalities.c
232 isl_cat_LDADD = libisl.la
236 isl_closure_LDADD = libisl.la
237 isl_closure_SOURCES = \
240 nodist_pkginclude_HEADERS = \
242 pkginclude_HEADERS = \
245 include/isl/aff_type.h \
248 include/isl/ast_type.h \
249 include/isl/ast_build.h \
251 include/isl/constraint.h \
255 include/isl/id_to_ast_expr.h \
256 include/isl/id_to_pw_aff.h \
261 include/isl/local_space.h \
265 include/isl/map_to_basic_set.h \
266 include/isl/map_type.h \
267 include/isl/multi.h \
269 include/isl/options.h \
270 include/isl/point.h \
271 include/isl/polynomial.h \
272 include/isl/polynomial_type.h \
273 include/isl/printer.h \
274 include/isl/schedule.h \
275 include/isl/schedule_node.h \
276 include/isl/schedule_type.h \
278 include/isl/set_type.h \
279 include/isl/space.h \
280 include/isl/stream.h \
281 include/isl/union_map.h \
282 include/isl/union_map_type.h \
283 include/isl/union_set.h \
284 include/isl/union_set_type.h \
287 include/isl/version.h \
288 include/isl/vertices.h
289 deprecateddir = $(pkgincludedir)/deprecated
290 deprecated_HEADERS = \
291 include/isl/deprecated/int.h \
292 include/isl/deprecated/aff_int.h \
293 include/isl/deprecated/ast_int.h \
294 include/isl/deprecated/constraint_int.h \
295 include/isl/deprecated/ilp_int.h \
296 include/isl/deprecated/map_int.h \
297 include/isl/deprecated/mat_int.h \
298 include/isl/deprecated/point_int.h \
299 include/isl/deprecated/polynomial_int.h \
300 include/isl/deprecated/set_int.h \
301 include/isl/deprecated/union_map_int.h \
302 include/isl/deprecated/val_int.h \
303 include/isl/deprecated/vec_int.h
308 basis_reduction_templ.c \
312 isl_map_lexopt_templ.c \
316 isl_multi_apply_templ.c \
317 isl_multi_apply_set.c \
318 isl_multi_apply_union_set.c \
321 isl_multi_intersect.c \
328 doc/SubmittingPatches \
331 doc/implementation.tex \
343 interface/isl.py.top \
347 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
348 (cd doc; make manual.pdf)
349 cp doc/manual.pdf $(distdir)/doc/
351 pkgconfigdir=$(pkgconfig_libdir)
352 pkgconfig_DATA = $(pkgconfig_libfile)
354 gitversion.h: @GIT_HEAD@
355 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
357 install-data-local: $(srcdir)/isl.py
358 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
359 $(builddir)/libisl.la`; \
361 '') echo Cannot find isl library name. GDB bindings not installed.;; \
362 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
363 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
364 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
365 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac