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 \
71 isl_hmap_map_basic_set.c \
72 isl_hmap_map_basic_set.h \
77 isl_local_space_private.h \
100 isl_polynomial_private.h \
102 isl_printer_private.h \
113 isl_schedule_private.h \
119 isl_transitive_closure.c \
121 isl_union_map_private.h \
124 isl_vertices_private.h \
126 EXTRA_libisl_la_SOURCES = \
130 isl_map_no_piplib.c \
131 isl_sample_no_piplib.c \
132 isl_sample_piplib.c \
133 isl_sample_piplib.h \
135 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
136 libisl_la_LDFLAGS = -version-info @versioninfo@ \
137 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
138 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
140 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
141 isl_test_LDFLAGS = @GMP_LDFLAGS@
142 isl_test_LDADD = libisl.la -lgmp
144 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
145 isl_polyhedron_sample_LDADD = libisl.la
146 isl_polyhedron_sample_SOURCES = \
149 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
150 isl_pip_LDFLAGS = @GMP_LDFLAGS@
151 isl_pip_LDADD = libisl.la -lgmp
155 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
156 isl_bound_LDFLAGS = @GMP_LDFLAGS@
157 isl_bound_LDADD = libisl.la -lgmp
158 isl_bound_SOURCES = \
161 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
162 isl_polyhedron_minimize_LDFLAGS = @GMP_LDFLAGS@
163 isl_polyhedron_minimize_LDADD = libisl.la -lgmp
164 isl_polyhedron_minimize_SOURCES = \
165 polyhedron_minimize.c
167 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
168 isl_polytope_scan_LDADD = libisl.la
169 isl_polytope_scan_SOURCES = \
172 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
173 isl_polyhedron_detect_equalities_LDADD = libisl.la
174 isl_polyhedron_detect_equalities_SOURCES = \
175 polyhedron_detect_equalities.c
177 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
178 isl_cat_LDADD = libisl.la
182 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
183 isl_closure_LDADD = libisl.la
184 isl_closure_SOURCES = \
187 nodist_pkginclude_HEADERS = \
188 include/isl/config.h \
190 pkginclude_HEADERS = \
195 include/isl/constraint.h \
204 include/isl/local_space.h \
208 include/isl/map_type.h \
210 include/isl/options.h \
211 include/isl/point.h \
212 include/isl/polynomial.h \
213 include/isl/printer.h \
214 include/isl/schedule.h \
217 include/isl/set_type.h \
218 include/isl/stream.h \
219 include/isl/union_map.h \
220 include/isl/union_set.h \
222 include/isl/version.h \
223 include/isl/vertices.h
227 basis_reduction_templ.c \
235 doc/implementation.tex \
245 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
246 (cd doc; make manual.pdf)
247 cp doc/manual.pdf $(distdir)/doc/
249 pkgconfigdir=$(pkgconfig_libdir)
250 pkgconfig_DATA = $(pkgconfig_libfile)
252 gitversion.h: @GIT_HEAD@
253 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
255 install-data-local: $(srcdir)/isl.py
256 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
257 $(builddir)/libisl.la`; \
259 '') echo Cannot find isl library name. GDB bindings not installed.;; \
260 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
261 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
262 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
263 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac