1 AUTOMAKE_OPTIONS = nostdinc
3 noinst_PROGRAMS = extract_interface
5 AM_CXXFLAGS = $(CLANG_CXXFLAGS)
6 AM_LDFLAGS = $(CLANG_LDFLAGS)
8 includes = -I$(top_builddir) -I$(top_srcdir) \
9 -I$(top_builddir)/include -I$(top_srcdir)/include
11 extract_interface_CPPFLAGS = $(includes)
12 extract_interface_SOURCES = \
17 extract_interface_LDADD = \
18 -lclangFrontend -lclangSerialization -lclangParse -lclangSema \
20 -lclangAnalysis -lclangAST -lclangLex -lclangBasic -lclangDriver \
21 $(CLANG_LIBS) $(CLANG_LDFLAGS)
23 test: extract_interface
24 ./extract_interface$(EXEEXT) $(includes) $(srcdir)/all.h
26 isl.py: extract_interface isl.py.top
27 (cat $(srcdir)/isl.py.top; \
28 ./extract_interface$(EXEEXT) $(includes) $(srcdir)/all.h) \