summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/clang/libLLVMX86Desc/Makefile
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2016-09-05 10:56:51 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2016-09-05 10:56:51 +0000
commit6f21278d355d1e07210d0f880d6add03b9a8f160 (patch)
treee21e5e1d0abc2575321be9402a9b1fdb7942389c /gnu/usr.bin/clang/libLLVMX86Desc/Makefile
parent36dba4aba143bc3fa88bf954dab1795bb6d0073a (diff)
LLVM/Clang build system. This only builds the bare minimum of what is needed
to get a working "clang" binary. Note that you need GCC from ports to bootstrap clang. looks good to patrick@, ok jsg@ kettenis@
Diffstat (limited to 'gnu/usr.bin/clang/libLLVMX86Desc/Makefile')
-rw-r--r--gnu/usr.bin/clang/libLLVMX86Desc/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/usr.bin/clang/libLLVMX86Desc/Makefile b/gnu/usr.bin/clang/libLLVMX86Desc/Makefile
new file mode 100644
index 00000000000..6071ef357f1
--- /dev/null
+++ b/gnu/usr.bin/clang/libLLVMX86Desc/Makefile
@@ -0,0 +1,29 @@
+# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:50 pascal Exp $
+
+LIB= LLVMX86Desc
+NOPIC=
+NOPROFILE=
+
+CPPFLAGS+= -I${.OBJDIR}/../include/llvm/X86 -I${LLVM_SRCS}/lib/Target/X86
+
+.include <bsd.own.mk>
+SRCS= X86AsmBackend.cpp \
+ X86MCTargetDesc.cpp \
+ X86MCAsmInfo.cpp \
+ X86MCCodeEmitter.cpp \
+ X86MachObjectWriter.cpp \
+ X86ELFObjectWriter.cpp \
+ X86WinCOFFStreamer.cpp \
+ X86WinCOFFObjectWriter.cpp \
+ X86MachORelocationInfo.cpp \
+ X86ELFRelocationInfo.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/lib/Target/X86/MCTargetDesc
+
+depend:
+ # Nothing here so far ...
+
+install:
+ # Nothing here so far ...
+
+.include <bsd.lib.mk>