svn commit: r208045 - projects/clangbsd-import/usr.bin/clang

Ed Schouten ed at FreeBSD.org
Thu May 13 20:29:42 UTC 2010


Author: ed
Date: Thu May 13 20:29:42 2010
New Revision: 208045
URL: http://svn.freebsd.org/changeset/base/208045

Log:
  Just use head and tail modifiers to split the architecture/tblgen
  parameters.

Modified:
  projects/clangbsd-import/usr.bin/clang/clang.build.mk

Modified: projects/clangbsd-import/usr.bin/clang/clang.build.mk
==============================================================================
--- projects/clangbsd-import/usr.bin/clang/clang.build.mk	Thu May 13 20:26:16 2010	(r208044)
+++ projects/clangbsd-import/usr.bin/clang/clang.build.mk	Thu May 13 20:29:42 2010	(r208045)
@@ -21,24 +21,24 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/l
 	${TBLGEN} -gen-intrinsic \
 		${LLVM_SRCS}/include/llvm/Intrinsics.td > ${.TARGET}
 .for arch in \
-	ARM:ARM Mips:Mips PowerPC:PPC X86:X86
+	ARM/ARM Mips/Mips PowerPC/PPC X86/X86
 . for hdr in \
-	AsmMatcher:-gen-asm-matcher \
-	AsmWriter1:-gen-asm-writer,-asmwriternum=1 \
-	AsmWriter:-gen-asm-writer \
-	CallingConv:-gen-callingconv \
-	CodeEmitter:-gen-emitter \
-	DAGISel:-gen-dag-isel \
-	FastISel:-gen-fast-isel \
-	InstrInfo:-gen-instr-desc \
-	InstrNames:-gen-instr-enums \
-	RegisterInfo.h:-gen-register-desc-header \
-	RegisterInfo:-gen-register-desc \
-	RegisterNames:-gen-register-enums \
-	Subtarget:-gen-subtarget
-${arch:C/.*://}Gen${hdr:C/:.*/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:C/:.*//}/${arch:C/.*://}.td
-	${TBLGEN} ${hdr:C/.*://:C/,/ /g} \
-		${LLVM_SRCS}/lib/Target/${arch:C/:.*//}/${arch:C/.*://}.td > ${.TARGET}
+	AsmMatcher/-gen-asm-matcher \
+	AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
+	AsmWriter/-gen-asm-writer \
+	CallingConv/-gen-callingconv \
+	CodeEmitter/-gen-emitter \
+	DAGISel/-gen-dag-isel \
+	FastISel/-gen-fast-isel \
+	InstrInfo/-gen-instr-desc \
+	InstrNames/-gen-instr-enums \
+	RegisterInfo.h/-gen-register-desc-header \
+	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
+	${TBLGEN} ${hdr:T:C/,/ /g} \
+		${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td > ${.TARGET}
 . endfor
 .endfor
 DiagnosticGroups.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td


More information about the svn-src-projects mailing list