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) \
41 isl_basis_reduction.h \
42 basis_reduction_tab.c \
68 isl_hmap_map_basic_set.c \
69 isl_hmap_map_basic_set.h \
74 isl_local_space_private.h \
97 isl_polynomial_private.h \
99 isl_printer_private.h \
115 isl_transitive_closure.c \
117 isl_union_map_private.h \
120 isl_vertices_private.h \
122 EXTRA_libisl_la_SOURCES = \
126 isl_map_no_piplib.c \
127 isl_sample_no_piplib.c \
128 isl_sample_piplib.c \
129 isl_sample_piplib.h \
131 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
132 libisl_la_LDFLAGS = -version-info @versioninfo@ \
133 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
134 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
136 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
137 isl_test_LDFLAGS = @GMP_LDFLAGS@
138 isl_test_LDADD = libisl.la -lgmp
140 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
141 isl_polyhedron_sample_LDADD = libisl.la
142 isl_polyhedron_sample_SOURCES = \
145 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
146 isl_pip_LDFLAGS = @GMP_LDFLAGS@
147 isl_pip_LDADD = libisl.la -lgmp
151 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
152 isl_bound_LDFLAGS = @GMP_LDFLAGS@
153 isl_bound_LDADD = libisl.la -lgmp
154 isl_bound_SOURCES = \
157 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
158 isl_polyhedron_minimize_LDFLAGS = @GMP_LDFLAGS@
159 isl_polyhedron_minimize_LDADD = libisl.la -lgmp
160 isl_polyhedron_minimize_SOURCES = \
161 polyhedron_minimize.c
163 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
164 isl_polytope_scan_LDADD = libisl.la
165 isl_polytope_scan_SOURCES = \
168 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
169 isl_polyhedron_detect_equalities_LDADD = libisl.la
170 isl_polyhedron_detect_equalities_SOURCES = \
171 polyhedron_detect_equalities.c
173 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
174 isl_cat_LDADD = libisl.la
178 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
179 isl_closure_LDADD = libisl.la
180 isl_closure_SOURCES = \
183 nodist_pkginclude_HEADERS = \
184 include/isl/config.h \
186 pkginclude_HEADERS = \
190 include/isl/constraint.h \
199 include/isl/local_space.h \
204 include/isl/options.h \
205 include/isl/point.h \
206 include/isl/polynomial.h \
207 include/isl/printer.h \
208 include/isl/schedule.h \
211 include/isl/stream.h \
212 include/isl/union_map.h \
213 include/isl/union_set.h \
215 include/isl/version.h \
216 include/isl/vertices.h
219 basis_reduction_templ.c \
227 doc/implementation.tex \
237 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
238 (cd doc; make manual.pdf)
239 cp doc/manual.pdf $(distdir)/doc/
241 pkgconfigdir=$(pkgconfig_libdir)
242 pkgconfig_DATA = $(pkgconfig_libfile)
244 gitversion.h: @GIT_HEAD@
245 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
247 install-data-local: $(srcdir)/isl.py
248 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
249 $(builddir)/libisl.la`; \
251 '') echo Cannot find isl library name. GDB bindings not installed.;; \
252 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
253 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
254 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
255 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac