1PROG_CXX= llvm-dwp 2MAN= 3 4SRCDIR= llvm/tools/llvm-dwp 5SRCS+= llvm-dwp-driver.cpp 6SRCS+= llvm-dwp.cpp 7 8.include "${SRCTOP}/lib/clang/llvm.pre.mk" 9 10CFLAGS+= -I${.OBJDIR} 11 12INCFILE= Opts.inc 13TDFILE= ${LLVM_BASE}/${SRCDIR}/Opts.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