freebsd-nq/usr.bin/clang/clang.prog.mk
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

24 lines
426 B
Makefile

# $FreeBSD$
.include "${SRCTOP}/lib/clang/clang.pre.mk"
CFLAGS+= -I${OBJTOP}/lib/clang/libclang
CFLAGS+= -I${OBJTOP}/lib/clang/libllvm
.include "${SRCTOP}/lib/clang/clang.build.mk"
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
PACKAGE= clang
LIBADD+= ncursesw
LIBADD+= pthread
.include <bsd.prog.mk>