Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2011 19:33:04 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r223766 - projects/llvm-ia64/lib/clang
Message-ID:  <201107041933.p64JX4eO031501@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Mon Jul  4 19:33:04 2011
New Revision: 223766
URL: http://svn.freebsd.org/changeset/base/223766

Log:
  Simplify dependency of generated headers on .td files. Since all headers
  get generated from ${ARCH}.td, any and all .td files can influence the
  outcome. As such, have all headers depend on all .td files. This is more
  correct.

Modified:
  projects/llvm-ia64/lib/clang/clang.build.mk

Modified: projects/llvm-ia64/lib/clang/clang.build.mk
==============================================================================
--- projects/llvm-ia64/lib/clang/clang.build.mk	Mon Jul  4 17:43:04 2011	(r223765)
+++ projects/llvm-ia64/lib/clang/clang.build.mk	Mon Jul  4 19:33:04 2011	(r223766)
@@ -61,19 +61,16 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/l
 	RegisterInfo/-gen-register-desc \
 	RegisterNames/-gen-register-enums \
 	Subtarget/-gen-subtarget
-${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
+${arch:T}Gen${hdr:H:C/$/.inc.h/}: \
+    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td \
+    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}CallingConv.td \
+    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}InstrFormats.td \
+    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}InstrInfo.td \
+    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}RegisterInfo.td
 	${TBLGEN} ${hdr:T:C/,/ /g} \
 	    ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td > ${.TARGET}
 . endfor
 
-. for hdr in \
-	RegisterInfo.h	\
-	RegisterInfo	\
-	RegisterNames
-${arch:T}Gen${hdr}.inc.h: \
-	${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}RegisterInfo.td
-. endfor
-
 .endfor
 
 ARMGenDecoderTables.inc.h: ${LLVM_SRCS}/lib/Target/ARM/ARM.td



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107041933.p64JX4eO031501>