freebsd-skq/usr.bin/clang/Makefile
dim eb8951e7f7 Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after:	2 weeks
2012-02-05 23:56:22 +00:00

31 lines
387 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
SUBDIR= clang clang-tblgen tblgen
.if ${MK_CLANG_EXTRAS} != "no"
SUBDIR+=bugpoint \
llc \
lli \
llvm-ar \
llvm-as \
llvm-bcanalyzer \
llvm-diff \
llvm-dis \
llvm-extract \
llvm-ld \
llvm-link \
llvm-mc \
llvm-nm \
llvm-objdump \
llvm-prof \
llvm-ranlib \
llvm-rtdyld \
llvm-stub \
macho-dump \
opt
.endif
.include <bsd.subdir.mk>