isl_map_read: accept lists of affine expressions in constraints
[isl.git] / Makefile.am
blob85815bbed942acf2c375e20451b31616410e5c0c
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 TESTS = isl_test
12 if HAVE_PIPLIB
13 ISL_PIPLIB = \
14         isl_lp_piplib.c \
15         isl_map_piplib.c \
16         isl_sample_piplib.c \
17         isl_sample_piplib.h \
18         isl_piplib.c
19 else
20 ISL_PIPLIB = \
21         isl_lp_no_piplib.c \
22         isl_map_no_piplib.c \
23         isl_sample_no_piplib.c
24 endif
26 if NEED_GET_MEMORY_FUNCTIONS
27 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
28 endif
30 libisl_la_SOURCES = \
31         $(ISL_PIPLIB) \
32         $(GET_MEMORY_FUNCTIONS) \
33         isl_affine_hull.c \
34         isl_arg.c \
35         isl_basis_reduction.h \
36         basis_reduction_tab.c \
37         isl_blk.c \
38         isl_coalesce.c \
39         isl_constraint.c \
40         isl_convex_hull.c \
41         isl_ctx.c \
42         isl_dim.c \
43         isl_div.c \
44         isl_equalities.c \
45         isl_equalities.h \
46         isl_flow.c \
47         isl_gmp.c \
48         isl_hash.c \
49         isl_ilp.c \
50         isl_input.c \
51         isl_list.c \
52         isl_lp.c \
53         isl_lp_piplib.h \
54         isl_map.c \
55         isl_map_simplify.c \
56         isl_map_subtract.c \
57         isl_map_private.h \
58         isl_map_piplib.h \
59         isl_mat.c \
60         isl_name.c \
61         isl_name.h \
62         isl_options.c \
63         isl_output.c \
64         isl_piplib.h \
65         isl_sample.h \
66         isl_sample.c \
67         isl_scan.c \
68         isl_scan.h \
69         isl_stream.c \
70         isl_stream.h \
71         isl_seq.c \
72         isl_tab.c \
73         isl_tab.h \
74         isl_tab_pip.c \
75         isl_transitive_closure.c \
76         isl_vec.c
77 EXTRA_libisl_la_SOURCES = \
78         isl_lp_piplib.c \
79         isl_lp_no_piplib.c \
80         isl_map_piplib.c \
81         isl_map_no_piplib.c \
82         isl_sample_no_piplib.c \
83         isl_sample_piplib.c \
84         isl_sample_piplib.h \
85         isl_piplib.c
86 libisl_la_LIBADD = @PIPLIB_LIBS@ -lgmp
87 libisl_la_LDFLAGS = -version-info @versioninfo@ \
88         @PIPLIB_LDFLAGS@ @GMP_LDFLAGS@
89 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
90         @PIPLIB_CPPFLAGS@ @GMP_CPPFLAGS@
92 isl_test_CPPFLAGS = -I$(srcdir)/include -Iinclude/ @GMP_CPPFLAGS@
93 isl_test_LDADD = libisl.la
95 isl_polyhedron_sample_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
96         @GMP_CPPFLAGS@
97 isl_polyhedron_sample_LDADD = libisl.la
98 isl_polyhedron_sample_SOURCES = \
99         polyhedron_sample.c
101 isl_pip_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
102         @GMP_CPPFLAGS@
103 isl_pip_LDADD = libisl.la
104 isl_pip_SOURCES = \
105         pip.c
107 isl_polyhedron_minimize_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
108         @GMP_CPPFLAGS@
109 isl_polyhedron_minimize_LDADD = libisl.la
110 isl_polyhedron_minimize_SOURCES = \
111         polyhedron_minimize.c
113 isl_polytope_scan_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
114         @GMP_CPPFLAGS@
115 isl_polytope_scan_LDADD = libisl.la
116 isl_polytope_scan_SOURCES = \
117         polytope_scan.c
119 isl_polyhedron_detect_equalities_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
120         @GMP_CPPFLAGS@
121 isl_polyhedron_detect_equalities_LDADD = libisl.la
122 isl_polyhedron_detect_equalities_SOURCES = \
123         polyhedron_detect_equalities.c
125 isl_cat_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
126         @GMP_CPPFLAGS@
127 isl_cat_LDADD = libisl.la
128 isl_cat_SOURCES = \
129         cat.c
131 nodist_pkginclude_HEADERS = \
132         include/isl_config.h \
133         include/isl_stdint.h
134 pkginclude_HEADERS = \
135         include/isl_arg.h \
136         include/isl_blk.h \
137         include/isl_constraint.h \
138         include/isl_ctx.h \
139         include/isl_dim.h \
140         include/isl_div.h \
141         include/isl_flow.h \
142         include/isl_ilp.h \
143         include/isl_int.h \
144         include/isl_hash.h \
145         include/isl_list.h \
146         include/isl_lp.h \
147         include/isl_mat.h \
148         include/isl_map.h \
149         include/isl_options.h \
150         include/isl_seq.h \
151         include/isl_set.h \
152         include/isl_vec.h
154 EXTRA_DIST = \
155         basis_reduction_templ.c \
156         doc/mypod2latex \
157         doc/manual.tex \
158         doc/user.pod \
159         test_inputs
161 dist-hook:
162         (cd doc; make manual.pdf)
163         cp doc/manual.pdf $(distdir)/doc/
165 pkgconfigdir=$(pkgconfig_libdir)
166 pkgconfig_DATA = $(pkgconfig_libfile)