add internal representation of LP tableaus
[platform/upstream/isl.git] / Makefile.am
1 if BUNDLED_PIPLIB
2 MAYBE_PIPLIB = piplib
3 endif
4
5 SUBDIRS = $(MAYBE_PIPLIB) .
6 DIST_SUBDIRS = $(MAYBE_PIPLIB)
7
8 ACLOCAL_AMFLAGS = -I m4
9
10 lib_LTLIBRARIES = libisl.la
11 noinst_PROGRAMS = isl_test
12 TESTS = isl_test
13
14 if HAVE_POLYLIB
15 ISL_POLYLIB = \
16         isl_map_polylib.c
17 endif
18
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
35
36 if NEED_GET_MEMORY_FUNCTIONS
37 GET_MEMORY_FUNCTIONS=mp_get_memory_functions.c
38 endif
39
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_constraint.c \
47         isl_convex_hull.c \
48         isl_ctx.c \
49         isl_dim.c \
50         isl_div.c \
51         isl_equalities.c \
52         isl_equalities.h \
53         isl_gmp.c \
54         isl_hash.c \
55         isl_input.c \
56         isl_input_omega.c \
57         isl_input_omega.h \
58         isl_list.c \
59         isl_lp.c \
60         isl_map.c \
61         isl_map_simplify.c \
62         isl_map_private.h \
63         isl_mat.c \
64         isl_mat.h \
65         isl_name.c \
66         isl_name.h \
67         isl_output.c \
68         isl_sample.h \
69         isl_sample.c \
70         isl_stream.c \
71         isl_stream.h \
72         isl_seq.c \
73         isl_tab.c \
74         isl_tab.h \
75         isl_vec.c \
76         isl_vec.h
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_map_polylib.c \
83         isl_sample_no_piplib.c \
84         isl_sample_piplib.c \
85         isl_sample_piplib.h \
86         isl_piplib.c
87 libisl_la_LIBADD = $(PIPLIB_LA) @PIPLIB_LIBS@ @POLYLIB_LIBS@ -lgmp
88 libisl_la_LDFLAGS = -release @VERSION@ @PIPLIB_LDFLAGS@ @POLYLIB_LDFLAGS@ \
89         @GMP_LDFLAGS@
90 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
91         @PIPLIB_CPPFLAGS@ @POLYLIB_CPPFLAGS@ \
92         @GMP_CPPFLAGS@
93
94 isl_test_CPPFLAGS = -I$(srcdir)/include -Iinclude/ @GMP_CPPFLAGS@
95 isl_test_LDADD = libisl.la
96
97 nodist_pkginclude_HEADERS = \
98         include/isl_ctx.h \
99         include/isl_stdint.h
100 pkginclude_HEADERS = \
101         include/isl_blk.h \
102         include/isl_constraint.h \
103         include/isl_dim.h \
104         include/isl_div.h \
105         include/isl_int.h \
106         include/isl_hash.h \
107         include/isl_list.h \
108         include/isl_lp.h \
109         include/isl_lp_piplib.h \
110         include/isl_map.h \
111         include/isl_map_piplib.h \
112         include/isl_map_polylib.h \
113         include/isl_piplib.h \
114         include/isl_polylib.h \
115         include/isl_seq.h \
116         include/isl_set.h \
117         include/isl_set_polylib.h
118
119 EXTRA_DIST = test_inputs