Module Name: src
Committed By: joerg
Date: Thu Aug 9 14:39:02 UTC 2012
Modified Files:
src/external/bsd/llvm/lib: Makefile
Added Files:
src/external/bsd/llvm/lib/libclangASTMatchers: Makefile
Log Message:
Add (optional) libclangASTMatchers.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/bsd/llvm/lib/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libclangASTMatchers/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/llvm/lib/Makefile
diff -u src/external/bsd/llvm/lib/Makefile:1.23 src/external/bsd/llvm/lib/Makefile:1.24
--- src/external/bsd/llvm/lib/Makefile:1.23 Sun Jun 17 15:12:13 2012
+++ src/external/bsd/llvm/lib/Makefile Thu Aug 9 14:39:01 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2012/06/17 15:12:13 joerg Exp $
+# $NetBSD: Makefile,v 1.24 2012/08/09 14:39:01 joerg Exp $
.include <bsd.own.mk>
@@ -100,7 +100,8 @@ SUBDIR+= \
.if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes"
SUBDIR+= \
- libclangTooling
+ libclangTooling \
+ libclangASTMatchers
.endif
.include <bsd.subdir.mk>
Added files:
Index: src/external/bsd/llvm/lib/libclangASTMatchers/Makefile
diff -u /dev/null src/external/bsd/llvm/lib/libclangASTMatchers/Makefile:1.1
--- /dev/null Thu Aug 9 14:39:02 2012
+++ src/external/bsd/llvm/lib/libclangASTMatchers/Makefile Thu Aug 9 14:39:01 2012
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2012/08/09 14:39:01 joerg Exp $
+
+LIB= clangASTMatchers
+
+.include <bsd.init.mk>
+
+.PATH: ${CLANG_SRCDIR}/lib/ASTMatchers
+
+SRCS+= ASTMatchFinder.cpp \
+ ASTMatchersInternal.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif