1 # $NetBSD: Makefile,v 1.6 2013/11/28 14:19:59 joerg Exp $
11 .if
${MKCLANGRT
:Uno
} == "yes"
15 .
include "Makefile.inc"
18 svn
co -r
${CLANG_REVISION} ${SVN_ROOT}/cfe
/${SVN_BRANCH} ${CLANG_SRCDIR}
19 svn
co -r
${COMPILER_RT_REVISION} ${SVN_ROOT}/compiler-rt
/${SVN_BRANCH} \
21 svn
co -r
${LLD_REVISION} ${SVN_ROOT}/lld
/${SVN_BRANCH} ${LLD_SRCDIR}
22 svn
co -r
${LLDB_REVISION} ${SVN_ROOT}/lldb
/${SVN_BRANCH} ${LLDB_SRCDIR}
23 svn
co -r
${LLVM_REVISION} ${SVN_ROOT}/llvm
/${SVN_BRANCH} ${LLVM_SRCDIR}
26 if
[ -d
${MCLINKER_SRCDIR}/.git
]; then \
27 cd
${MCLINKER_SRCDIR}; git pull
${MCLINKER_ROOT} ; \
29 git clone
${MCLINKER_ROOT} ${MCLINKER_SRCDIR}; \
31 cd
${MCLINKER_SRCDIR} && git checkout
${MCLINKER_REVISION}
33 .
include <bsd.subdir.mk
>