Makefile.am: really include include/isl_vertices.h
[isl.git] / Makefile.am
blob300d4d50253c48faa49829ad6eaa04749d475e85
1 SUBDIRS = . doc
2 DIST_SUBDIRS = doc
4 ACLOCAL_AMFLAGS = -I m4
6 lib_LTLIBRARIES = libisl.la
7 noinst_PROGRAMS = isl_test isl_polyhedron_sample isl_pip \
8         isl_polyhedron_minimize isl_polytope_scan \
9         isl_polyhedron_detect_equalities isl_cat \
10         isl_closure isl_bound
11 TESTS = isl_test pip_test.sh bound_test.sh
13 if HAVE_PIPLIB
14 ISL_PIPLIB = \
15         isl_lp_piplib.c \
16         isl_map_piplib.c \
17         isl_sample_piplib.c \
18         isl_sample_piplib.h \
19         isl_piplib.c
20 else
21 ISL_PIPLIB = \
22         isl_lp_no_piplib.c \
23         isl_map_no_piplib.c \
24         isl_sample_no_piplib.c
25 endif
27 if NEED_GET_MEMORY_FUNCTIONS
28 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
29 endif
31 libisl_la_SOURCES = \
32         $(ISL_PIPLIB) \
33         $(GET_MEMORY_FUNCTIONS) \
34         isl_affine_hull.c \
35         isl_arg.c \
36         isl_basis_reduction.h \
37         basis_reduction_tab.c \
38         isl_bernstein.c \
39         isl_bernstein.h \
40         isl_blk.c \
41         isl_bound.c \
42         isl_bound.h \
43         isl_coalesce.c \
44         isl_constraint.c \
45         isl_convex_hull.c \
46         isl_ctx.c \
47         isl_dim.c \
48         isl_dim_private.h \
49         isl_div.c \
50         isl_equalities.c \
51         isl_equalities.h \
52         isl_factorization.c \
53         isl_factorization.h \
54         isl_flow.c \
55         isl_fold.c \
56         isl_gmp.c \
57         isl_hash.c \
58         isl_ilp.c \
59         isl_input.c \
60         isl_list.c \
61         isl_lp.c \
62         isl_lp_piplib.h \
63         isl_map.c \
64         isl_map_simplify.c \
65         isl_map_subtract.c \
66         isl_map_private.h \
67         isl_map_piplib.h \
68         isl_mat.c \
69         isl_morph.c \
70         isl_morph.h \
71         isl_name.c \
72         isl_name.h \
73         isl_obj.c \
74         isl_options.c \
75         isl_output.c \
76         isl_piplib.h \
77         isl_point_private.h \
78         isl_point.c \
79         isl_polynomial_private.h \
80         isl_polynomial.c \
81         isl_printer_private.h \
82         isl_printer.c \
83         isl_range.c \
84         isl_range.h \
85         isl_sample.h \
86         isl_sample.c \
87         isl_scan.c \
88         isl_scan.h \
89         isl_stream.c \
90         isl_seq.c \
91         isl_tab.c \
92         isl_tab.h \
93         isl_tab_pip.c \
94         isl_transitive_closure.c \
95         isl_vec.c \
96         isl_version.c \
97         isl_vertices_private.h \
98         isl_vertices.c
99 EXTRA_libisl_la_SOURCES = \
100         isl_lp_piplib.c \
101         isl_lp_no_piplib.c \
102         isl_map_piplib.c \
103         isl_map_no_piplib.c \
104         isl_sample_no_piplib.c \
105         isl_sample_piplib.c \
106         isl_sample_piplib.h \
107         isl_piplib.c
108 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
109 libisl_la_LDFLAGS = -version-info @versioninfo@ \
110         @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
111 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
112         @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
114 isl_test_CPPFLAGS = -I$(srcdir)/include -Iinclude/ @GMP_CPPFLAGS@
115 isl_test_LDADD = libisl.la
117 isl_polyhedron_sample_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
118         @GMP_CPPFLAGS@
119 isl_polyhedron_sample_LDADD = libisl.la
120 isl_polyhedron_sample_SOURCES = \
121         polyhedron_sample.c
123 isl_pip_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
124         @GMP_CPPFLAGS@
125 isl_pip_LDADD = libisl.la
126 isl_pip_SOURCES = \
127         pip.c
129 isl_bound_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
130         @GMP_CPPFLAGS@
131 isl_bound_LDADD = libisl.la
132 isl_bound_SOURCES = \
133         bound.c
135 isl_polyhedron_minimize_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
136         @GMP_CPPFLAGS@
137 isl_polyhedron_minimize_LDADD = libisl.la
138 isl_polyhedron_minimize_SOURCES = \
139         polyhedron_minimize.c
141 isl_polytope_scan_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
142         @GMP_CPPFLAGS@
143 isl_polytope_scan_LDADD = libisl.la
144 isl_polytope_scan_SOURCES = \
145         polytope_scan.c
147 isl_polyhedron_detect_equalities_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
148         @GMP_CPPFLAGS@
149 isl_polyhedron_detect_equalities_LDADD = libisl.la
150 isl_polyhedron_detect_equalities_SOURCES = \
151         polyhedron_detect_equalities.c
153 isl_cat_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
154         @GMP_CPPFLAGS@
155 isl_cat_LDADD = libisl.la
156 isl_cat_SOURCES = \
157         cat.c
159 isl_closure_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
160         @GMP_CPPFLAGS@
161 isl_closure_LDADD = libisl.la
162 isl_closure_SOURCES = \
163         closure.c
165 nodist_pkginclude_HEADERS = \
166         include/isl_config.h \
167         include/isl_stdint.h
168 pkginclude_HEADERS = \
169         include/isl_arg.h \
170         include/isl_blk.h \
171         include/isl_constraint.h \
172         include/isl_ctx.h \
173         include/isl_dim.h \
174         include/isl_div.h \
175         include/isl_flow.h \
176         include/isl_ilp.h \
177         include/isl_int.h \
178         include/isl_hash.h \
179         include/isl_list.h \
180         include/isl_lp.h \
181         include/isl_mat.h \
182         include/isl_map.h \
183         include/isl_obj.h \
184         include/isl_options.h \
185         include/isl_point.h \
186         include/isl_polynomial.h \
187         include/isl_printer.h \
188         include/isl_seq.h \
189         include/isl_set.h \
190         include/isl_stream.h \
191         include/isl_vec.h \
192         include/isl_version.h \
193         include/isl_vertices.h
195 EXTRA_DIST = \
196         basis_reduction_templ.c \
197         isl_pw_templ.c \
198         doc/chicago.bst \
199         doc/chicago.sty \
200         doc/implementation.tex \
201         doc/isl.bib \
202         doc/mypod2latex \
203         doc/manual.tex \
204         doc/user.pod \
205         bound_test.sh \
206         pip_test.sh \
207         test_inputs
209 dist-hook:
210         echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
211         (cd doc; make manual.pdf)
212         cp doc/manual.pdf $(distdir)/doc/
214 pkgconfigdir=$(pkgconfig_libdir)
215 pkgconfig_DATA = $(pkgconfig_libfile)
217 gitversion.h: @GIT_HEAD@
218         echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@