1# $FreeBSD$ 2 3PROG_CXX= llvm-strings 4 5SRCDIR= llvm/tools/llvm-strings 6SRCS+= llvm-strings.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