Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/llvm/lib Add (optional) libclangASTMatchers.



details:   https://anonhg.NetBSD.org/src/rev/66eb6b6e33ae
branches:  trunk
changeset: 780852:66eb6b6e33ae
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Aug 09 14:39:01 2012 +0000

description:
Add (optional) libclangASTMatchers.

diffstat:

 external/bsd/llvm/lib/Makefile                     |   5 +++--
 external/bsd/llvm/lib/libclangASTMatchers/Makefile |  16 ++++++++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r b04fc50a6cf5 -r 66eb6b6e33ae external/bsd/llvm/lib/Makefile
--- a/external/bsd/llvm/lib/Makefile    Thu Aug 09 14:37:06 2012 +0000
+++ b/external/bsd/llvm/lib/Makefile    Thu Aug 09 14:39:01 2012 +0000
@@ -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 @@
 
 .if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes"
 SUBDIR+= \
-       libclangTooling
+       libclangTooling \
+       libclangASTMatchers
 .endif
 
 .include <bsd.subdir.mk>
diff -r b04fc50a6cf5 -r 66eb6b6e33ae external/bsd/llvm/lib/libclangASTMatchers/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libclangASTMatchers/Makefile        Thu Aug 09 14:39:01 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index