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/
36 $(GET_MEMORY_FUNCTIONS) \
39 isl_basis_reduction.h \
40 basis_reduction_tab.c \
66 isl_hmap_map_basic_set.c \
67 isl_hmap_map_basic_set.h \
71 isl_local_space_private.h \
94 isl_polynomial_private.h \
96 isl_printer_private.h \
112 isl_transitive_closure.c \
114 isl_union_map_private.h \
117 isl_vertices_private.h \
119 EXTRA_libisl_la_SOURCES = \
123 isl_map_no_piplib.c \
124 isl_sample_no_piplib.c \
125 isl_sample_piplib.c \
126 isl_sample_piplib.h \
128 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
129 libisl_la_LDFLAGS = -version-info @versioninfo@ \
130 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
131 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
133 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
134 isl_test_LDFLAGS = @GMP_LDFLAGS@
135 isl_test_LDADD = libisl.la -lgmp
137 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
138 isl_polyhedron_sample_LDADD = libisl.la
139 isl_polyhedron_sample_SOURCES = \
142 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
143 isl_pip_LDFLAGS = @GMP_LDFLAGS@
144 isl_pip_LDADD = libisl.la -lgmp
148 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
149 isl_bound_LDFLAGS = @GMP_LDFLAGS@
150 isl_bound_LDADD = libisl.la -lgmp
151 isl_bound_SOURCES = \
154 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
155 isl_polyhedron_minimize_LDFLAGS = @GMP_LDFLAGS@
156 isl_polyhedron_minimize_LDADD = libisl.la -lgmp
157 isl_polyhedron_minimize_SOURCES = \
158 polyhedron_minimize.c
160 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
161 isl_polytope_scan_LDADD = libisl.la
162 isl_polytope_scan_SOURCES = \
165 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
166 isl_polyhedron_detect_equalities_LDADD = libisl.la
167 isl_polyhedron_detect_equalities_SOURCES = \
168 polyhedron_detect_equalities.c
170 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
171 isl_cat_LDADD = libisl.la
175 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
176 isl_closure_LDADD = libisl.la
177 isl_closure_SOURCES = \
180 nodist_pkginclude_HEADERS = \
181 include/isl/config.h \
183 pkginclude_HEADERS = \
186 include/isl/constraint.h \
195 include/isl/local_space.h \
200 include/isl/options.h \
201 include/isl/point.h \
202 include/isl/polynomial.h \
203 include/isl/printer.h \
204 include/isl/schedule.h \
207 include/isl/stream.h \
208 include/isl/union_map.h \
209 include/isl/union_set.h \
211 include/isl/version.h \
212 include/isl/vertices.h
215 basis_reduction_templ.c \
221 doc/implementation.tex \
231 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
232 (cd doc; make manual.pdf)
233 cp doc/manual.pdf $(distdir)/doc/
235 pkgconfigdir=$(pkgconfig_libdir)
236 pkgconfig_DATA = $(pkgconfig_libfile)
238 gitversion.h: @GIT_HEAD@
239 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
241 install-data-local: $(srcdir)/isl.py
242 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
243 $(builddir)/libisl.la`; \
245 '') echo Cannot find isl library name. GDB bindings not installed.;; \
246 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
247 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
248 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
249 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac