freebsd-nq/lib/clang/libllvmmcdisassembler/Makefile
Dimitry Andric 999971f7f7 Minimize the number of files compiled for clang only (e.g. when neither
WITH_CLANG_EXTRAS nor WITH_LLDB is in effect).
2015-09-06 22:02:13 +00:00

17 lines
282 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
LIB= llvmmcdisassembler
SRCDIR= lib/MC/MCDisassembler
SRCS= Disassembler.cpp \
MCRelocationInfo.cpp
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
SRCS+= MCDisassembler.cpp \
MCExternalSymbolizer.cpp
.endif
.include "../clang.lib.mk"