summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/lib/Makefile3
-rw-r--r--lldb/source/Plugins/Makefile5
-rw-r--r--lldb/source/Plugins/Platform/Makefile2
-rw-r--r--lldb/source/Plugins/Platform/gdb-server/Makefile14
4 files changed, 19 insertions, 5 deletions
diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile
index d3398fa2c15..2689637116c 100644
--- a/lldb/lib/Makefile
+++ b/lldb/lib/Makefile
@@ -34,6 +34,8 @@ USEDLIBS = lldbAPI.a \
lldbPluginDynamicLoaderStatic.a \
lldbPluginObjectContainerBSDArchive.a \
lldbPluginObjectFileELF.a \
+ lldbPluginPlatformGDBServer.a \
+ lldbPluginProcessGDBRemote.a \
lldbPluginSymbolFileDWARF.a \
lldbPluginSymbolFileSymtab.a \
lldbPluginUtility.a \
@@ -64,7 +66,6 @@ ifeq ($(HOST_OS),Darwin)
lldbPluginDynamicLoaderMacOSX.a \
lldbPluginObjectContainerUniversalMachO.a \
lldbPluginObjectFileMachO.a \
- lldbPluginProcessGDBRemote.a \
lldbPluginSymbolVendorMacOSX.a \
lldbPluginPlatformMacOSX.a
endif
diff --git a/lldb/source/Plugins/Makefile b/lldb/source/Plugins/Makefile
index fd864449c0c..43f0818d930 100644
--- a/lldb/source/Plugins/Makefile
+++ b/lldb/source/Plugins/Makefile
@@ -15,12 +15,11 @@ 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
+ Platform Process/gdb-remote
ifeq ($(HOST_OS),Darwin)
DIRS += DynamicLoader/MacOSX-DYLD ObjectContainer/Universal-Mach-O \
- ObjectFile/Mach-O Process/gdb-remote \
- SymbolVendor/MacOSX Process/MacOSX-User
+ ObjectFile/Mach-O SymbolVendor/MacOSX Process/MacOSX-User
endif
ifeq ($(HOST_OS),Linux)
diff --git a/lldb/source/Plugins/Platform/Makefile b/lldb/source/Plugins/Platform/Makefile
index dce1fa5c8bb..38dc2de40de 100644
--- a/lldb/source/Plugins/Platform/Makefile
+++ b/lldb/source/Plugins/Platform/Makefile
@@ -11,7 +11,7 @@ LLDB_LEVEL := ../../..
include $(LLDB_LEVEL)/../../Makefile.config
-DIRS :=
+DIRS := gdb-server
ifeq ($(HOST_OS),Darwin)
DIRS += MacOSX
diff --git a/lldb/source/Plugins/Platform/gdb-server/Makefile b/lldb/source/Plugins/Platform/gdb-server/Makefile
new file mode 100644
index 00000000000..94fba171151
--- /dev/null
+++ b/lldb/source/Plugins/Platform/gdb-server/Makefile
@@ -0,0 +1,14 @@
+##===- source/Plugins/Platform/gdb-server/Makefile ---------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LLDB_LEVEL := ../../../..
+LIBRARYNAME := lldbPluginPlatformGDBServer
+BUILD_ARCHIVE = 1
+
+include $(LLDB_LEVEL)/Makefile
OpenPOWER on IntegriCloud