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
15 TESTS = isl_test codegen_test.sh pip_test.sh bound_test.sh
20 isl_hide_deprecated.h \
25 imath_wrap/gmp_compat.h \
29 imath_wrap/gmp_compat.c \
38 if NEED_GET_MEMORY_FUNCTIONS
39 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
43 $(GET_MEMORY_FUNCTIONS) \
48 DEPRECATED_SRC = isl_ast_int.c
49 MP_INCLUDE_H = include/isl/val_gmp.h
52 AM_CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/ @MP_CPPFLAGS@
53 AM_CFLAGS = @WARNING_FLAGS@
65 isl_ast_build_private.h \
66 isl_ast_build_expr.c \
67 isl_ast_build_expr.h \
70 isl_ast_graft_private.h \
73 isl_basis_reduction.h \
74 basis_reduction_tab.c \
83 isl_constraint_private.h \
99 isl_id_to_ast_expr.c \
105 isl_local_space_private.h \
114 isl_map_to_basic_set.c \
123 isl_options_private.h \
125 isl_point_private.h \
127 isl_polynomial_private.h \
129 isl_printer_private.h \
141 isl_schedule_band.c \
142 isl_schedule_band.h \
143 isl_schedule_node.c \
144 isl_schedule_node_private.h \
145 isl_schedule_read.c \
146 isl_schedule_tree.c \
147 isl_schedule_tree.h \
148 isl_schedule_private.h \
154 isl_space_private.h \
156 isl_stream_private.h \
164 isl_transitive_closure.c \
166 isl_union_map_private.h \
172 isl_vertices_private.h \
175 libisl_la_LIBADD = @MP_LIBS@
176 libisl_la_LDFLAGS = -version-info @versioninfo@ \
179 isl_test_LDFLAGS = @MP_LDFLAGS@
180 isl_test_LDADD = libisl.la @MP_LIBS@
182 isl_polyhedron_sample_LDADD = libisl.la
183 isl_polyhedron_sample_SOURCES = \
186 isl_pip_LDFLAGS = @MP_LDFLAGS@
187 isl_pip_LDADD = libisl.la @MP_LIBS@
191 isl_codegen_LDFLAGS = @MP_LDFLAGS@
192 isl_codegen_LDADD = libisl.la @MP_LIBS@
193 isl_codegen_SOURCES = \
196 isl_bound_LDFLAGS = @MP_LDFLAGS@
197 isl_bound_LDADD = libisl.la @MP_LIBS@
198 isl_bound_SOURCES = \
201 isl_polyhedron_minimize_LDFLAGS = @MP_LDFLAGS@
202 isl_polyhedron_minimize_LDADD = libisl.la @MP_LIBS@
203 isl_polyhedron_minimize_SOURCES = \
204 polyhedron_minimize.c
206 isl_polytope_scan_LDADD = libisl.la
207 isl_polytope_scan_SOURCES = \
210 isl_polyhedron_detect_equalities_LDADD = libisl.la
211 isl_polyhedron_detect_equalities_SOURCES = \
212 polyhedron_detect_equalities.c
214 isl_cat_LDADD = libisl.la
218 isl_closure_LDADD = libisl.la
219 isl_closure_SOURCES = \
222 nodist_pkginclude_HEADERS = \
224 pkginclude_HEADERS = \
227 include/isl/aff_type.h \
230 include/isl/ast_type.h \
231 include/isl/ast_build.h \
233 include/isl/constraint.h \
237 include/isl/id_to_ast_expr.h \
238 include/isl/id_to_pw_aff.h \
243 include/isl/local_space.h \
247 include/isl/map_to_basic_set.h \
248 include/isl/map_type.h \
249 include/isl/multi.h \
251 include/isl/options.h \
252 include/isl/point.h \
253 include/isl/polynomial.h \
254 include/isl/polynomial_type.h \
255 include/isl/printer.h \
256 include/isl/schedule.h \
257 include/isl/schedule_node.h \
258 include/isl/schedule_type.h \
260 include/isl/set_type.h \
261 include/isl/space.h \
262 include/isl/stream.h \
263 include/isl/union_map.h \
264 include/isl/union_map_type.h \
265 include/isl/union_set.h \
266 include/isl/union_set_type.h \
269 include/isl/version.h \
270 include/isl/vertices.h
271 deprecateddir = $(pkgincludedir)/deprecated
272 deprecated_HEADERS = \
273 include/isl/deprecated/int.h \
274 include/isl/deprecated/aff_int.h \
275 include/isl/deprecated/ast_int.h \
276 include/isl/deprecated/constraint_int.h \
277 include/isl/deprecated/ilp_int.h \
278 include/isl/deprecated/map_int.h \
279 include/isl/deprecated/mat_int.h \
280 include/isl/deprecated/point_int.h \
281 include/isl/deprecated/polynomial_int.h \
282 include/isl/deprecated/set_int.h \
283 include/isl/deprecated/union_map_int.h \
284 include/isl/deprecated/val_int.h \
285 include/isl/deprecated/vec_int.h
290 basis_reduction_templ.c \
294 isl_map_lexopt_templ.c \
298 isl_multi_apply_templ.c \
299 isl_multi_apply_set.c \
300 isl_multi_apply_union_set.c \
303 isl_multi_intersect.c \
310 doc/SubmittingPatches \
313 doc/implementation.tex \
325 interface/isl.py.top \
329 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
330 (cd doc; make manual.pdf)
331 cp doc/manual.pdf $(distdir)/doc/
333 pkgconfigdir=$(pkgconfig_libdir)
334 pkgconfig_DATA = $(pkgconfig_libfile)
336 gitversion.h: @GIT_HEAD@
337 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
339 install-data-local: $(srcdir)/isl.py
340 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
341 $(builddir)/libisl.la`; \
343 '') echo Cannot find isl library name. GDB bindings not installed.;; \
344 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
345 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
346 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
347 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac