add some missing tests for invalid input
[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_equalities.c \
39         isl_equalities.h \
40         isl_gmp.c \
41         isl_int.h \
42         isl_lp.h \
43         isl_lp.c \
44         isl_map.c \
45         isl_map.h \
46         isl_map_affine_hull.c \
47         isl_map_private.h \
48         isl_mat.c \
49         isl_mat.h \
50         isl_sample.h \
51         isl_sample.c \
52         isl_set.h \
53         isl_seq.c \
54         isl_seq.h \
55         isl_vec.c \
56         isl_vec.h
57 EXTRA_libisl_la_SOURCES = \
58         isl_lp_piplib.c \
59         isl_lp_no_piplib.c \
60         isl_map_piplib.c \
61         isl_map_no_piplib.c \
62         isl_map_polylib.c \
63         isl_sample_no_piplib.c \
64         isl_sample_piplib.c \
65         isl_piplib.c
66 libisl_la_LIBADD = $(PIPLIB_LA) @PIPLIB_LIBS@ @POLYLIB_LIBS@ -lgmp
67 libisl_la_LDFLAGS = -release @VERSION@ @PIPLIB_LDFLAGS@ @POLYLIB_LDFLAGS@ \
68         @GMP_LDFLAGS@
69 libisl_la_CPPFLAGS = -I$(srcdir)/include -Iinclude/ \
70         @PIPLIB_CPPFLAGS@ @POLYLIB_CPPFLAGS@ \
71         @GMP_CPPFLAGS@
72
73 pkginclude_HEADERS = \
74         include/isl_blk.h \
75         include/isl_ctx.h \
76         include/isl_int.h \
77         include/isl_lp.h \
78         include/isl_lp_piplib.h \
79         include/isl_map.h \
80         include/isl_map_piplib.h \
81         include/isl_map_polylib.h \
82         include/isl_piplib.h \
83         include/isl_polylib.h \
84         include/isl_seq.h \
85         include/isl_set.h \
86         include/isl_set_polylib.h