34 lines
801 B
Makefile
34 lines
801 B
Makefile
# $NetBSD: Makefile,v 1.8 2014/01/15 20:53:00 joerg Exp $
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
SUBDIR= include \
|
|
.WAIT \
|
|
lib \
|
|
.WAIT \
|
|
bin
|
|
|
|
.if ${MKCLANGRT:Uno} == "yes"
|
|
SUBDIR+= librt
|
|
.endif
|
|
|
|
.include "Makefile.inc"
|
|
|
|
checkout:
|
|
svn co -r ${LLD_REVISION} ${SVN_ROOT}/lld/${SVN_BRANCH} ${LLD_SRCDIR}
|
|
svn co -r ${LLDB_REVISION} ${SVN_ROOT}/lldb/${SVN_BRANCH} ${LLDB_SRCDIR}
|
|
|
|
checkout-imported:
|
|
svn co -r ${CLANG_REVISION} ${SVN_ROOT}/cfe/${SVN_BRANCH} ${CLANG_SRCDIR}
|
|
svn co -r ${LLVM_REVISION} ${SVN_ROOT}/llvm/${SVN_BRANCH} ${LLVM_SRCDIR}
|
|
|
|
checkout-mclinker:
|
|
if [ -d ${MCLINKER_SRCDIR}/.git ]; then \
|
|
cd ${MCLINKER_SRCDIR}; git pull ${MCLINKER_ROOT} ; \
|
|
else \
|
|
git clone ${MCLINKER_ROOT} ${MCLINKER_SRCDIR}; \
|
|
fi
|
|
cd ${MCLINKER_SRCDIR} && git checkout ${MCLINKER_REVISION}
|
|
|
|
.include <bsd.subdir.mk>
|