freebsd-skq/usr.bin/clang/bugpoint/Makefile
Dimitry Andric 6bb1cadd56 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

35 lines
542 B
Makefile

# $FreeBSD$
PROG_CXX=bugpoint
SRCDIR= tools/bugpoint
SRCS= BugDriver.cpp \
CrashDebugger.cpp \
ExecutionDriver.cpp \
ExtractFunction.cpp \
FindBugs.cpp \
Miscompilation.cpp \
OptimizerDriver.cpp \
ToolRunner.cpp \
bugpoint.cpp
TGHDRS= Intrinsics
LIBDEPS=llvmbitwriter \
llvmlinker \
llvmarchive \
llvmbitreader \
llvmipo \
llvmscalaropts \
llvminstcombine \
llvminstrumentation \
llvmtransformutils \
llvmipa \
llvmanalysis \
llvmtarget \
llvmmc \
llvmasmparser \
llvmcore \
llvmsupport
.include "../clang.prog.mk"