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 \
109 isl_transitive_closure.c \
111 isl_union_map_private.h \
114 isl_vertices_private.h \
116 EXTRA_libisl_la_SOURCES = \
120 isl_map_no_piplib.c \
121 isl_sample_no_piplib.c \
122 isl_sample_piplib.c \
123 isl_sample_piplib.h \
125 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
126 libisl_la_LDFLAGS = -version-info @versioninfo@ \
127 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
128 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
130 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
131 isl_test_LDADD = libisl.la
133 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
134 isl_polyhedron_sample_LDADD = libisl.la
135 isl_polyhedron_sample_SOURCES = \
138 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
139 isl_pip_LDADD = libisl.la
143 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
144 isl_bound_LDADD = libisl.la
145 isl_bound_SOURCES = \
148 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
149 isl_polyhedron_minimize_LDADD = libisl.la
150 isl_polyhedron_minimize_SOURCES = \
151 polyhedron_minimize.c
153 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
154 isl_polytope_scan_LDADD = libisl.la
155 isl_polytope_scan_SOURCES = \
158 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
159 isl_polyhedron_detect_equalities_LDADD = libisl.la
160 isl_polyhedron_detect_equalities_SOURCES = \
161 polyhedron_detect_equalities.c
163 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
164 isl_cat_LDADD = libisl.la
168 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
169 isl_closure_LDADD = libisl.la
170 isl_closure_SOURCES = \
173 nodist_pkginclude_HEADERS = \
174 include/isl/config.h \
176 pkginclude_HEADERS = \
179 include/isl/constraint.h \
192 include/isl/options.h \
193 include/isl/point.h \
194 include/isl/polynomial.h \
195 include/isl/printer.h \
196 include/isl/schedule.h \
199 include/isl/stream.h \
200 include/isl/union_map.h \
201 include/isl/union_set.h \
203 include/isl/version.h \
204 include/isl/vertices.h
207 basis_reduction_templ.c \
213 doc/implementation.tex \
223 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
224 (cd doc; make manual.pdf)
225 cp doc/manual.pdf $(distdir)/doc/
227 pkgconfigdir=$(pkgconfig_libdir)
228 pkgconfig_DATA = $(pkgconfig_libfile)
230 gitversion.h: @GIT_HEAD@
231 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
233 install-data-local: $(srcdir)/isl.py
234 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
235 $(builddir)/libisl.la`; \
237 '') echo Cannot find isl library name. GDB bindings not installed.;; \
238 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
239 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
240 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
241 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac