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 \
83 isl_polynomial_private.h \
85 isl_printer_private.h \
100 isl_transitive_closure.c \
102 isl_union_map_private.h \
105 isl_vertices_private.h \
107 EXTRA_libisl_la_SOURCES = \
111 isl_map_no_piplib.c \
112 isl_sample_no_piplib.c \
113 isl_sample_piplib.c \
114 isl_sample_piplib.h \
116 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
117 libisl_la_LDFLAGS = -version-info @versioninfo@ \
118 @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
119 libisl_la_CPPFLAGS = $(INCLUDES) @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
121 isl_test_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
122 isl_test_LDADD = libisl.la
124 isl_polyhedron_sample_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
125 isl_polyhedron_sample_LDADD = libisl.la
126 isl_polyhedron_sample_SOURCES = \
129 isl_pip_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
130 isl_pip_LDADD = libisl.la
134 isl_bound_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
135 isl_bound_LDADD = libisl.la
136 isl_bound_SOURCES = \
139 isl_polyhedron_minimize_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
140 isl_polyhedron_minimize_LDADD = libisl.la
141 isl_polyhedron_minimize_SOURCES = \
142 polyhedron_minimize.c
144 isl_polytope_scan_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
145 isl_polytope_scan_LDADD = libisl.la
146 isl_polytope_scan_SOURCES = \
149 isl_polyhedron_detect_equalities_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
150 isl_polyhedron_detect_equalities_LDADD = libisl.la
151 isl_polyhedron_detect_equalities_SOURCES = \
152 polyhedron_detect_equalities.c
154 isl_cat_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
155 isl_cat_LDADD = libisl.la
159 isl_closure_CPPFLAGS = $(INCLUDES) @GMP_CPPFLAGS@
160 isl_closure_LDADD = libisl.la
161 isl_closure_SOURCES = \
164 nodist_pkginclude_HEADERS = \
165 include/isl/config.h \
167 pkginclude_HEADERS = \
170 include/isl/constraint.h \
183 include/isl/options.h \
184 include/isl/point.h \
185 include/isl/polynomial.h \
186 include/isl/printer.h \
189 include/isl/stream.h \
190 include/isl/union_map.h \
191 include/isl/union_set.h \
193 include/isl/version.h \
194 include/isl/vertices.h
197 basis_reduction_templ.c \
203 doc/implementation.tex \
213 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
214 (cd doc; make manual.pdf)
215 cp doc/manual.pdf $(distdir)/doc/
217 pkgconfigdir=$(pkgconfig_libdir)
218 pkgconfig_DATA = $(pkgconfig_libfile)
220 gitversion.h: @GIT_HEAD@
221 echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
223 install-data-local: $(srcdir)/isl.py
224 @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \
225 $(builddir)/libisl.la`; \
227 '') echo Cannot find isl library name. GDB bindings not installed.;; \
228 *) echo $(INSTALL_DATA) $(srcdir)/isl.py $(libdir)/$$libisl-gdb.py; \
229 $(INSTALL_DATA) $(srcdir)/isl.py $(libdir)/$$libisl-gdb.py; esac