mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
8930262bce
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
24 lines
426 B
Makefile
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>
|