2 MAYBE_INTERFACE = interface
4 SUBDIRS = . $(MAYBE_INTERFACE) doc
5 DIST_SUBDIRS = $(MAYBE_INTERFACE) doc
7 ACLOCAL_AMFLAGS = -I m4
8 AUTOMAKE_OPTIONS = nostdinc
10 lib_LTLIBRARIES = libisl.la
11 noinst_PROGRAMS = isl_test isl_polyhedron_sample isl_pip \
12 isl_polyhedron_minimize isl_polytope_scan \
13 isl_polyhedron_detect_equalities isl_cat \
15 TESTS = isl_test pip_test.sh bound_test.sh
28 isl_sample_no_piplib.c
31 if NEED_GET_MEMORY_FUNCTIONS
32 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
35 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/
36 AM_CFLAGS = @WARNING_FLAGS@
40 $(GET_MEMORY_FUNCTIONS) \
47 isl_basis_reduction.h \
48 basis_reduction_tab.c \
56 isl_constraint_private.h \
72 isl_hmap_map_basic_set.c \
73 isl_hmap_map_basic_set.h \
78 isl_local_space_private.h \
95 isl_options_private.h \
100 isl_point_private.h \
102 isl_polynomial_private.h \
104 isl_printer_private.h \
116 isl_schedule_private.h \
118 isl_space_private.h \
120 isl_stream_private.h \
125 isl_transitive_closure.c \
127 isl_union_map_private.h \
130 isl_vertices_private.h \
132 EXTRA_libisl_la_SOURCES = \
136 isl_map_no_piplib.c \
137 isl_sample_no_piplib.c \
138 isl_sample_piplib.c \
139 isl_sample_piplib.h \
141 libisl_la_LIBADD = @PIPLIB_LIBS@ @GMP_LIBS@
142 libisl_la_LDFLAGS = -version-info @versioninfo@ \
143 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
144 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
146 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
147 isl_test_LDFLAGS = @GMP_LDFLAGS@
148 isl_test_LDADD = libisl.la @GMP_LIBS@
150 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
151 isl_polyhedron_sample_LDADD = libisl.la
152 isl_polyhedron_sample_SOURCES = \
155 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
156 isl_pip_LDFLAGS = @GMP_LDFLAGS@
157 isl_pip_LDADD = libisl.la @GMP_LIBS@
161 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
162 isl_bound_LDFLAGS = @GMP_LDFLAGS@
163 isl_bound_LDADD = libisl.la @GMP_LIBS@
164 isl_bound_SOURCES = \
167 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
168 isl_polyhedron_minimize_LDFLAGS = @GMP_LDFLAGS@
169 isl_polyhedron_minimize_LDADD = libisl.la @GMP_LIBS@
170 isl_polyhedron_minimize_SOURCES = \
171 polyhedron_minimize.c
173 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
174 isl_polytope_scan_LDADD = libisl.la
175 isl_polytope_scan_SOURCES = \
178 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
179 isl_polyhedron_detect_equalities_LDADD = libisl.la
180 isl_polyhedron_detect_equalities_SOURCES = \
181 polyhedron_detect_equalities.c
183 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
184 isl_cat_LDADD = libisl.la
188 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
189 isl_closure_LDADD = libisl.la
190 isl_closure_SOURCES = \
193 nodist_pkginclude_HEADERS = \
194 include/isl/config.h \
196 pkginclude_HEADERS = \
198 include/isl/aff_type.h \
202 include/isl/constraint.h \
211 include/isl/local_space.h \
215 include/isl/map_type.h \
216 include/isl/multi.h \
218 include/isl/options.h \
219 include/isl/point.h \
220 include/isl/polynomial.h \
221 include/isl/polynomial_type.h \
222 include/isl/printer.h \
223 include/isl/schedule.h \
226 include/isl/set_type.h \
227 include/isl/space.h \
228 include/isl/stream.h \
229 include/isl/union_map.h \
230 include/isl/union_map_type.h \
231 include/isl/union_set.h \
232 include/isl/union_set_type.h \
234 include/isl/version.h \
235 include/isl/vertices.h
239 basis_reduction_templ.c \
249 doc/SubmittingPatches \
252 doc/implementation.tex \
260 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
261 (cd doc; make manual.pdf)
262 cp doc/manual.pdf $(distdir)/doc/
264 pkgconfigdir=$(pkgconfig_libdir)
265 pkgconfig_DATA = $(pkgconfig_libfile)
267 gitversion.h: @GIT_HEAD@
268 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
270 install-data-local: $(srcdir)/isl.py
271 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
272 $(builddir)/libisl.la`; \
274 '') echo Cannot find isl library name. GDB bindings not installed.;; \
275 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
276 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
277 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
278 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac