Merge branch 'maint'
[isl.git] / Makefile.am
blob3e7d7b1f5dc08280f8ec96970b24b3000163a190
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 if HAVE_CPP_ISL_H
25   CPP_H = include/isl/cpp.h include/isl/typed_cpp.h
26 if HAVE_CXX11
27   noinst_PROGRAMS += isl_test2 isl_test_cpp
28   TESTS += isl_test2 isl_test_cpp isl_test_cpp_failed.sh
29 endif
30 endif
31 if HAVE_CLANG
32 if HAVE_CXX11
33   noinst_PROGRAMS += isl_test_cpp-checked isl_test_cpp-checked-conversion
34   TESTS += isl_test_cpp-checked isl_test_cpp-checked-conversion
35 if HAVE_PYTHON
36   TESTS += isl_test_python.py
37   noinst_PYTHON = interface/isl.py
38   isl_test_python.py: interface/isl.py libisl.la
39 endif
40 endif
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_id_to_ast_expr.c \
139         isl_id_to_id.c \
140         isl_id_to_pw_aff.c \
141         isl_ilp.c \
142         isl_ilp_private.h \
143         isl_input.c \
144         isl_int.h \
145         isl_list_private.h \
146         isl_local_private.h \
147         isl_local.h \
148         isl_local.c \
149         isl_local_space_private.h \
150         isl_local_space.c \
151         isl_lp.c \
152         isl_lp_private.h \
153         isl_map.c \
154         isl_map_list.c \
155         isl_map_simplify.c \
156         isl_map_subtract.c \
157         isl_map_private.h \
158         isl_map_to_basic_set.c \
159         isl_mat.c \
160         isl_mat_private.h \
161         isl_morph.c \
162         isl_morph.h \
163         isl_id.c \
164         isl_id_private.h \
165         isl_obj.c \
166         isl_options.c \
167         isl_options_private.h \
168         isl_output.c \
169         isl_output_private.h \
170         isl_point_private.h \
171         isl_point.c \
172         isl_polynomial_private.h \
173         isl_polynomial.c \
174         isl_printer_private.h \
175         isl_printer.c \
176         print.c \
177         isl_range.c \
178         isl_range.h \
179         isl_reordering.c \
180         isl_reordering.h \
181         isl_sample.h \
182         isl_sample.c \
183         isl_scan.c \
184         isl_scan.h \
185         isl_schedule.c \
186         isl_schedule_band.c \
187         isl_schedule_band.h \
188         isl_schedule_node.c \
189         isl_schedule_node_private.h \
190         isl_schedule_read.c \
191         isl_schedule_tree.c \
192         isl_schedule_tree.h \
193         isl_schedule_private.h \
194         isl_schedule_constraints.c \
195         isl_schedule_constraints.h \
196         isl_scheduler.c \
197         isl_set_list.c \
198         isl_sort.c \
199         isl_sort.h \
200         isl_space.c \
201         isl_space_private.h \
202         isl_stream.c \
203         isl_stream_private.h \
204         isl_seq.c \
205         isl_seq.h \
206         isl_set_to_ast_graft_list.c \
207         isl_set_to_ast_graft_list.h \
208         isl_stride.c \
209         isl_tab.c \
210         isl_tab.h \
211         isl_tab_pip.c \
212         isl_tarjan.c \
213         isl_tarjan.h \
214         isl_transitive_closure.c \
215         isl_union_map.c \
216         isl_union_map_private.h \
217         isl_union_set_private.h \
218         isl_val.c \
219         isl_val_private.h \
220         isl_vec_private.h \
221         isl_vec.c \
222         isl_version.c \
223         isl_vertices_private.h \
224         isl_vertices.c \
225         isl_yaml.h
226 libisl_la_LIBADD = @MP_LIBS@
227 libisl_la_LDFLAGS = -version-info @versioninfo@ \
228         @MP_LDFLAGS@
230 isl_test_LDFLAGS = @MP_LDFLAGS@
231 isl_test_LDADD = libisl.la @MP_LIBS@
233 isl_test2_SOURCES = \
234         isl_test2.cc \
235         include/isl/cpp.h
236 isl_test2_LDFLAGS = @MP_LDFLAGS@
237 isl_test2_LDADD = libisl.la @MP_LIBS@
239 isl_test_int_LDFLAGS = @MP_LDFLAGS@
240 isl_test_int_LDADD = libisl.la @MP_LIBS@
242 if IMATH_FOR_MP
243 isl_test_imath_LDFLAGS = @MP_LDFLAGS@
244 isl_test_imath_LDADD = libisl.la @MP_LIBS@
245 endif
247 isl_polyhedron_sample_LDADD = libisl.la
248 isl_polyhedron_sample_SOURCES = \
249         polyhedron_sample.c
251 isl_pip_LDFLAGS = @MP_LDFLAGS@
252 isl_pip_LDADD = libisl.la @MP_LIBS@
253 isl_pip_SOURCES = \
254         pip.c
256 isl_schedule_LDFLAGS = @MP_LDFLAGS@
257 isl_schedule_LDADD = libisl.la @MP_LIBS@
258 isl_schedule_SOURCES = \
259         schedule.c
261 isl_schedule_cmp_LDFLAGS = @MP_LDFLAGS@
262 isl_schedule_cmp_LDADD = libisl.la @MP_LIBS@
263 isl_schedule_cmp_SOURCES = \
264         schedule_cmp.c
266 isl_flow_LDFLAGS = @MP_LDFLAGS@
267 isl_flow_LDADD = libisl.la @MP_LIBS@
268 isl_flow_SOURCES = \
269         flow.c
271 isl_flow_cmp_LDFLAGS = @MP_LDFLAGS@
272 isl_flow_cmp_LDADD = libisl.la @MP_LIBS@
273 isl_flow_cmp_SOURCES = \
274         flow_cmp.c
276 isl_codegen_LDFLAGS = @MP_LDFLAGS@
277 isl_codegen_LDADD = libisl.la @MP_LIBS@
278 isl_codegen_SOURCES = \
279         codegen.c
281 isl_bound_LDFLAGS = @MP_LDFLAGS@
282 isl_bound_LDADD = libisl.la @MP_LIBS@
283 isl_bound_SOURCES = \
284         bound.c
286 isl_polyhedron_minimize_LDFLAGS = @MP_LDFLAGS@
287 isl_polyhedron_minimize_LDADD = libisl.la @MP_LIBS@
288 isl_polyhedron_minimize_SOURCES = \
289         polyhedron_minimize.c
291 isl_polytope_scan_LDADD = libisl.la
292 isl_polytope_scan_SOURCES = \
293         polytope_scan.c
295 isl_polyhedron_detect_equalities_LDADD = libisl.la
296 isl_polyhedron_detect_equalities_SOURCES = \
297         polyhedron_detect_equalities.c
299 isl_polyhedron_remove_redundant_equalities_LDADD = libisl.la
300 isl_polyhedron_remove_redundant_equalities_SOURCES = \
301         polyhedron_remove_redundant_equalities.c
303 isl_cat_LDADD = libisl.la
304 isl_cat_SOURCES = \
305         cat.c
307 isl_closure_LDADD = libisl.la
308 isl_closure_SOURCES = \
309         closure.c
311 isl_test_cpp_CPPFLAGS = $(AM_CPPFLAGS) -UCOMPILE_ERROR
312 isl_test_cpp_SOURCES = \
313         isl_test_cpp.cc \
314         include/isl/cpp.h
315 isl_test_cpp_LDFLAGS = @MP_LDFLAGS@
316 isl_test_cpp_LDADD = libisl.la @MP_LIBS@
318 # This program is not meant to be compiled by default.
319 # In fact it is meant not to be compilable.
320 # It is identical to isl_test_cpp, except that it gets compiled
321 # with the COMPILE_ERROR flag set.
322 EXTRA_PROGRAMS = isl_test_cpp_failed
323 isl_test_cpp_failed_CPPFLAGS = $(AM_CPPFLAGS) -DCOMPILE_ERROR
324 isl_test_cpp_failed_SOURCES = \
325         isl_test_cpp.cc \
326         include/isl/cpp.h
327 isl_test_cpp_failed_LDFLAGS = @MP_LDFLAGS@
328 isl_test_cpp_failed_LDADD = libisl.la @MP_LIBS@
330 isl_test_cpp_checked_SOURCES = \
331         isl_test_cpp-checked.cc \
332         include/isl/cpp-checked.h
333 isl_test_cpp_checked_LDFLAGS = @MP_LDFLAGS@
334 isl_test_cpp_checked_LDADD = libisl.la @MP_LIBS@
336 isl_test_cpp_checked_conversion_SOURCES = \
337         isl_test_cpp-checked-conversion.cc \
338         include/isl/cpp-checked-conversion.h
339 isl_test_cpp_checked_conversion_LDFLAGS = @MP_LDFLAGS@
340 isl_test_cpp_checked_conversion_LDADD = libisl.la @MP_LIBS@
342 # dummy library that captures the dependencies on all headers
343 # that are relevant for the bindings
344 noinst_LIBRARIES = libdep.a
345 libdep_a_SOURCES = dep.c
347 if HAVE_CLANG
348 if HAVE_CXX11
349 interface/isldlname.py: libisl.la
350         $(AM_V_GEN) $(GREP) dlname $< | $(SED) -e 's/dlname/isl_dlname/' > $@
351 interface/isl.py: interface/extract_interface$(BUILD_EXEEXT) libdep.a \
352                 python/isl.py.top interface/isldlname.py
353         (cat interface/isldlname.py $(srcdir)/python/isl.py.top && \
354                 interface/extract_interface$(BUILD_EXEEXT) --language=python \
355                         $(includes) $(srcdir)/all.h) \
356                         > $@ || (rm $@ && false)
358 include/isl/cpp.h: interface/extract_interface$(BUILD_EXEEXT) libdep.a \
359                 cpp/cpp.h.top cpp/cpp.h.bot
360         $(MKDIR_P) "include/isl" && \
361         (cat $(srcdir)/cpp/cpp.h.top $(srcdir)/all.h && \
362                 interface/extract_interface$(BUILD_EXEEXT) --language=cpp \
363                         $(includes) $(srcdir)/all.h && \
364                 cat $(srcdir)/cpp/cpp.h.bot) \
365                         > $@ || (rm $@ && false)
367 include/isl/cpp-checked.h: interface/extract_interface$(BUILD_EXEEXT) libdep.a \
368                 cpp/cpp-checked.h.top cpp/cpp-checked.h.bot
369         $(MKDIR_P) "include/isl" && \
370         (cat $(srcdir)/cpp/cpp-checked.h.top $(srcdir)/all.h && \
371                 interface/extract_interface$(BUILD_EXEEXT) \
372                         --language=cpp-checked \
373                         $(includes) $(srcdir)/all.h && \
374                 cat $(srcdir)/cpp/cpp-checked.h.bot) \
375                         > $@ || (rm $@ && false)
377 include/isl/cpp-checked-conversion.h: \
378                 interface/extract_interface$(BUILD_EXEEXT) \
379                 libdep.a \
380                 cpp/cpp-checked-conversion.h.top \
381                 cpp/cpp-checked-conversion.h.bot
382         $(MKDIR_P) "include/isl" && \
383         (cat $(srcdir)/cpp/cpp-checked-conversion.h.top && \
384                 interface/extract_interface$(BUILD_EXEEXT) \
385                         --language=cpp-checked-conversion \
386                         $(includes) $(srcdir)/all.h && \
387                 cat $(srcdir)/cpp/cpp-checked-conversion.h.bot) \
388                         > $@ || (rm $@ && false)
390 include/isl/typed_cpp.h: interface/extract_interface$(BUILD_EXEEXT) \
391                 libdep.a cpp/typed_cpp.h.top cpp/typed_cpp.h.bot
392         $(MKDIR_P) "include/isl" && \
393         (cat $(srcdir)/cpp/typed_cpp.h.top && \
394                 interface/extract_interface$(BUILD_EXEEXT) \
395                         --language=template-cpp \
396                         $(includes) $(srcdir)/all.h && \
397                 cat $(srcdir)/cpp/typed_cpp.h.bot) \
398                         > $@ || (rm $@ && false)
399 endif
400 endif
402 nodist_pkginclude_HEADERS = \
403         include/isl/stdint.h
404 pkginclude_HEADERS = \
405         $(CPP_H) \
406         $(MP_INCLUDE_H) \
407         include/isl/aff.h \
408         include/isl/aff_type.h \
409         include/isl/arg.h \
410         include/isl/ast.h \
411         include/isl/ast_type.h \
412         include/isl/ast_build.h \
413         include/isl/constraint.h \
414         include/isl/ctx.h \
415         include/isl/fixed_box.h \
416         include/isl/flow.h \
417         include/isl/id.h \
418         include/isl/id_type.h \
419         include/isl/id_to_ast_expr.h \
420         include/isl/id_to_id.h \
421         include/isl/id_to_pw_aff.h \
422         include/isl/ilp.h \
423         include/isl/hash.h \
424         include/isl/hmap.h \
425         include/isl/hmap_templ.c \
426         include/isl/list.h \
427         include/isl/local_space.h \
428         include/isl/lp.h \
429         include/isl/mat.h \
430         include/isl/map.h \
431         include/isl/map_to_basic_set.h \
432         include/isl/map_type.h \
433         include/isl/maybe.h \
434         include/isl/maybe_ast_expr.h \
435         include/isl/maybe_basic_set.h \
436         include/isl/maybe_id.h \
437         include/isl/maybe_pw_aff.h \
438         include/isl/maybe_templ.h \
439         include/isl/multi.h \
440         include/isl/obj.h \
441         include/isl/options.h \
442         include/isl/point.h \
443         include/isl/polynomial.h \
444         include/isl/polynomial_type.h \
445         include/isl/printer.h \
446         include/isl/printer_type.h \
447         include/isl/schedule.h \
448         include/isl/schedule_node.h \
449         include/isl/schedule_type.h \
450         include/isl/set.h \
451         include/isl/set_type.h \
452         include/isl/space.h \
453         include/isl/space_type.h \
454         include/isl/stream.h \
455         include/isl/stride_info.h \
456         include/isl/union_map.h \
457         include/isl/union_map_type.h \
458         include/isl/union_set.h \
459         include/isl/union_set_type.h \
460         include/isl/val.h \
461         include/isl/val_type.h \
462         include/isl/vec.h \
463         include/isl/version.h \
464         include/isl/vertices.h
466 if HAVE_CLANG
467 if HAVE_CXX11
468     CPP_INTERFACES = \
469         include/isl/cpp.h \
470         include/isl/cpp-checked.h \
471         include/isl/cpp-checked-conversion.h \
472         include/isl/typed_cpp.h
473 endif
474 endif
475 BUILT_SOURCES = gitversion.h $(CPP_INTERFACES)
476 CLEANFILES = \
477         gitversion.h \
478         interface/isldlname.py \
479         interface/isl.py \
480         interface/isl.pyc \
481         $(CPP_INTERFACES)
483 DISTCLEANFILES = \
484         isl-uninstalled.sh \
485         isl-uninstalled.pc \
486         isl.pc \
487         isl.pc.in \
488         include/isl/stdint.h
490 EXTRA_DIST = \
491         LICENSE \
492         isl_config_post.h \
493         isl_aff_lex_templ.c \
494         isl_align_params_templ.c \
495         isl_align_params_bin_templ.c \
496         basis_reduction_templ.c \
497         isl_bind_domain_templ.c \
498         bset_to_bmap.c \
499         bset_from_bmap.c \
500         isl_check_named_params_templ.c \
501         check_parse_fail_test_templ.c \
502         check_reparse_templ.c \
503         check_reparse_test_templ.c \
504         check_single_reference_templ.c \
505         check_type_range_templ.c \
506         isl_copy_tuple_id_templ.c \
507         isl_domain_factor_templ.c \
508         extract_key.c \
509         isl_ilp_opt_multi_val_templ.c \
510         isl_ilp_opt_val_templ.c \
511         has_single_reference_templ.c \
512         isl_insert_domain_templ.c \
513         isl_list_macro.h \
514         isl_list_templ.c \
515         isl_list_templ.h \
516         isl_list_read_templ.c \
517         isl_map_bound_templ.c \
518         isl_map_lexopt_templ.c \
519         isl_maybe_ast_graft_list.h \
520         isl_maybe_map.h \
521         isl_multi_macro.h \
522         isl_multi_bind_templ.c \
523         isl_multi_explicit_domain.c \
524         isl_multi_pw_aff_explicit_domain.c \
525         isl_multi_union_pw_aff_explicit_domain.c \
526         isl_multi_no_explicit_domain.c \
527         isl_multi_no_domain_templ.c \
528         isl_multi_templ.c \
529         isl_multi_templ.h \
530         isl_multi_add_constant_templ.c \
531         isl_multi_align_templ.c \
532         isl_multi_align_set.c \
533         isl_multi_align_union_set.c \
534         isl_multi_apply_templ.c \
535         isl_multi_apply_set.c \
536         isl_multi_apply_union_set.c \
537         isl_multi_arith_templ.c \
538         isl_multi_bind_domain_templ.c \
539         isl_multi_cmp.c \
540         isl_multi_coalesce.c \
541         isl_multi_dim_id_templ.c \
542         isl_multi_dims.c \
543         isl_multi_domain_templ.c \
544         isl_multi_floor.c \
545         isl_multi_from_base_templ.c \
546         isl_multi_gist.c \
547         isl_multi_hash.c \
548         isl_multi_insert_domain_templ.c \
549         isl_multi_intersect.c \
550         isl_multi_identity_templ.c \
551         isl_multi_locals_templ.c \
552         isl_multi_min_max_templ.c \
553         isl_multi_move_dims_templ.c \
554         isl_multi_nan_templ.c \
555         isl_multi_param_templ.c \
556         isl_multi_product_templ.c \
557         isl_multi_read_no_explicit_domain_templ.c \
558         isl_multi_splice_templ.c \
559         isl_multi_tuple_id_templ.c \
560         isl_multi_unbind_params_templ.c \
561         isl_multi_union_add_templ.c \
562         isl_multi_zero_templ.c \
563         isl_multi_zero_space_templ.c \
564         isl_opt_mpa_templ.c \
565         opt_type.h \
566         print_templ.c \
567         print_templ_yaml.c \
568         print_yaml_field_templ.c \
569         isl_power_templ.c \
570         isl_project_out_all_params_templ.c \
571         isl_pw_macro.h \
572         isl_pw_templ.c \
573         isl_pw_templ.h \
574         isl_pw_add_constant_templ.c \
575         isl_pw_add_constant_multi_val_templ.c \
576         isl_pw_add_constant_val_templ.c \
577         isl_pw_bind_domain_templ.c \
578         isl_pw_eval.c \
579         isl_pw_hash.c \
580         isl_pw_insert_dims_templ.c \
581         isl_pw_insert_domain_templ.c \
582         isl_pw_lift_templ.c \
583         isl_pw_locals_templ.c \
584         isl_pw_morph_templ.c \
585         isl_pw_move_dims_templ.c \
586         isl_pw_neg_templ.c \
587         isl_pw_opt_templ.c \
588         isl_pw_pullback_templ.c \
589         isl_pw_range_tuple_id_templ.c \
590         isl_pw_sub_templ.c \
591         isl_pw_union_opt.c \
592         read_in_string_templ.c \
593         set_to_map.c \
594         set_from_map.c \
595         set_list_from_map_list_inl.c \
596         isl_tab_lexopt_templ.c \
597         isl_test_list_templ.c \
598         isl_test_plain_equal_templ.c \
599         isl_type_check_equal_space_templ.c \
600         isl_type_has_equal_space_bin_templ.c \
601         isl_type_has_equal_space_templ.c \
602         isl_type_has_space_templ.c \
603         isl_unbind_params_templ.c \
604         uset_to_umap.c \
605         uset_from_umap.c \
606         isl_union_macro.h \
607         isl_union_templ.c \
608         isl_union_single.c \
609         isl_union_multi.c \
610         isl_union_eval.c \
611         isl_union_locals_templ.c \
612         isl_union_map_lex_templ.c \
613         isl_union_neg.c \
614         isl_union_pw_templ.c \
615         libisl-gdb.py \
616         doc/CodingStyle \
617         doc/SubmittingPatches \
618         doc/implementation.tex \
619         doc/isl.bib \
620         doc/mypod2latex \
621         doc/manual.tex \
622         doc/reading.tex \
623         doc/user.pod \
624         imath/gmp_compat.c \
625         imath/gmp_compat.h \
626         imath/imath.c \
627         imath/imath.h \
628         imath/imrat.c \
629         imath/imrat.h \
630         all.h \
631         cpp \
632         python \
633         isl_test_cpp-generic.cc \
634         isl_test_cpp_failed.sh \
635         isl_test_python.py \
636         test_inputs
638 dist-hook:
639         echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
640         (cd doc; make manual.pdf)
641         cp doc/manual.pdf $(distdir)/doc/
643 pkgconfigdir=$(pkgconfig_libdir)
644 pkgconfig_DATA = $(pkgconfig_libfile)
646 gitversion.h: @GIT_HEAD@
647         $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
649 install-data-local: $(srcdir)/libisl-gdb.py
650         @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
651                  $(builddir)/libisl.la`; \
652         case $$libisl in \
653         '') echo Cannot find isl library name. GDB bindings not installed.;; \
654         *) echo $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
655                 $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
656         test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
657         $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
658             $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
659         esac
661 uninstall-local:
662         @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
663                  $(builddir)/libisl.la`; \
664         if test -n "$${libisl}"; then \
665                 rm -f $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
666         fi