export isl_vec header
[isl.git] / Makefile.am
blob5d67188f78096eabdd81201d64e141999d0f62e2
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 isl_pip
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_lp_piplib.h \
64         isl_map.c \
65         isl_map_simplify.c \
66         isl_map_private.h \
67         isl_map_piplib.h \
68         isl_mat.c \
69         isl_mat.h \
70         isl_name.c \
71         isl_name.h \
72         isl_output.c \
73         isl_piplib.h \
74         isl_sample.h \
75         isl_sample.c \
76         isl_stream.c \
77         isl_stream.h \
78         isl_seq.c \
79         isl_tab.c \
80         isl_tab.h \
81         isl_tab_pip.c \
82         isl_vec.c
83 EXTRA_libisl_la_SOURCES = \
84         isl_lp_piplib.c \
85         isl_lp_no_piplib.c \
86         isl_map_piplib.c \
87         isl_map_no_piplib.c \
88         isl_map_polylib.c \
89         isl_sample_no_piplib.c \
90         isl_sample_piplib.c \
91         isl_sample_piplib.h \
92         isl_piplib.c
93 libisl_la_LIBADD = $(PIPLIB_LA) @PIPLIB_LIBS@ @POLYLIB_LIBS@ -lgmp
94 libisl_la_LDFLAGS = -release @VERSION@ @PIPLIB_LDFLAGS@ @POLYLIB_LDFLAGS@ \
95         @GMP_LDFLAGS@
96 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
97         @PIPLIB_CPPFLAGS@ @POLYLIB_CPPFLAGS@ \
98         @GMP_CPPFLAGS@
100 isl_test_CPPFLAGS = -I$(srcdir)/include -Iinclude/ @GMP_CPPFLAGS@
101 isl_test_LDADD = libisl.la
103 isl_polyhedron_sample_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
104         @GMP_CPPFLAGS@
105 isl_polyhedron_sample_LDADD = libisl.la
106 isl_polyhedron_sample_SOURCES = \
107         polyhedron_sample.c
109 isl_pip_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
110         @GMP_CPPFLAGS@
111 isl_pip_LDADD = libisl.la
112 isl_pip_SOURCES = \
113         pip.c
115 nodist_pkginclude_HEADERS = \
116         include/isl_ctx.h \
117         include/isl_stdint.h
118 pkginclude_HEADERS = \
119         include/isl_blk.h \
120         include/isl_constraint.h \
121         include/isl_dim.h \
122         include/isl_div.h \
123         include/isl_int.h \
124         include/isl_hash.h \
125         include/isl_list.h \
126         include/isl_lp.h \
127         include/isl_map.h \
128         include/isl_map_polylib.h \
129         include/isl_polylib.h \
130         include/isl_seq.h \
131         include/isl_set.h \
132         include/isl_set_polylib.h \
133         include/isl_vec.h
135 EXTRA_DIST = \
136         basis_reduction_templ.c \
137         test_inputs