reimplement isl_basic_map_is_empty in terms of isl_basic_set_sample
[platform/upstream/isl.git] / Makefile.am
1 if BUNDLED_PIPLIB
2 MAYBE_PIPLIB = piplib
3 endif
4
5 SUBDIRS = $(MAYBE_PIPLIB) .
6
7 lib_LTLIBRARIES = libisl.la
8
9 if HAVE_POLYLIB
10 ISL_POLYLIB = \
11         isl_map_polylib.c \
12         isl_polylib.h
13 endif
14
15 if HAVE_PIPLIB
16 ISL_PIPLIB = \
17         isl_lp_piplib.c \
18         isl_map_piplib.c \
19         isl_sample_piplib.c \
20         isl_piplib.c
21 else
22 ISL_PIPLIB = \
23         isl_lp_no_piplib.c \
24         isl_map_no_piplib.c \
25         isl_sample_no_piplib.c
26 endif
27 if BUNDLED_PIPLIB
28 PIPLIB_LA = $(top_builddir)/piplib/libpiplibMP.la
29 endif
30
31 libisl_la_SOURCES = \
32         $(ISL_PIPLIB) \
33         $(ISL_POLYLIB) \
34         isl_blk.c \
35         isl_blk.h \
36         isl_ctx.c \
37         isl_ctx.h \
38         isl_gmp.c \
39         isl_int.h \
40         isl_lp.h \
41         isl_lp.c \
42         isl_map.c \
43         isl_map.h \
44         isl_map_affine_hull.c \
45         isl_map_private.h \
46         isl_sample.h \
47         isl_sample.c \
48         isl_set.h \
49         isl_seq.c \
50         isl_seq.h \
51         isl_vec.c \
52         isl_vec.h
53 EXTRA_libisl_la_SOURCES = \
54         isl_lp_piplib.c \
55         isl_lp_no_piplib.c \
56         isl_map_piplib.c \
57         isl_map_no_piplib.c \
58         isl_map_polylib.c \
59         isl_sample_no_piplib.c \
60         isl_sample_piplib.c \
61         isl_piplib.c
62 libisl_la_LIBADD = $(PIPLIB_LA) @PIPLIB_LIBS@ @POLYLIB_LIBS@ -lgmp
63 libisl_la_LDFLAGS = -release @VERSION@ @PIPLIB_LDFLAGS@ @POLYLIB_LDFLAGS@ \
64         @GMP_LDFLAGS@
65 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
66         @PIPLIB_CPPFLAGS@ @POLYLIB_CPPFLAGS@ \
67         @GMP_CPPFLAGS@
68
69 pkginclude_HEADERS = \
70         include/isl_blk.h \
71         include/isl_ctx.h \
72         include/isl_int.h \
73         include/isl_lp.h \
74         include/isl_lp_piplib.h \
75         include/isl_map.h \
76         include/isl_map_piplib.h \
77         include/isl_map_polylib.h \
78         include/isl_piplib.h \
79         include/isl_polylib.h \
80         include/isl_seq.h \
81         include/isl_set.h \
82         include/isl_set_polylib.h