From d5adc9185ca8e8893cba0be0a2f76c704eb80fa3 Mon Sep 17 00:00:00 2001
From: Stephen Wilson <wilsons@start.ca>
Date: Fri, 8 Apr 2011 02:01:35 +0000
Subject: [PATCH] Add makefile support for the ARM instruction emulation
 plugin.

llvm-svn: 129119
---
 lldb/lib/Makefile            | 3 ++-
 lldb/source/Plugins/Makefile | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile
index 2689637116cd..29025a7fca7c 100644
--- a/lldb/lib/Makefile
+++ b/lldb/lib/Makefile
@@ -32,6 +32,7 @@ USEDLIBS = lldbAPI.a \
 	lldbPluginABISysV_x86_64.a \
 	lldbPluginDisassemblerLLVM.a \
 	lldbPluginDynamicLoaderStatic.a \
+	lldbPluginEmulateInstructionARM.a \
 	lldbPluginObjectContainerBSDArchive.a \
 	lldbPluginObjectFileELF.a \
 	lldbPluginPlatformGDBServer.a \
@@ -108,5 +109,5 @@ ifeq ($(HOST_OS), Linux)
     # Don't allow unresolved symbols.
     LLVMLibsOptions += -Wl,--no-undefined
     # Link in python
-    LD.Flags += $(PYTHON_BUILD_FLAGS)
+    LD.Flags += $(PYTHON_BUILD_FLAGS) -lrt
 endif
diff --git a/lldb/source/Plugins/Makefile b/lldb/source/Plugins/Makefile
index 43f0818d930e..4261d7ec4006 100644
--- a/lldb/source/Plugins/Makefile
+++ b/lldb/source/Plugins/Makefile
@@ -15,7 +15,7 @@ include $(LLDB_LEVEL)/../../Makefile.config
 DIRS := ABI/MacOSX-i386 ABI/SysV-x86_64 Disassembler/llvm  \
 	ObjectContainer/BSD-Archive ObjectFile/ELF SymbolFile/DWARF \
 	SymbolFile/Symtab Process/Utility DynamicLoader/Static \
-	Platform Process/gdb-remote
+	Platform Process/gdb-remote Instruction/ARM
 
 ifeq ($(HOST_OS),Darwin)
 DIRS += DynamicLoader/MacOSX-DYLD ObjectContainer/Universal-Mach-O \