1e8f1392dSEd Maste# $FreeBSD$ 2e8f1392dSEd Maste 3*986e05bcSDimitry AndricLLVM_SRCS= ${.CURDIR}/../../../contrib/llvm 4*986e05bcSDimitry AndricCLANG_SRCS= ${LLVM_SRCS}/tools/clang 5*986e05bcSDimitry AndricLLDB_SRCS= ${LLVM_SRCS}/tools/lldb 6e8f1392dSEd Maste 7e8f1392dSEd MastePROG_CXX= lldb 80b0796a3SEd Maste# Man page directory 90b0796a3SEd Maste.PATH: ${LLDB_SRCS}/docs 10e8f1392dSEd Maste 11*986e05bcSDimitry AndricCFLAGS+= -I${LLDB_SRCS}/include 12e8f1392dSEd Maste 13*986e05bcSDimitry AndricSRCDIR= tools/lldb/tools/driver 14*986e05bcSDimitry AndricSRCS+= Driver.cpp 15*986e05bcSDimitry AndricSRCS+= Platform.cpp 16e8f1392dSEd Maste 17*986e05bcSDimitry Andric.include "${.CURDIR}/../../../lib/clang/clang.build.mk" 18*986e05bcSDimitry Andric 19*986e05bcSDimitry AndricLIBDEPS+= lldb 20*986e05bcSDimitry AndricLIBDEPS+= clang 21*986e05bcSDimitry AndricLIBDEPS+= llvm 22*986e05bcSDimitry Andric 23*986e05bcSDimitry Andric.for lib in ${LIBDEPS} 24e8f1392dSEd MasteDPADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a 25e8f1392dSEd MasteLDADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a 26e8f1392dSEd Maste.endfor 27e8f1392dSEd Maste 28*986e05bcSDimitry AndricLIBADD+= edit 29*986e05bcSDimitry AndricLIBADD+= panel 30*986e05bcSDimitry AndricLIBADD+= ncursesw 311ef7db0fSBryan DreweryLIBADD+= pthread 32*986e05bcSDimitry AndricLIBADD+= z 33e8f1392dSEd Maste 34*986e05bcSDimitry Andric.include <bsd.prog.mk> 35