2 MAYBE_INTERFACE = interface
4 SUBDIRS = . $(MAYBE_INTERFACE) doc
5 DIST_SUBDIRS = $(MAYBE_INTERFACE) doc
7 ACLOCAL_AMFLAGS = -I m4
8 AUTOMAKE_OPTIONS = nostdinc
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
17 if NEED_GET_MEMORY_FUNCTIONS
18 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
21 AM_CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/ @GMP_CPPFLAGS@
22 AM_CFLAGS = @WARNING_FLAGS@
25 $(GET_MEMORY_FUNCTIONS) \
34 isl_ast_build_private.h \
35 isl_ast_build_expr.c \
36 isl_ast_build_expr.h \
39 isl_ast_graft_private.h \
42 isl_basis_reduction.h \
43 basis_reduction_tab.c \
52 isl_constraint_private.h \
69 isl_id_to_ast_expr.c \
75 isl_local_space_private.h \
83 isl_map_to_basic_set.c \
92 isl_options_private.h \
96 isl_polynomial_private.h \
98 isl_printer_private.h \
110 isl_schedule_private.h \
115 isl_space_private.h \
117 isl_stream_private.h \
125 isl_transitive_closure.c \
127 isl_union_map_private.h \
134 isl_vertices_private.h \
136 libisl_la_LIBADD = @GMP_LIBS@
137 libisl_la_LDFLAGS = -version-info @versioninfo@ \
140 isl_test_LDFLAGS = @GMP_LDFLAGS@
141 isl_test_LDADD = libisl.la @GMP_LIBS@
143 isl_polyhedron_sample_LDADD = libisl.la
144 isl_polyhedron_sample_SOURCES = \
147 isl_pip_LDFLAGS = @GMP_LDFLAGS@
148 isl_pip_LDADD = libisl.la @GMP_LIBS@
152 isl_codegen_LDFLAGS = @GMP_LDFLAGS@
153 isl_codegen_LDADD = libisl.la @GMP_LIBS@
154 isl_codegen_SOURCES = \
157 isl_bound_LDFLAGS = @GMP_LDFLAGS@
158 isl_bound_LDADD = libisl.la @GMP_LIBS@
159 isl_bound_SOURCES = \
162 isl_polyhedron_minimize_LDFLAGS = @GMP_LDFLAGS@
163 isl_polyhedron_minimize_LDADD = libisl.la @GMP_LIBS@
164 isl_polyhedron_minimize_SOURCES = \
165 polyhedron_minimize.c
167 isl_polytope_scan_LDADD = libisl.la
168 isl_polytope_scan_SOURCES = \
171 isl_polyhedron_detect_equalities_LDADD = libisl.la
172 isl_polyhedron_detect_equalities_SOURCES = \
173 polyhedron_detect_equalities.c
175 isl_cat_LDADD = libisl.la
179 isl_closure_LDADD = libisl.la
180 isl_closure_SOURCES = \
183 nodist_pkginclude_HEADERS = \
184 include/isl/config.h \
186 pkginclude_HEADERS = \
188 include/isl/aff_type.h \
191 include/isl/ast_type.h \
192 include/isl/ast_build.h \
194 include/isl/constraint.h \
199 include/isl/id_to_ast_expr.h \
200 include/isl/id_to_pw_aff.h \
205 include/isl/local_space.h \
209 include/isl/map_to_basic_set.h \
210 include/isl/map_type.h \
211 include/isl/multi.h \
213 include/isl/options.h \
214 include/isl/point.h \
215 include/isl/polynomial.h \
216 include/isl/polynomial_type.h \
217 include/isl/printer.h \
218 include/isl/schedule.h \
220 include/isl/set_type.h \
221 include/isl/space.h \
222 include/isl/stream.h \
223 include/isl/union_map.h \
224 include/isl/union_map_type.h \
225 include/isl/union_set.h \
226 include/isl/union_set_type.h \
228 include/isl/val_gmp.h \
230 include/isl/version.h \
231 include/isl/vertices.h
232 deprecateddir = $(pkgincludedir)/deprecated
233 deprecated_HEADERS = \
234 include/isl/deprecated/int.h \
235 include/isl/deprecated/aff_int.h \
236 include/isl/deprecated/ast_int.h \
237 include/isl/deprecated/constraint_int.h \
238 include/isl/deprecated/ilp_int.h \
239 include/isl/deprecated/map_int.h \
240 include/isl/deprecated/mat_int.h \
241 include/isl/deprecated/point_int.h \
242 include/isl/deprecated/polynomial_int.h \
243 include/isl/deprecated/set_int.h \
244 include/isl/deprecated/union_map_int.h \
245 include/isl/deprecated/val_int.h \
246 include/isl/deprecated/vec_int.h
251 basis_reduction_templ.c \
255 isl_map_lexopt_templ.c \
263 doc/SubmittingPatches \
266 doc/implementation.tex \
272 interface/isl.py.top \
276 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
277 (cd doc; make manual.pdf)
278 cp doc/manual.pdf $(distdir)/doc/
280 pkgconfigdir=$(pkgconfig_libdir)
281 pkgconfig_DATA = $(pkgconfig_libfile)
283 gitversion.h: @GIT_HEAD@
284 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
286 install-data-local: $(srcdir)/isl.py
287 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
288 $(builddir)/libisl.la`; \
290 '') echo Cannot find isl library name. GDB bindings not installed.;; \
291 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
292 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
293 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
294 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac