isl_set_dim: support isl_dim_all
[isl.git] / Makefile.am
blob3490956cc4a12acfc3a73a3ad91f691546954404
1 if BUNDLED_PIPLIB
2 MAYBE_PIPLIB = piplib
3 endif
5 SUBDIRS = $(MAYBE_PIPLIB) .
6 DIST_SUBDIRS = $(MAYBE_PIPLIB)
8 ACLOCAL_AMFLAGS = -I m4
10 lib_LTLIBRARIES = libisl.la
11 noinst_PROGRAMS = isl_test isl_polyhedron_sample
12 TESTS = isl_test
14 if HAVE_POLYLIB
15 ISL_POLYLIB = \
16         isl_map_polylib.c
17 endif
19 if HAVE_PIPLIB
20 ISL_PIPLIB = \
21         isl_lp_piplib.c \
22         isl_map_piplib.c \
23         isl_sample_piplib.c \
24         isl_sample_piplib.h \
25         isl_piplib.c
26 else
27 ISL_PIPLIB = \
28         isl_lp_no_piplib.c \
29         isl_map_no_piplib.c \
30         isl_sample_no_piplib.c
31 endif
32 if BUNDLED_PIPLIB
33 PIPLIB_LA = $(top_builddir)/piplib/libpiplibMP.la
34 endif
36 if NEED_GET_MEMORY_FUNCTIONS
37 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
38 endif
40 libisl_la_SOURCES = \
41         $(ISL_PIPLIB) \
42         $(ISL_POLYLIB) \
43         $(GET_MEMORY_FUNCTIONS) \
44         isl_affine_hull.c \
45         isl_basis_reduction.h \
46         basis_reduction_tab.c \
47         isl_blk.c \
48         isl_coalesce.c \
49         isl_constraint.c \
50         isl_convex_hull.c \
51         isl_ctx.c \
52         isl_dim.c \
53         isl_div.c \
54         isl_equalities.c \
55         isl_equalities.h \
56         isl_gmp.c \
57         isl_hash.c \
58         isl_input.c \
59         isl_input_omega.c \
60         isl_input_omega.h \
61         isl_list.c \
62         isl_lp.c \
63         isl_map.c \
64         isl_map_simplify.c \
65         isl_map_private.h \
66         isl_mat.c \
67         isl_mat.h \
68         isl_name.c \
69         isl_name.h \
70         isl_output.c \
71         isl_sample.h \
72         isl_sample.c \
73         isl_stream.c \
74         isl_stream.h \
75         isl_seq.c \
76         isl_tab.c \
77         isl_tab.h \
78         isl_vec.c \
79         isl_vec.h
80 EXTRA_libisl_la_SOURCES = \
81         isl_lp_piplib.c \
82         isl_lp_no_piplib.c \
83         isl_map_piplib.c \
84         isl_map_no_piplib.c \
85         isl_map_polylib.c \
86         isl_sample_no_piplib.c \
87         isl_sample_piplib.c \
88         isl_sample_piplib.h \
89         isl_piplib.c
90 libisl_la_LIBADD = $(PIPLIB_LA) @PIPLIB_LIBS@ @POLYLIB_LIBS@ -lgmp
91 libisl_la_LDFLAGS = -release @VERSION@ @PIPLIB_LDFLAGS@ @POLYLIB_LDFLAGS@ \
92         @GMP_LDFLAGS@
93 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
94         @PIPLIB_CPPFLAGS@ @POLYLIB_CPPFLAGS@ \
95         @GMP_CPPFLAGS@
97 isl_test_CPPFLAGS = -I$(srcdir)/include -Iinclude/ @GMP_CPPFLAGS@
98 isl_test_LDADD = libisl.la
100 isl_polyhedron_sample_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
101         @GMP_CPPFLAGS@
102 isl_polyhedron_sample_LDADD = libisl.la
103 isl_polyhedron_sample_SOURCES = \
104         polyhedron_sample.c
106 nodist_pkginclude_HEADERS = \
107         include/isl_ctx.h \
108         include/isl_stdint.h
109 pkginclude_HEADERS = \
110         include/isl_blk.h \
111         include/isl_constraint.h \
112         include/isl_dim.h \
113         include/isl_div.h \
114         include/isl_int.h \
115         include/isl_hash.h \
116         include/isl_list.h \
117         include/isl_lp.h \
118         include/isl_lp_piplib.h \
119         include/isl_map.h \
120         include/isl_map_piplib.h \
121         include/isl_map_polylib.h \
122         include/isl_piplib.h \
123         include/isl_polylib.h \
124         include/isl_seq.h \
125         include/isl_set.h \
126         include/isl_set_polylib.h
128 EXTRA_DIST = \
129         basis_reduction_templ.c \
130         test_inputs