tools/llvm: Do not build with symbols
[minix3.git] / external / bsd / llvm / Makefile
blob1c1fde20ff5c7127d144319aecd005ce04a143f1
1 # $NetBSD: Makefile,v 1.6 2013/11/28 14:19:59 joerg Exp $
3 .include <bsd.init.mk>
5 SUBDIR= include \
6 .WAIT \
7 lib \
8 .WAIT \
9 bin
11 .if ${MKCLANGRT:Uno} == "yes"
12 SUBDIR+= librt
13 .endif
15 .include "Makefile.inc"
17 checkout:
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} \
20 ${COMPILER_RT_SRCDIR}
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}
25 checkout-mclinker:
26 if [ -d ${MCLINKER_SRCDIR}/.git ]; then \
27 cd ${MCLINKER_SRCDIR}; git pull ${MCLINKER_ROOT} ; \
28 else \
29 git clone ${MCLINKER_ROOT} ${MCLINKER_SRCDIR}; \
31 cd ${MCLINKER_SRCDIR} && git checkout ${MCLINKER_REVISION}
33 .include <bsd.subdir.mk>