freebsd-dev/usr.bin/clang/lldb/Makefile
Dimitry Andric 8930262bce Fix packaging for clang, lldb and lld 3.9.0
During the upgrade of clang/llvm etc to 3.9.0 in r309124, the PACKAGE
directive in the usr.bin/clang/*.mk files got dropped accidentally.

Restore it, with a few minor changes and additions:
* Correct license in clang.ucl to NCSA
* Add PACKAGE=clang for clang and most of the "ll" tools
* Put lldb in its own package
* Put lld in its own package

Reviewed by:	gjb, jmallett
X-MFC-With:	309124
Differential Revision: https://reviews.freebsd.org/D8666
2016-11-28 20:13:56 +00:00

33 lines
547 B
Makefile

# $FreeBSD$
.include "${SRCTOP}/lib/clang/lldb.pre.mk"
PACKAGE= lldb
PROG_CXX= lldb
# Man page directory
.PATH: ${LLDB_SRCS}/docs
CFLAGS+= -I${LLDB_SRCS}/include
SRCDIR= tools/lldb/tools/driver
SRCS+= Driver.cpp
.include "${SRCTOP}/lib/clang/clang.build.mk"
LIBDEPS+= lldb
LIBDEPS+= clang
LIBDEPS+= llvm
.for lib in ${LIBDEPS}
DPADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a
LDADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a
.endfor
LIBADD+= edit
LIBADD+= panel
LIBADD+= ncursesw
LIBADD+= pthread
LIBADD+= z
.include <bsd.prog.mk>