NetBSD/tools/llvm-clang/Makefile
joerg 73a4306de0 Update LLVM snapshot. This allows deriving the target from the binary
name, provides a proper CPP mode and fixes a number of compat issues
in the integrated assembler.

Build the toolchain compiler optimized and without assertions now.
2011-03-18 23:32:01 +00:00

21 lines
651 B
Makefile

# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-clang
HOSTPROG_CXX= ${MACHINE_GNU_PLATFORM}-clang
HOST_SRCDIR= external/bsd/llvm/bin/clang
.include "${.CURDIR}/../Makefile.host"
install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++
install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp
${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++:
${_MKTARGET_INSTALL}
mkdir -p ${HOST_BINDIR}
${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET}
${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp:
${_MKTARGET_INSTALL}
mkdir -p ${HOST_BINDIR}
${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET}