isl_map.c: order_divs: swap with correct div
[isl.git] / Makefile.am
blobdb9270b0dc053eae1aca26f816ef573cf6c52726
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
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_blk.c \
46         isl_coalesce.c \
47         isl_constraint.c \
48         isl_convex_hull.c \
49         isl_ctx.c \
50         isl_dim.c \
51         isl_div.c \
52         isl_equalities.c \
53         isl_equalities.h \
54         isl_gmp.c \
55         isl_hash.c \
56         isl_input.c \
57         isl_input_omega.c \
58         isl_input_omega.h \
59         isl_list.c \
60         isl_lp.c \
61         isl_map.c \
62         isl_map_simplify.c \
63         isl_map_private.h \
64         isl_mat.c \
65         isl_mat.h \
66         isl_name.c \
67         isl_name.h \
68         isl_output.c \
69         isl_sample.h \
70         isl_sample.c \
71         isl_stream.c \
72         isl_stream.h \
73         isl_seq.c \
74         isl_tab.c \
75         isl_tab.h \
76         isl_vec.c \
77         isl_vec.h
78 EXTRA_libisl_la_SOURCES = \
79         isl_lp_piplib.c \
80         isl_lp_no_piplib.c \
81         isl_map_piplib.c \
82         isl_map_no_piplib.c \
83         isl_map_polylib.c \
84         isl_sample_no_piplib.c \
85         isl_sample_piplib.c \
86         isl_sample_piplib.h \
87         isl_piplib.c
88 libisl_la_LIBADD = $(PIPLIB_LA) @PIPLIB_LIBS@ @POLYLIB_LIBS@ -lgmp
89 libisl_la_LDFLAGS = -release @VERSION@ @PIPLIB_LDFLAGS@ @POLYLIB_LDFLAGS@ \
90         @GMP_LDFLAGS@
91 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
92         @PIPLIB_CPPFLAGS@ @POLYLIB_CPPFLAGS@ \
93         @GMP_CPPFLAGS@
95 isl_test_CPPFLAGS = -I$(srcdir)/include -Iinclude/ @GMP_CPPFLAGS@
96 isl_test_LDADD = libisl.la
98 nodist_pkginclude_HEADERS = \
99         include/isl_ctx.h \
100         include/isl_stdint.h
101 pkginclude_HEADERS = \
102         include/isl_blk.h \
103         include/isl_constraint.h \
104         include/isl_dim.h \
105         include/isl_div.h \
106         include/isl_int.h \
107         include/isl_hash.h \
108         include/isl_list.h \
109         include/isl_lp.h \
110         include/isl_lp_piplib.h \
111         include/isl_map.h \
112         include/isl_map_piplib.h \
113         include/isl_map_polylib.h \
114         include/isl_piplib.h \
115         include/isl_polylib.h \
116         include/isl_seq.h \
117         include/isl_set.h \
118         include/isl_set_polylib.h
120 EXTRA_DIST = test_inputs