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 \
65 isl_hmap_map_basic_set.c \
66 isl_hmap_map_basic_set.h \
91 isl_polynomial_private.h \
93 isl_printer_private.h \
108 isl_transitive_closure.c \
110 isl_union_map_private.h \
113 isl_vertices_private.h \
115 EXTRA_libisl_la_SOURCES = \
119 isl_map_no_piplib.c \
120 isl_sample_no_piplib.c \
121 isl_sample_piplib.c \
122 isl_sample_piplib.h \
124 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
125 libisl_la_LDFLAGS = -version-info @versioninfo@ \
126 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
127 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
129 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
130 isl_test_LDADD = libisl.la
132 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
133 isl_polyhedron_sample_LDADD = libisl.la
134 isl_polyhedron_sample_SOURCES = \
137 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
138 isl_pip_LDADD = libisl.la
142 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
143 isl_bound_LDADD = libisl.la
144 isl_bound_SOURCES = \
147 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
148 isl_polyhedron_minimize_LDADD = libisl.la
149 isl_polyhedron_minimize_SOURCES = \
150 polyhedron_minimize.c
152 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
153 isl_polytope_scan_LDADD = libisl.la
154 isl_polytope_scan_SOURCES = \
157 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
158 isl_polyhedron_detect_equalities_LDADD = libisl.la
159 isl_polyhedron_detect_equalities_SOURCES = \
160 polyhedron_detect_equalities.c
162 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
163 isl_cat_LDADD = libisl.la
167 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
168 isl_closure_LDADD = libisl.la
169 isl_closure_SOURCES = \
172 nodist_pkginclude_HEADERS = \
173 include/isl/config.h \
175 pkginclude_HEADERS = \
178 include/isl/constraint.h \
191 include/isl/options.h \
192 include/isl/point.h \
193 include/isl/polynomial.h \
194 include/isl/printer.h \
197 include/isl/stream.h \
198 include/isl/union_map.h \
199 include/isl/union_set.h \
201 include/isl/version.h \
202 include/isl/vertices.h
205 basis_reduction_templ.c \
211 doc/implementation.tex \
221 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
222 (cd doc; make manual.pdf)
223 cp doc/manual.pdf $(distdir)/doc/
225 pkgconfigdir=$(pkgconfig_libdir)
226 pkgconfig_DATA = $(pkgconfig_libfile)
228 gitversion.h: @GIT_HEAD@
229 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
231 install-data-local: $(srcdir)/isl.py
232 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
233 $(builddir)/libisl.la`; \
235 '') echo Cannot find isl library name. GDB bindings not installed.;; \
236 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
237 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
238 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
239 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac