add isl_basic_set_interval and isl_basic_set_product
[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 lib_LTLIBRARIES = libisl.la
9 noinst_PROGRAMS = isl_test
10 TESTS = isl_test
11
12 if HAVE_POLYLIB
13 ISL_POLYLIB = \
14         isl_map_polylib.c
15 endif
16
17 if HAVE_PIPLIB
18 ISL_PIPLIB = \
19         isl_lp_piplib.c \
20         isl_map_piplib.c \
21         isl_sample_piplib.c \
22         isl_sample_piplib.h \
23         isl_piplib.c
24 else
25 ISL_PIPLIB = \
26         isl_lp_no_piplib.c \
27         isl_map_no_piplib.c \
28         isl_sample_no_piplib.c
29 endif
30 if BUNDLED_PIPLIB
31 PIPLIB_LA = $(top_builddir)/piplib/libpiplibMP.la
32 endif
33
34 libisl_la_SOURCES = \
35         $(ISL_PIPLIB) \
36         $(ISL_POLYLIB) \
37         isl_affine_hull.c \
38         isl_blk.c \
39         isl_convex_hull.c \
40         isl_ctx.c \
41         isl_equalities.c \
42         isl_equalities.h \
43         isl_gmp.c \
44         isl_input.c \
45         isl_input_omega.c \
46         isl_input_omega.h \
47         isl_list.c \
48         isl_lp.c \
49         isl_map.c \
50         isl_map_private.h \
51         isl_mat.c \
52         isl_mat.h \
53         isl_output.c \
54         isl_sample.h \
55         isl_sample.c \
56         isl_seq.c \
57         isl_vec.c \
58         isl_vec.h
59 EXTRA_libisl_la_SOURCES = \
60         isl_lp_piplib.c \
61         isl_lp_no_piplib.c \
62         isl_map_piplib.c \
63         isl_map_no_piplib.c \
64         isl_map_polylib.c \
65         isl_sample_no_piplib.c \
66         isl_sample_piplib.c \
67         isl_sample_piplib.h \
68         isl_piplib.c
69 libisl_la_LIBADD = $(PIPLIB_LA) @PIPLIB_LIBS@ @POLYLIB_LIBS@ -lgmp
70 libisl_la_LDFLAGS = -release @VERSION@ @PIPLIB_LDFLAGS@ @POLYLIB_LDFLAGS@ \
71         @GMP_LDFLAGS@
72 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
73         @PIPLIB_CPPFLAGS@ @POLYLIB_CPPFLAGS@ \
74         @GMP_CPPFLAGS@
75
76 isl_test_CPPFLAGS = -I$(srcdir)/include -Iinclude/
77 isl_test_LDADD = libisl.la
78
79 pkginclude_HEADERS = \
80         include/isl_blk.h \
81         include/isl_ctx.h \
82         include/isl_int.h \
83         include/isl_list.h \
84         include/isl_lp.h \
85         include/isl_lp_piplib.h \
86         include/isl_map.h \
87         include/isl_map_piplib.h \
88         include/isl_map_polylib.h \
89         include/isl_piplib.h \
90         include/isl_polylib.h \
91         include/isl_seq.h \
92         include/isl_set.h \
93         include/isl_set_polylib.h
94
95 EXTRA_DIST = test_inputs