forked from OSchip/llvm-project
Two fixes:
1. Allow building of Intrinsics.gen to work for srcdir != objdir 2. Add a rule for installation of Intrinsics.gen. llvm-svn: 26819
This commit is contained in:
parent
43798850f9
commit
ee4b4f55ee
|
@ -18,7 +18,11 @@ endif
|
|||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
$(LEVEL)/include/llvm/Intrinsics.gen: $(LEVEL)/include/llvm/Intrinsics.td $(TBLGEN)
|
||||
GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
|
||||
|
||||
$(GENFILE): $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td $(TBLGEN)
|
||||
$(Echo) Building Intrinsics.gen from Intrinsics.td
|
||||
$(Verb) $(TableGen) $< -o $@ -gen-intrinsic
|
||||
|
||||
install-local:: $(GENFILE)
|
||||
$(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen
|
||||
|
|
Loading…
Reference in New Issue