4 ACLOCAL_AMFLAGS = -I m4
5 AUTOMAKE_OPTIONS = nostdinc
7 lib_LTLIBRARIES = libisl.la
8 noinst_PROGRAMS = isl_test isl_polyhedron_sample isl_pip \
9 isl_polyhedron_minimize isl_polytope_scan \
10 isl_polyhedron_detect_equalities isl_cat \
12 TESTS = isl_test pip_test.sh bound_test.sh
25 isl_sample_no_piplib.c
28 if NEED_GET_MEMORY_FUNCTIONS
29 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
32 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/
33 AM_CFLAGS = @WARNING_FLAGS@
37 $(GET_MEMORY_FUNCTIONS) \
44 isl_basis_reduction.h \
45 basis_reduction_tab.c \
53 isl_constraint_private.h \
69 isl_hmap_map_basic_set.c \
70 isl_hmap_map_basic_set.h \
75 isl_local_space_private.h \
98 isl_polynomial_private.h \
100 isl_printer_private.h \
112 isl_schedule_private.h \
114 isl_space_private.h \
116 isl_stream_private.h \
121 isl_transitive_closure.c \
123 isl_union_map_private.h \
126 isl_vertices_private.h \
128 EXTRA_libisl_la_SOURCES = \
132 isl_map_no_piplib.c \
133 isl_sample_no_piplib.c \
134 isl_sample_piplib.c \
135 isl_sample_piplib.h \
137 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
138 libisl_la_LDFLAGS = -version-info @versioninfo@ \
139 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
140 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
142 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
143 isl_test_LDFLAGS = @GMP_LDFLAGS@
144 isl_test_LDADD = libisl.la -lgmp
146 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
147 isl_polyhedron_sample_LDADD = libisl.la
148 isl_polyhedron_sample_SOURCES = \
151 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
152 isl_pip_LDFLAGS = @GMP_LDFLAGS@
153 isl_pip_LDADD = libisl.la -lgmp
157 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
158 isl_bound_LDFLAGS = @GMP_LDFLAGS@
159 isl_bound_LDADD = libisl.la -lgmp
160 isl_bound_SOURCES = \
163 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
164 isl_polyhedron_minimize_LDFLAGS = @GMP_LDFLAGS@
165 isl_polyhedron_minimize_LDADD = libisl.la -lgmp
166 isl_polyhedron_minimize_SOURCES = \
167 polyhedron_minimize.c
169 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
170 isl_polytope_scan_LDADD = libisl.la
171 isl_polytope_scan_SOURCES = \
174 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
175 isl_polyhedron_detect_equalities_LDADD = libisl.la
176 isl_polyhedron_detect_equalities_SOURCES = \
177 polyhedron_detect_equalities.c
179 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
180 isl_cat_LDADD = libisl.la
184 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
185 isl_closure_LDADD = libisl.la
186 isl_closure_SOURCES = \
189 nodist_pkginclude_HEADERS = \
190 include/isl/config.h \
192 pkginclude_HEADERS = \
194 include/isl/aff_type.h \
198 include/isl/constraint.h \
207 include/isl/local_space.h \
211 include/isl/map_type.h \
212 include/isl/multi.h \
214 include/isl/options.h \
215 include/isl/point.h \
216 include/isl/polynomial.h \
217 include/isl/polynomial_type.h \
218 include/isl/printer.h \
219 include/isl/schedule.h \
222 include/isl/set_type.h \
223 include/isl/space.h \
224 include/isl/stream.h \
225 include/isl/union_map.h \
226 include/isl/union_set.h \
228 include/isl/version.h \
229 include/isl/vertices.h
233 basis_reduction_templ.c \
244 doc/implementation.tex \
252 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
253 (cd doc; make manual.pdf)
254 cp doc/manual.pdf $(distdir)/doc/
256 pkgconfigdir=$(pkgconfig_libdir)
257 pkgconfig_DATA = $(pkgconfig_libfile)
259 gitversion.h: @GIT_HEAD@
260 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
262 install-data-local: $(srcdir)/isl.py
263 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
264 $(builddir)/libisl.la`; \
266 '') echo Cannot find isl library name. GDB bindings not installed.;; \
267 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
268 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
269 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
270 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac