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 \
84 isl_polynomial_private.h \
86 isl_printer_private.h \
101 isl_transitive_closure.c \
103 isl_union_map_private.h \
106 isl_vertices_private.h \
108 EXTRA_libisl_la_SOURCES = \
112 isl_map_no_piplib.c \
113 isl_sample_no_piplib.c \
114 isl_sample_piplib.c \
115 isl_sample_piplib.h \
117 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
118 libisl_la_LDFLAGS = -version-info @versioninfo@ \
119 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
120 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
122 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
123 isl_test_LDADD = libisl.la
125 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
126 isl_polyhedron_sample_LDADD = libisl.la
127 isl_polyhedron_sample_SOURCES = \
130 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
131 isl_pip_LDADD = libisl.la
135 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
136 isl_bound_LDADD = libisl.la
137 isl_bound_SOURCES = \
140 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
141 isl_polyhedron_minimize_LDADD = libisl.la
142 isl_polyhedron_minimize_SOURCES = \
143 polyhedron_minimize.c
145 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
146 isl_polytope_scan_LDADD = libisl.la
147 isl_polytope_scan_SOURCES = \
150 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
151 isl_polyhedron_detect_equalities_LDADD = libisl.la
152 isl_polyhedron_detect_equalities_SOURCES = \
153 polyhedron_detect_equalities.c
155 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
156 isl_cat_LDADD = libisl.la
160 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
161 isl_closure_LDADD = libisl.la
162 isl_closure_SOURCES = \
165 nodist_pkginclude_HEADERS = \
166 include/isl/config.h \
168 pkginclude_HEADERS = \
171 include/isl/constraint.h \
184 include/isl/options.h \
185 include/isl/point.h \
186 include/isl/polynomial.h \
187 include/isl/printer.h \
190 include/isl/stream.h \
191 include/isl/union_map.h \
192 include/isl/union_set.h \
194 include/isl/version.h \
195 include/isl/vertices.h
198 basis_reduction_templ.c \
204 doc/implementation.tex \
214 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
215 (cd doc; make manual.pdf)
216 cp doc/manual.pdf $(distdir)/doc/
218 pkgconfigdir=$(pkgconfig_libdir)
219 pkgconfig_DATA = $(pkgconfig_libfile)
221 gitversion.h: @GIT_HEAD@
222 echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
224 install-data-local: $(srcdir)/isl.py
225 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
226 $(builddir)/libisl.la`; \
228 '') echo Cannot find isl library name. GDB bindings not installed.;; \
229 *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
230 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
231 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
232 $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac