extract_affine: a variable that has been assigned an unknown value is not affine
[pet.git] / Makefile.am
blobf2557cd0d94222469ae81cee45a2b944a5fc9b6b
1 if BUNDLED_ISL
2     MAYBE_ISL = isl
3     ISL_LA = $(top_builddir)/isl/libisl.la -lgmp
4 endif
6 SUBDIRS = $(MAYBE_ISL) .
7 DIST_SUBDIRS = $(MAYBE_ISL)
9 FORCE:
10 isl/libisl.la: FORCE
11         cd isl; $(MAKE) $(AM_MAKEFLAGS) libisl.la
13 ACLOCAL_AMFLAGS = -I m4
15 LIB_ISL = $(ISL_LA) @ISL_LIBS@
17 lib_LTLIBRARIES = libpet.la
18 bin_PROGRAMS = pet
19 noinst_PROGRAMS = pet_scop_cmp
20 TESTS = pet_test.sh
22 include_HEADERS = include/pet.h
24 EXTRA_DIST = \
25         tests
27 INCLUDES = -I$(srcdir) -I$(srcdir)/include
29 AM_CFLAGS = $(INCLUDES) @ISL_CFLAGS@
30 AM_CXXFLAGS = $(INCLUDES) $(CLANG_CXXFLAGS) @ISL_CFLAGS@
31 AM_LDFLAGS = $(CLANG_LDFLAGS)
33 libpet_la_SOURCES = \
34         scan.h \
35         scan.cc \
36         scop.h \
37         scop.c \
38         scop_plus.h \
39         scop_plus.cc \
40         pet.cc
41 libpet_la_LIBADD = -lclangFrontend -lclangParse -lclangSema -lclangAnalysis \
42         -lclangAST -lclangLex -lclangBasic -lclangDriver -lclangSerialization \
43         $(CLANG_LIBS) $(CLANG_LDFLAGS) $(LIB_ISL)
45 pet_CFLAGS = $(AM_CFLAGS) @LIBYAML_CPPFLAGS@
46 pet_LDFLAGS = $(AM_LDFLAGS) @LIBYAML_LDFLAGS@
47 pet_SOURCES = \
48         emit.c \
49         scop_yaml.h \
50         main.cc
51 pet_LDADD = libpet.la \
52         -lclangFrontend -lclangParse -lclangSema -lclangAnalysis \
53         -lclangAST -lclangLex -lclangBasic -lclangDriver -lclangSerialization \
54         $(CLANG_LIBS) $(LIB_ISL) -lyaml
56 pet_scop_cmp_CFLAGS = $(AM_CFLAGS) @LIBYAML_CPPFLAGS@
57 pet_scop_cmp_LDFLAGS = @LIBYAML_LDFLAGS@
58 pet_scop_cmp_LDADD = libpet.la $(LIB_ISL) -lyaml
59 pet_scop_cmp_SOURCES = \
60         scop_yaml.h \
61         parse.c \
62         pet_scop_cmp.c