3 ISL_LA = $(top_builddir)/isl/libisl.la
6 SUBDIRS = $(MAYBE_ISL) .
7 DIST_SUBDIRS = $(MAYBE_ISL)
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 = @extra_bin_programs@
19 noinst_PROGRAMS = @extra_noinst_programs@ pet_codegen pet_check_code
20 EXTRA_PROGRAMS = pet pet_scop_cmp
22 EXTRA_TESTS = pet_test.sh codegen_test.sh
25 include_HEADERS = include/pet.h
30 PET_INCLUDES = -I$(srcdir) -I$(srcdir)/include
32 AM_CFLAGS = $(PET_INCLUDES) @ISL_CFLAGS@
33 AM_CXXFLAGS = $(PET_INCLUDES) $(CLANG_CXXFLAGS) @ISL_CFLAGS@
34 AM_LDFLAGS = $(CLANG_LDFLAGS)
80 libpet_la_LDFLAGS = -version-info @versioninfo@ $(AM_LDFLAGS)
81 libpet_la_LIBADD = -lclangFrontend -lclangParse -lclangSema \
82 $(LIB_CLANG_EDIT) -lclangAnalysis \
83 -lclangAST -lclangLex -lclangBasic -lclangDriver -lclangSerialization \
84 $(CLANG_LIBS) $(CLANG_LDFLAGS) $(LIB_ISL)
86 pet_CFLAGS = $(AM_CFLAGS) @LIBYAML_CPPFLAGS@
87 pet_LDFLAGS = $(AM_LDFLAGS) @LIBYAML_LDFLAGS@
93 pet_LDADD = libpet.la $(LIB_ISL) -lyaml
95 pet_scop_cmp_CFLAGS = $(AM_CFLAGS) @LIBYAML_CPPFLAGS@
96 pet_scop_cmp_LDFLAGS = @LIBYAML_LDFLAGS@
97 pet_scop_cmp_LDADD = libpet.la $(LIB_ISL) -lyaml
98 pet_scop_cmp_SOURCES = \
104 pet_codegen_CFLAGS = $(AM_CFLAGS)
105 pet_codegen_LDFLAGS =
106 pet_codegen_LDADD = libpet.la $(LIB_ISL)
107 pet_codegen_SOURCES = \
111 pet_check_code_CFLAGS = $(AM_CFLAGS)
112 pet_check_code_LDFLAGS =
113 pet_check_code_LDADD = libpet.la $(LIB_ISL)
114 pet_check_code_SOURCES = \
119 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
121 gitversion.h: @GIT_HEAD@
122 $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@