isl_map.c: extract out shared extract_aff
[isl.git] / Makefile.am
blob1b8af62ae99de33f11e366d3c23a8cf72e577fe8
1 if HAVE_CLANG
2 if HAVE_CXX11
3 MAYBE_INTERFACE = interface
4 FORCE:
5 interface/extract_interface$(BUILD_EXEEXT): FORCE
6         $(MAKE) $(AM_MAKEFLAGS) -C interface extract_interface$(BUILD_EXEEXT)
7 endif
8 endif
9 SUBDIRS = . $(MAYBE_INTERFACE) doc
10 DIST_SUBDIRS = $(MAYBE_INTERFACE) doc
12 ACLOCAL_AMFLAGS = -I m4
13 AUTOMAKE_OPTIONS = nostdinc subdir-objects
15 lib_LTLIBRARIES = libisl.la
16 noinst_PROGRAMS = isl_test isl_polyhedron_sample isl_pip \
17         isl_polyhedron_minimize isl_polytope_scan \
18         isl_polyhedron_detect_equalities \
19         isl_polyhedron_remove_redundant_equalities isl_cat \
20         isl_closure isl_bound isl_schedule isl_codegen isl_test_int \
21         isl_flow isl_flow_cmp isl_schedule_cmp
22 TESTS = isl_test codegen_test.sh pip_test.sh bound_test.sh isl_test_int \
23         flow_test.sh schedule_test.sh
24 CPP_H = $(srcdir)/include/isl/cpp.h $(srcdir)/include/isl/typed_cpp.h
25 if HAVE_CXX11
26   noinst_PROGRAMS += isl_test2 isl_test_cpp
27   TESTS += isl_test2 isl_test_cpp isl_test_cpp_failed.sh
28 endif
29 if HAVE_CXX17
30   noinst_PROGRAMS += isl_test_cpp17 isl_test_cpp17-checked
31   TESTS += isl_test_cpp17 isl_test_cpp17-checked
32 endif
33 if HAVE_CXX11
34   noinst_PROGRAMS += isl_test_cpp-checked isl_test_cpp-checked-conversion
35   TESTS += isl_test_cpp-checked isl_test_cpp-checked-conversion
36 endif
37 if HAVE_PYTHON
38   TESTS += isl_test_python.py
39   noinst_PYTHON = interface/isl.py
40   isl_test_python.py: interface/isl.py libisl.la
41 endif
42 TEST_EXTENSIONS = .py
43 AM_TESTS_ENVIRONMENT = \
44         export PYTHONPATH=interface; \
45         export ISL_DYLD_LIBRARY_PATH=.libs; \
46         export LD_LIBRARY_PATH=".libs:$(LD_LIBRARY_PATH)";
47 PY_LOG_COMPILER = $(PYTHON)
49 if IMATH_FOR_MP
51 MP_SRC = \
52         isl_imath.c \
53         isl_imath.h \
54         isl_int_imath.h \
55         imath_wrap/gmp_compat.h \
56         imath_wrap/imath.h \
57         imath_wrap/imrat.h \
58         imath_wrap/wrap.h \
59         imath_wrap/gmp_compat.c \
60         imath_wrap/imath.c \
61         imath_wrap/imrat.c
63 noinst_PROGRAMS += isl_test_imath
64 TESTS += isl_test_imath
66 if SMALL_INT_OPT
67 MP_SRC += isl_int_sioimath.h \
68         isl_int_sioimath.c \
69         isl_val_sioimath.c
70 else
71 MP_SRC += isl_val_imath.c
72 endif
74 MP_INCLUDE_H =
75 endif
77 if GMP_FOR_MP
78 if NEED_GET_MEMORY_FUNCTIONS
79 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
80 endif
82 MP_SRC = \
83         $(GET_MEMORY_FUNCTIONS) \
84         isl_int_gmp.h \
85         isl_gmp.c \
86         isl_val_gmp.c
88 MP_INCLUDE_H = include/isl/val_gmp.h
89 endif
91 includes = -I. -I$(srcdir) -I$(srcdir)/include -Iinclude/
92 AM_CPPFLAGS = $(includes) @MP_CPPFLAGS@
93 AM_CFLAGS = @WARNING_FLAGS@ @MP_CFLAGS@
95 libisl_la_SOURCES = \
96         $(MP_SRC) \
97         isl_aff.c \
98         isl_aff_map.c \
99         isl_aff_private.h \
100         isl_affine_hull.c \
101         isl_arg.c \
102         isl_ast.c \
103         isl_ast_private.h \
104         isl_ast_build.c \
105         isl_ast_build_private.h \
106         isl_ast_build_expr.c \
107         isl_ast_build_expr.h \
108         isl_ast_codegen.c \
109         isl_ast_graft.c \
110         isl_ast_graft_private.h \
111         isl_basis_reduction.h \
112         basis_reduction_tab.c \
113         isl_bernstein.c \
114         isl_bernstein.h \
115         isl_blk.c \
116         isl_blk.h \
117         isl_bound.c \
118         isl_bound.h \
119         isl_box.c \
120         isl_coalesce.c \
121         isl_constraint.c \
122         isl_constraint_private.h \
123         isl_convex_hull.c \
124         isl_ctx.c \
125         isl_ctx_private.h \
126         isl_deprecated.c \
127         isl_dim_map.h \
128         isl_dim_map.c \
129         isl_equalities.c \
130         isl_equalities.h \
131         isl_factorization.c \
132         isl_factorization.h \
133         isl_farkas.c \
134         isl_ffs.c \
135         isl_flow.c \
136         isl_fold.c \
137         isl_hash.c \
138         isl_hash_private.h \
139         isl_id_to_ast_expr.c \
140         isl_id_to_id.c \
141         isl_id_to_pw_aff.c \
142         isl_ilp.c \
143         isl_ilp_private.h \
144         isl_input.c \
145         isl_int.h \
146         isl_list_private.h \
147         isl_local_private.h \
148         isl_local.h \
149         isl_local.c \
150         isl_local_space_private.h \
151         isl_local_space.c \
152         isl_lp.c \
153         isl_lp_private.h \
154         isl_map.c \
155         isl_map_list.c \
156         isl_map_simplify.c \
157         isl_map_subtract.c \
158         isl_map_private.h \
159         isl_map_to_basic_set.c \
160         isl_mat.c \
161         isl_mat_private.h \
162         isl_maybe_aff.h \
163         isl_morph.c \
164         isl_morph.h \
165         isl_id.c \
166         isl_id_private.h \
167         isl_obj.c \
168         isl_options.c \
169         isl_options_private.h \
170         isl_output.c \
171         isl_output_private.h \
172         isl_point_private.h \
173         isl_point.c \
174         isl_polynomial_private.h \
175         isl_polynomial.c \
176         isl_printer_private.h \
177         isl_printer.c \
178         print.c \
179         isl_range.c \
180         isl_range.h \
181         isl_reordering.c \
182         isl_reordering.h \
183         isl_sample.h \
184         isl_sample.c \
185         isl_scan.c \
186         isl_scan.h \
187         isl_schedule.c \
188         isl_schedule_band.c \
189         isl_schedule_band.h \
190         isl_schedule_node.c \
191         isl_schedule_node_private.h \
192         isl_schedule_read.c \
193         isl_schedule_tree.c \
194         isl_schedule_tree.h \
195         isl_schedule_private.h \
196         isl_schedule_constraints.c \
197         isl_schedule_constraints.h \
198         isl_scheduler.c \
199         isl_scheduler.h \
200         isl_scheduler_clustering.c \
201         isl_scheduler_clustering.h \
202         isl_scheduler_scc.c \
203         isl_scheduler_scc.h \
204         isl_set_list.c \
205         isl_sort.c \
206         isl_sort.h \
207         isl_space.c \
208         isl_space_private.h \
209         isl_stream.c \
210         isl_stream_private.h \
211         isl_seq.c \
212         isl_seq.h \
213         isl_set_to_ast_graft_list.c \
214         isl_set_to_ast_graft_list.h \
215         isl_stride.c \
216         isl_tab.c \
217         isl_tab.h \
218         isl_tab_pip.c \
219         isl_tarjan.c \
220         isl_tarjan.h \
221         isl_transitive_closure.c \
222         isl_union_map.c \
223         isl_union_map_private.h \
224         isl_union_set_private.h \
225         isl_val.c \
226         isl_val_private.h \
227         isl_vec_private.h \
228         isl_vec.c \
229         isl_version.c \
230         isl_vertices_private.h \
231         isl_vertices.c \
232         isl_yaml.h
233 libisl_la_LIBADD = @MP_LIBS@
234 libisl_la_LDFLAGS = -version-info @versioninfo@ \
235         @MP_LDFLAGS@
237 isl_test_LDFLAGS = @MP_LDFLAGS@
238 isl_test_LDADD = libisl.la @MP_LIBS@
240 isl_test2_SOURCES = \
241         isl_test2.cc \
242         $(srcdir)/include/isl/cpp.h
243 isl_test2_LDFLAGS = @MP_LDFLAGS@
244 isl_test2_LDADD = libisl.la @MP_LIBS@
246 isl_test_int_LDFLAGS = @MP_LDFLAGS@
247 isl_test_int_LDADD = libisl.la @MP_LIBS@
249 if IMATH_FOR_MP
250 isl_test_imath_LDFLAGS = @MP_LDFLAGS@
251 isl_test_imath_LDADD = libisl.la @MP_LIBS@
252 endif
254 isl_polyhedron_sample_LDADD = libisl.la
255 isl_polyhedron_sample_SOURCES = \
256         polyhedron_sample.c
258 isl_pip_LDFLAGS = @MP_LDFLAGS@
259 isl_pip_LDADD = libisl.la @MP_LIBS@
260 isl_pip_SOURCES = \
261         pip.c
263 isl_schedule_LDFLAGS = @MP_LDFLAGS@
264 isl_schedule_LDADD = libisl.la @MP_LIBS@
265 isl_schedule_SOURCES = \
266         schedule.c
268 isl_schedule_cmp_LDFLAGS = @MP_LDFLAGS@
269 isl_schedule_cmp_LDADD = libisl.la @MP_LIBS@
270 isl_schedule_cmp_SOURCES = \
271         schedule_cmp.c
273 isl_flow_LDFLAGS = @MP_LDFLAGS@
274 isl_flow_LDADD = libisl.la @MP_LIBS@
275 isl_flow_SOURCES = \
276         flow.c
278 isl_flow_cmp_LDFLAGS = @MP_LDFLAGS@
279 isl_flow_cmp_LDADD = libisl.la @MP_LIBS@
280 isl_flow_cmp_SOURCES = \
281         flow_cmp.c
283 isl_codegen_LDFLAGS = @MP_LDFLAGS@
284 isl_codegen_LDADD = libisl.la @MP_LIBS@
285 isl_codegen_SOURCES = \
286         codegen.c
288 isl_bound_LDFLAGS = @MP_LDFLAGS@
289 isl_bound_LDADD = libisl.la @MP_LIBS@
290 isl_bound_SOURCES = \
291         bound.c
293 isl_polyhedron_minimize_LDFLAGS = @MP_LDFLAGS@
294 isl_polyhedron_minimize_LDADD = libisl.la @MP_LIBS@
295 isl_polyhedron_minimize_SOURCES = \
296         polyhedron_minimize.c
298 isl_polytope_scan_LDADD = libisl.la
299 isl_polytope_scan_SOURCES = \
300         polytope_scan.c
302 isl_polyhedron_detect_equalities_LDADD = libisl.la
303 isl_polyhedron_detect_equalities_SOURCES = \
304         polyhedron_detect_equalities.c
306 isl_polyhedron_remove_redundant_equalities_LDADD = libisl.la
307 isl_polyhedron_remove_redundant_equalities_SOURCES = \
308         polyhedron_remove_redundant_equalities.c
310 isl_cat_LDADD = libisl.la
311 isl_cat_SOURCES = \
312         cat.c
314 isl_closure_LDADD = libisl.la
315 isl_closure_SOURCES = \
316         closure.c
318 isl_test_cpp_CPPFLAGS = $(AM_CPPFLAGS) -UCOMPILE_ERROR
319 isl_test_cpp_SOURCES = \
320         isl_test_cpp.cc \
321         $(srcdir)/include/isl/cpp.h
322 isl_test_cpp_LDFLAGS = @MP_LDFLAGS@
323 isl_test_cpp_LDADD = libisl.la @MP_LIBS@
325 # This program is not meant to be compiled by default.
326 # In fact it is meant not to be compilable.
327 # It is identical to isl_test_cpp, except that it gets compiled
328 # with the COMPILE_ERROR flag set.
329 EXTRA_PROGRAMS = isl_test_cpp_failed
330 isl_test_cpp_failed_CPPFLAGS = $(AM_CPPFLAGS) -DCOMPILE_ERROR
331 isl_test_cpp_failed_SOURCES = \
332         isl_test_cpp.cc \
333         $(srcdir)/include/isl/cpp.h
334 isl_test_cpp_failed_LDFLAGS = @MP_LDFLAGS@
335 isl_test_cpp_failed_LDADD = libisl.la @MP_LIBS@
337 isl_test_cpp17_SOURCES = \
338         isl_test_cpp17.cc \
339         $(srcdir)/include/isl/cpp.h
340 isl_test_cpp17_LDFLAGS = @MP_LDFLAGS@
341 isl_test_cpp17_LDADD = libisl.la @MP_LIBS@
343 isl_test_cpp_checked_SOURCES = \
344         isl_test_cpp-checked.cc \
345         $(srcdir)/include/isl/cpp-checked.h
346 isl_test_cpp_checked_LDFLAGS = @MP_LDFLAGS@
347 isl_test_cpp_checked_LDADD = libisl.la @MP_LIBS@
349 isl_test_cpp17_checked_SOURCES = \
350         isl_test_cpp17-checked.cc \
351         $(srcdir)/include/isl/cpp.h
352 isl_test_cpp17_checked_LDFLAGS = @MP_LDFLAGS@
353 isl_test_cpp17_checked_LDADD = libisl.la @MP_LIBS@
355 isl_test_cpp_checked_conversion_SOURCES = \
356         isl_test_cpp-checked-conversion.cc \
357         $(srcdir)/include/isl/cpp-checked-conversion.h
358 isl_test_cpp_checked_conversion_LDFLAGS = @MP_LDFLAGS@
359 isl_test_cpp_checked_conversion_LDADD = libisl.la @MP_LIBS@
361 # dummy library that captures the dependencies on all headers
362 # that are relevant for the bindings
363 noinst_LIBRARIES = libdep.a
364 libdep_a_SOURCES = dep.c
366 if HAVE_CLANG
367 if HAVE_CXX11
368 $(srcdir)/interface/isl.py.core: interface/extract_interface$(BUILD_EXEEXT) \
369                 libdep.a
370         $(AM_V_GEN)interface/extract_interface$(BUILD_EXEEXT) \
371                 --language=python $(includes) $(srcdir)/all.h \
372                 > interface/isl.py.Tcore && mv interface/isl.py.Tcore $@
374 $(srcdir)/include/isl/cpp.h: interface/extract_interface$(BUILD_EXEEXT) \
375                 libdep.a cpp/cpp.h.top cpp/cpp.h.bot
376         $(AM_V_GEN)$(MKDIR_P) "include/isl" && \
377         (cat $(srcdir)/cpp/cpp.h.top $(srcdir)/all.h && \
378                 interface/extract_interface$(BUILD_EXEEXT) --language=cpp \
379                         $(includes) $(srcdir)/all.h && \
380                 cat $(srcdir)/cpp/cpp.h.bot) \
381                         > interface/cpp.Th && mv interface/cpp.Th $@
383 $(srcdir)/include/isl/cpp-checked.h: \
384                 interface/extract_interface$(BUILD_EXEEXT) libdep.a \
385                 cpp/cpp-checked.h.top cpp/cpp-checked.h.bot
386         $(AM_V_GEN)$(MKDIR_P) "include/isl" && \
387         (cat $(srcdir)/cpp/cpp-checked.h.top $(srcdir)/all.h && \
388                 interface/extract_interface$(BUILD_EXEEXT) \
389                         --language=cpp-checked \
390                         $(includes) $(srcdir)/all.h && \
391                 cat $(srcdir)/cpp/cpp-checked.h.bot) \
392                         > interface/cpp-checked.Th && \
393                         mv interface/cpp-checked.Th $@
395 $(srcdir)/include/isl/cpp-checked-conversion.h: \
396                 interface/extract_interface$(BUILD_EXEEXT) \
397                 libdep.a \
398                 cpp/cpp-checked-conversion.h.top \
399                 cpp/cpp-checked-conversion.h.bot
400         $(AM_V_GEN)$(MKDIR_P) "include/isl" && \
401         (cat $(srcdir)/cpp/cpp-checked-conversion.h.top && \
402                 interface/extract_interface$(BUILD_EXEEXT) \
403                         --language=cpp-checked-conversion \
404                         $(includes) $(srcdir)/all.h && \
405                 cat $(srcdir)/cpp/cpp-checked-conversion.h.bot) \
406                         > interface/cpp-checked-conversion.Th && \
407                         mv interface/cpp-checked-conversion.Th $@
409 $(srcdir)/include/isl/typed_cpp.h: interface/extract_interface$(BUILD_EXEEXT) \
410                 libdep.a cpp/typed_cpp.h.top cpp/typed_cpp.h.bot
411         $(AM_V_GEN)$(MKDIR_P) "include/isl" && \
412         (cat $(srcdir)/cpp/typed_cpp.h.top && \
413                 interface/extract_interface$(BUILD_EXEEXT) \
414                         --language=template-cpp \
415                         $(includes) $(srcdir)/all.h && \
416                 cat $(srcdir)/cpp/typed_cpp.h.bot) \
417                         > interface/typed_cpp.Th && mv interface/typed_cpp.Th $@
418 endif
419 endif
421 interface/isldlname.py: libisl.la
422         $(AM_V_GEN)$(MKDIR_P) "interface" && \
423                 $(GREP) dlname libisl.la | \
424                 $(SED) -e 's/dlname/isl_dlname/' > $@
425 interface/isl.py: python/isl.py.top interface/isldlname.py \
426                 $(srcdir)/interface/isl.py.core
427         $(AM_V_GEN)cat interface/isldlname.py $(srcdir)/python/isl.py.top \
428                 $(srcdir)/interface/isl.py.core > interface/isl.Tpy && \
429                 mv interface/isl.Tpy $@
431 nodist_pkginclude_HEADERS = \
432         include/isl/stdint.h
433 pkginclude_HEADERS = \
434         $(CPP_H) \
435         $(MP_INCLUDE_H) \
436         include/isl/aff.h \
437         include/isl/aff_type.h \
438         include/isl/arg.h \
439         include/isl/ast.h \
440         include/isl/ast_type.h \
441         include/isl/ast_build.h \
442         include/isl/constraint.h \
443         include/isl/ctx.h \
444         include/isl/fixed_box.h \
445         include/isl/flow.h \
446         include/isl/id.h \
447         include/isl/id_type.h \
448         include/isl/id_to_ast_expr.h \
449         include/isl/id_to_id.h \
450         include/isl/id_to_pw_aff.h \
451         include/isl/ilp.h \
452         include/isl/hash.h \
453         include/isl/hmap.h \
454         include/isl/hmap_templ.c \
455         include/isl/list.h \
456         include/isl/local_space.h \
457         include/isl/lp.h \
458         include/isl/mat.h \
459         include/isl/map.h \
460         include/isl/map_to_basic_set.h \
461         include/isl/map_type.h \
462         include/isl/maybe.h \
463         include/isl/maybe_ast_expr.h \
464         include/isl/maybe_basic_set.h \
465         include/isl/maybe_id.h \
466         include/isl/maybe_pw_aff.h \
467         include/isl/maybe_templ.h \
468         include/isl/multi.h \
469         include/isl/obj.h \
470         include/isl/options.h \
471         include/isl/point.h \
472         include/isl/polynomial.h \
473         include/isl/polynomial_type.h \
474         include/isl/printer.h \
475         include/isl/printer_type.h \
476         include/isl/schedule.h \
477         include/isl/schedule_node.h \
478         include/isl/schedule_type.h \
479         include/isl/set.h \
480         include/isl/set_type.h \
481         include/isl/space.h \
482         include/isl/space_type.h \
483         include/isl/stream.h \
484         include/isl/stride_info.h \
485         include/isl/union_map.h \
486         include/isl/union_map_type.h \
487         include/isl/union_set.h \
488         include/isl/union_set_type.h \
489         include/isl/val.h \
490         include/isl/val_type.h \
491         include/isl/vec.h \
492         include/isl/version.h \
493         include/isl/vertices.h
495 CPP_INTERFACES = \
496         $(srcdir)/include/isl/cpp.h \
497         $(srcdir)/include/isl/cpp-checked.h \
498         $(srcdir)/include/isl/cpp-checked-conversion.h \
499         $(srcdir)/include/isl/typed_cpp.h
500 if HAVE_CLANG
501 if HAVE_CXX11
502     BUILT_CPP_INTERFACES = $(CPP_INTERFACES)
503 endif
504 endif
505 BUILT_SOURCES = gitversion.h $(BUILT_CPP_INTERFACES) interface/isl.py
506 CLEANFILES = \
507         gitversion.h \
508         interface/isldlname.py \
509         interface/isl.py \
510         interface/isl.pyc \
511         interface/__pycache__/*.pyc
513 DISTCLEANFILES = \
514         isl-uninstalled.sh \
515         isl-uninstalled.pc \
516         isl.pc \
517         isl.pc.in \
518         include/isl/stdint.h
520 EXTRA_DIST = \
521         LICENSE \
522         isl_config_post.h \
523         isl_aff_lex_templ.c \
524         isl_align_params_templ.c \
525         isl_align_params_bin_templ.c \
526         isl_ast_node_set_field_templ.c \
527         basis_reduction_templ.c \
528         isl_bind_domain_templ.c \
529         bset_to_bmap.c \
530         bset_from_bmap.c \
531         isl_check_named_params_templ.c \
532         check_parse_fail_test_templ.c \
533         check_reparse_templ.c \
534         check_reparse_test_templ.c \
535         check_single_reference_templ.c \
536         check_type_range_templ.c \
537         isl_copy_tuple_id_templ.c \
538         isl_domain_factor_templ.c \
539         isl_drop_unused_params_templ.c \
540         extract_key.c \
541         isl_from_range_templ.c \
542         isl_ilp_opt_fn_val_templ.c \
543         isl_ilp_opt_multi_val_templ.c \
544         isl_ilp_opt_val_templ.c \
545         has_single_reference_templ.c \
546         isl_insert_domain_templ.c \
547         isl_list_macro.h \
548         isl_list_templ.c \
549         isl_list_templ.h \
550         isl_list_read_templ.c \
551         isl_list_read_yaml_templ.c \
552         isl_map_bound_templ.c \
553         isl_map_lexopt_templ.c \
554         isl_maybe_ast_graft_list.h \
555         isl_maybe_map.h \
556         isl_multi_macro.h \
557         isl_multi_bind_templ.c \
558         isl_multi_explicit_domain.c \
559         isl_multi_pw_aff_explicit_domain.c \
560         isl_multi_union_pw_aff_explicit_domain.c \
561         isl_multi_no_explicit_domain.c \
562         isl_multi_no_domain_templ.c \
563         isl_multi_templ.c \
564         isl_multi_templ.h \
565         isl_multi_add_constant_templ.c \
566         isl_multi_align_set.c \
567         isl_multi_align_union_set.c \
568         isl_multi_apply_templ.c \
569         isl_multi_apply_explicit_domain_templ.c \
570         isl_multi_apply_no_explicit_domain_templ.c \
571         isl_multi_apply_set_explicit_domain_templ.c \
572         isl_multi_apply_set_no_explicit_domain_templ.c \
573         isl_multi_apply_union_set_explicit_domain_templ.c \
574         isl_multi_arith_templ.c \
575         isl_multi_bin_val_templ.c \
576         isl_multi_bind_domain_templ.c \
577         isl_multi_check_domain_templ.c \
578         isl_multi_cmp.c \
579         isl_multi_coalesce.c \
580         isl_multi_dim_id_templ.c \
581         isl_multi_dims.c \
582         isl_multi_domain_templ.c \
583         isl_multi_domain_reverse_templ.c \
584         isl_multi_floor.c \
585         isl_multi_from_base_templ.c \
586         isl_multi_from_tuple_templ.c \
587         isl_multi_gist.c \
588         isl_multi_hash.c \
589         isl_multi_insert_domain_templ.c \
590         isl_multi_intersect.c \
591         isl_multi_identity_templ.c \
592         isl_multi_locals_templ.c \
593         isl_multi_min_max_templ.c \
594         isl_multi_move_dims_templ.c \
595         isl_multi_nan_templ.c \
596         isl_multi_param_templ.c \
597         isl_multi_product_templ.c \
598         isl_multi_pw_aff_pullback_templ.c \
599         isl_multi_read_no_explicit_domain_templ.c \
600         isl_multi_splice_templ.c \
601         isl_multi_tuple_id_templ.c \
602         isl_multi_un_op_templ.c \
603         isl_multi_unbind_params_templ.c \
604         isl_multi_union_add_templ.c \
605         isl_multi_zero_templ.c \
606         isl_multi_zero_space_templ.c \
607         isl_opt_mpa_templ.c \
608         opt_type.h \
609         print_templ.c \
610         print_templ_yaml.c \
611         print_yaml_field_templ.c \
612         isl_power_templ.c \
613         isl_project_out_all_params_templ.c \
614         isl_project_out_param_templ.c \
615         isl_pw_macro.h \
616         isl_pw_templ.c \
617         isl_pw_templ.h \
618         isl_pw_add_constant_templ.c \
619         isl_pw_add_constant_multi_val_templ.c \
620         isl_pw_add_constant_val_templ.c \
621         isl_pw_add_disjoint_templ.c \
622         isl_pw_bind_domain_templ.c \
623         isl_pw_domain_reverse_templ.c \
624         isl_pw_eval.c \
625         isl_pw_fix_templ.c \
626         isl_pw_from_range_templ.c \
627         isl_pw_hash.c \
628         isl_pw_insert_dims_templ.c \
629         isl_pw_insert_domain_templ.c \
630         isl_pw_lift_templ.c \
631         isl_pw_locals_templ.c \
632         isl_pw_morph_templ.c \
633         isl_pw_move_dims_templ.c \
634         isl_pw_neg_templ.c \
635         isl_pw_opt_templ.c \
636         isl_pw_print_templ.c \
637         isl_pw_pullback_templ.c \
638         isl_pw_range_tuple_id_templ.c \
639         isl_pw_scale_templ.c \
640         isl_pw_split_dims_templ.c \
641         isl_pw_sub_templ.c \
642         isl_pw_un_op_templ.c \
643         isl_pw_union_opt.c \
644         isl_read_from_str_templ.c \
645         read_in_string_templ.c \
646         set_to_map.c \
647         set_from_map.c \
648         set_list_from_map_list_inl.c \
649         isl_stream_read_pw_with_params_templ.c \
650         isl_stream_read_with_params_templ.c \
651         isl_tab_lexopt_templ.c \
652         isl_test_list_templ.c \
653         isl_test_plain_equal_templ.c \
654         isl_type_check_equal_space_templ.c \
655         isl_type_check_match_range_multi_val.c \
656         isl_type_has_equal_space_bin_templ.c \
657         isl_type_has_equal_space_templ.c \
658         isl_type_has_space_templ.c \
659         isl_unbind_params_templ.c \
660         uset_to_umap.c \
661         uset_from_umap.c \
662         isl_union_macro.h \
663         isl_union_templ.c \
664         isl_union_single.c \
665         isl_union_multi.c \
666         isl_union_domain_reverse_templ.c \
667         isl_union_eval.c \
668         isl_union_locals_templ.c \
669         isl_union_map_lex_templ.c \
670         isl_union_neg.c \
671         isl_union_print_templ.c \
672         isl_union_pw_templ.c \
673         isl_union_sub_templ.c \
674         libisl-gdb.py \
675         doc/CodingStyle \
676         doc/SubmittingPatches \
677         doc/implementation.tex \
678         doc/isl.bib \
679         doc/mypod2latex \
680         doc/manual.tex \
681         doc/reading.tex \
682         doc/user.pod \
683         imath/gmp_compat.c \
684         imath/gmp_compat.h \
685         imath/imath.c \
686         imath/imath.h \
687         imath/imrat.c \
688         imath/imrat.h \
689         interface/isl.py.core \
690         all.h \
691         cpp \
692         python \
693         isl_test_cpp-generic.cc \
694         isl_test_cpp_failed.sh \
695         isl_test_cpp17-generic.cc \
696         isl_test_python.py \
697         test_inputs
699 dist-hook:
700         echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
701         (cd doc; make manual.pdf)
702         cp doc/manual.pdf $(distdir)/doc/
703         chmod -R u+w $(distdir)/include/isl
704         cp $(CPP_INTERFACES) $(distdir)/include/isl
706 pkgconfigdir=$(pkgconfig_libdir)
707 pkgconfig_DATA = $(pkgconfig_libfile)
709 gitversion.h: @GIT_HEAD@
710         $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
712 install-data-local: $(srcdir)/libisl-gdb.py
713         @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
714                  $(builddir)/libisl.la`; \
715         case $$libisl in \
716         '') echo Cannot find isl library name. GDB bindings not installed.;; \
717         *) echo $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
718                 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
719         test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
720         $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
721             $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
722         esac
724 uninstall-local:
725         @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
726                  $(builddir)/libisl.la`; \
727         if test -n "$${libisl}"; then \
728                 rm -f $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
729         fi