1 AUTOMAKE_OPTIONS = nostdinc
3 noinst_PROGRAMS = extract_interface
6 TESTS += isl_test_python.py
7 isl_test_python.py: isl.py
10 AM_TESTS_ENVIRONMENT = \
11 export PYTHONPATH=.; \
12 export LD_LIBRARY_PATH=../.libs;
13 PY_LOG_COMPILER = $(PYTHON)
15 includes = -I$(top_builddir) -I$(top_srcdir) \
16 -I$(top_builddir)/include -I$(top_srcdir)/include
18 extract_interface_CPPFLAGS = $(includes)
19 extract_interface_CXXFLAGS = $(CLANG_CXXFLAGS)
20 extract_interface_SOURCES = \
27 extract_interface_LDFLAGS = $(CLANG_LDFLAGS)
28 extract_interface_LDADD = \
29 -lclangFrontend -lclangSerialization -lclangParse -lclangSema \
31 -lclangAnalysis -lclangAST -lclangLex -lclangBasic -lclangDriver \
32 $(CLANG_LIBS) $(CLANG_LDFLAGS)
36 # dummy library that captures the dependencies on all headers
37 # that are relevant for the bindings
38 noinst_LIBRARIES = libdep.a
39 libdep_a_CPPFLAGS = $(includes)
40 libdep_a_SOURCES = all.c
42 isl.py: extract_interface libdep.a isl.py.top
43 (cat $(srcdir)/isl.py.top; \
44 ./extract_interface$(EXEEXT) --language=python $(includes) \