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 \
15 TESTS = isl_test pip_test.sh bound_test.sh
28 isl_sample_no_piplib.c
31 if NEED_GET_MEMORY_FUNCTIONS
32 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
35 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/
36 AM_CFLAGS = @WARNING_FLAGS@
40 $(GET_MEMORY_FUNCTIONS) \
47 isl_basis_reduction.h \
48 basis_reduction_tab.c \
56 isl_constraint_private.h \
72 isl_hmap_map_basic_set.c \
73 isl_hmap_map_basic_set.h \
78 isl_local_space_private.h \
95 isl_options_private.h \
100 isl_polynomial_private.h \
102 isl_printer_private.h \
114 isl_schedule_private.h \
118 isl_space_private.h \
120 isl_stream_private.h \
127 isl_transitive_closure.c \
129 isl_union_map_private.h \
132 isl_vertices_private.h \
134 EXTRA_libisl_la_SOURCES = \
138 isl_map_no_piplib.c \
139 isl_sample_no_piplib.c \
140 isl_sample_piplib.c \
141 isl_sample_piplib.h \
143 libisl_la_LIBADD = @PIPLIB_LIBS@ @GMP_LIBS@
144 libisl_la_LDFLAGS = -version-info @versioninfo@ \
145 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
146 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
148 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
149 isl_test_LDFLAGS = @GMP_LDFLAGS@
150 isl_test_LDADD = libisl.la @GMP_LIBS@
152 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
153 isl_polyhedron_sample_LDADD = libisl.la
154 isl_polyhedron_sample_SOURCES = \
157 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
158 isl_pip_LDFLAGS = @GMP_LDFLAGS@
159 isl_pip_LDADD = libisl.la @GMP_LIBS@
163 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
164 isl_bound_LDFLAGS = @GMP_LDFLAGS@
165 isl_bound_LDADD = libisl.la @GMP_LIBS@
166 isl_bound_SOURCES = \
169 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
170 isl_polyhedron_minimize_LDFLAGS = @GMP_LDFLAGS@
171 isl_polyhedron_minimize_LDADD = libisl.la @GMP_LIBS@
172 isl_polyhedron_minimize_SOURCES = \
173 polyhedron_minimize.c
175 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
176 isl_polytope_scan_LDADD = libisl.la
177 isl_polytope_scan_SOURCES = \
180 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
181 isl_polyhedron_detect_equalities_LDADD = libisl.la
182 isl_polyhedron_detect_equalities_SOURCES = \
183 polyhedron_detect_equalities.c
185 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
186 isl_cat_LDADD = libisl.la
190 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
191 isl_closure_LDADD = libisl.la
192 isl_closure_SOURCES = \
195 nodist_pkginclude_HEADERS = \
196 include/isl/config.h \
198 pkginclude_HEADERS = \
200 include/isl/aff_type.h \
204 include/isl/constraint.h \
213 include/isl/local_space.h \
217 include/isl/map_type.h \
218 include/isl/multi.h \
220 include/isl/options.h \
221 include/isl/point.h \
222 include/isl/polynomial.h \
223 include/isl/polynomial_type.h \
224 include/isl/printer.h \
225 include/isl/schedule.h \
228 include/isl/set_type.h \
229 include/isl/space.h \
230 include/isl/stream.h \
231 include/isl/union_map.h \
232 include/isl/union_map_type.h \
233 include/isl/union_set.h \
234 include/isl/union_set_type.h \
236 include/isl/version.h \
237 include/isl/vertices.h
241 basis_reduction_templ.c \
244 isl_map_lexopt_templ.c \
252 doc/SubmittingPatches \
255 doc/implementation.tex \
263 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
264 (cd doc; make manual.pdf)
265 cp doc/manual.pdf $(distdir)/doc/
267 pkgconfigdir=$(pkgconfig_libdir)
268 pkgconfig_DATA = $(pkgconfig_libfile)
270 gitversion.h: @GIT_HEAD@
271 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
273 install-data-local: $(srcdir)/isl.py
274 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
275 $(builddir)/libisl.la`; \
277 '') echo Cannot find isl library name. GDB bindings not installed.;; \
278 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
279 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
280 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
281 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac