mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Dimitry Andric](/assets/img/avatar_default.png)
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, the last commit before the upstream release/17.x branch was created. PR: 273753 MFC after: 1 month
32 lines
683 B
Makefile
32 lines
683 B
Makefile
|
|
.include <src.opts.mk>
|
|
|
|
PROG_CXX= llvm-cxxfilt
|
|
|
|
SRCDIR= llvm/tools/llvm-cxxfilt
|
|
SRCS+= llvm-cxxfilt-driver.cpp
|
|
SRCS+= llvm-cxxfilt.cpp
|
|
|
|
.include "${SRCTOP}/lib/clang/llvm.pre.mk"
|
|
|
|
CFLAGS+= -I${.OBJDIR}
|
|
|
|
INCFILE= Opts.inc
|
|
TDFILE= ${LLVM_BASE}/${SRCDIR}/Opts.td
|
|
GENOPT= -gen-opt-parser-defs
|
|
${INCFILE}: ${TDFILE}
|
|
${LLVM_TBLGEN} ${GENOPT} -I ${LLVM_SRCS}/include -d ${.TARGET:C/$/.d/} \
|
|
-o ${.TARGET} ${TDFILE}
|
|
TGHDRS+= ${INCFILE}
|
|
|
|
DEPENDFILES+= ${TGHDRS:C/$/.d/}
|
|
DPSRCS+= ${TGHDRS}
|
|
CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}
|
|
|
|
.if ${MK_LLVM_CXXFILT} != "no"
|
|
LINKS= ${BINDIR}/llvm-cxxfilt ${BINDIR}/c++filt
|
|
MLINKS= llvm-cxxfilt.1 c++filt.1
|
|
.endif
|
|
|
|
.include "../llvm.prog.mk"
|