1 2PROG_CXX= llvm-dwarfutil 3 4SRCDIR= llvm/tools/llvm-dwarfutil 5SRCS+= DebugInfoLinker.cpp 6SRCS+= llvm-dwarfutil.cpp 7 8.include "${SRCTOP}/lib/clang/llvm.pre.mk" 9 10CFLAGS+= -I${.OBJDIR} 11 12INCFILE= Options.inc 13TDFILE= ${LLVM_BASE}/${SRCDIR}/Options.td 14GENOPT= -gen-opt-parser-defs 15${INCFILE}: ${TDFILE} 16 ${LLVM_TBLGEN} ${GENOPT} -I ${LLVM_SRCS}/include -d ${.TARGET:C/$/.d/} \ 17 -o ${.TARGET} ${TDFILE} 18TGHDRS+= ${INCFILE} 19 20DEPENDFILES+= ${TGHDRS:C/$/.d/} 21DPSRCS+= ${TGHDRS} 22CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} 23 24.include "../llvm.prog.mk" 25