e8f1392d95
This connects LLDB to the build, but it is disabled by default. Add WITH_LLDB= to src.conf to build it. Note that LLDB requires a C++11 compiler so is disabled on platforms using GCC. Approved by: re (gjb) Sponsored by: DARPA, AFRL
56 lines
1.0 KiB
Makefile
56 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= llvmmc
|
|
|
|
SRCDIR= lib/MC
|
|
SRCS= ELFObjectWriter.cpp \
|
|
MCAsmBackend.cpp \
|
|
MCAsmInfo.cpp \
|
|
MCAsmInfoCOFF.cpp \
|
|
MCAsmInfoDarwin.cpp \
|
|
MCAsmStreamer.cpp \
|
|
MCAssembler.cpp \
|
|
MCAtom.cpp \
|
|
MCCodeEmitter.cpp \
|
|
MCCodeGenInfo.cpp \
|
|
MCContext.cpp \
|
|
MCDwarf.cpp \
|
|
MCELF.cpp \
|
|
MCELFObjectTargetWriter.cpp \
|
|
MCELFStreamer.cpp \
|
|
MCExpr.cpp \
|
|
MCInst.cpp \
|
|
MCInstPrinter.cpp \
|
|
MCInstrAnalysis.cpp \
|
|
MCLabel.cpp \
|
|
MCMachOStreamer.cpp \
|
|
MCMachObjectTargetWriter.cpp \
|
|
MCModule.cpp \
|
|
MCNullStreamer.cpp \
|
|
MCObjectFileInfo.cpp \
|
|
MCObjectStreamer.cpp \
|
|
MCObjectWriter.cpp \
|
|
MCPureStreamer.cpp \
|
|
MCRegisterInfo.cpp \
|
|
MCSection.cpp \
|
|
MCSectionCOFF.cpp \
|
|
MCSectionELF.cpp \
|
|
MCSectionMachO.cpp \
|
|
MCStreamer.cpp \
|
|
MCSubtargetInfo.cpp \
|
|
MCSymbol.cpp \
|
|
MCValue.cpp \
|
|
MCWin64EH.cpp \
|
|
MachObjectWriter.cpp \
|
|
SubtargetFeature.cpp \
|
|
WinCOFFObjectWriter.cpp \
|
|
WinCOFFStreamer.cpp
|
|
|
|
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
|
|
SRCS+= MCDisassembler.cpp
|
|
.endif
|
|
|
|
.include "../clang.lib.mk"
|