Work on Savannah #97347:

* make is needed (before make install) to copy tablegen files into install area.
* Rewrite has been split and renamed.
* Have cling/Module.mk depend on llvm-config, such that when it gets built CXXFLAGS etc gets re-read.


git-svn-id: http://root.cern.ch/svn/root/trunk@45920 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
Axel Naumann 2012-09-10 13:46:36 +00:00
parent 8ec0986618
commit 752b4d52dd

View File

@ -32,7 +32,7 @@ CLINGCXXFLAGS = $(shell $(LLVMCONFIG) --cxxflags) -I$(CLINGDIR)/include \
-fno-strict-aliasing
CLINGLIBEXTRA = -L$(shell $(LLVMCONFIG) --libdir) \
$(addprefix -lclang,\
Frontend Serialization Driver CodeGen Parse Sema Analysis Rewrite AST Lex Basic Edit) \
Frontend Serialization Driver CodeGen Parse Sema Analysis RewriteCore AST Lex Basic Edit) \
$(patsubst -lLLVM%Disassembler,,\
$(filter-out -lLLVMipa,\
$(shell $(LLVMCONFIG) --libs linker jit executionengine debuginfo \
@ -55,6 +55,8 @@ distclean-$(MODNAME): clean-$(MODNAME)
distclean:: distclean-$(MODNAME)
$(CLINGDIRS)/Module.mk: $(LLVMCONFIG)
etc/cling/%.h: $(CLINGDIR)/include/cling/%.h
+@[ -d $(dir $@) ] || mkdir -p $(dir $@)
@cp $< $@