Clean up build of JITLoader/GDB in autoconf build.
authorBruce Mitchener <bruce.mitchener@gmail.com>
Fri, 11 Sep 2015 10:37:17 +0000 (10:37 +0000)
committerBruce Mitchener <bruce.mitchener@gmail.com>
Fri, 11 Sep 2015 10:37:17 +0000 (10:37 +0000)
Summary:
This builds on all platforms, so remove duplication in build
configuration.

Reviewers: labath, clayborg, emaste

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D12792

llvm-svn: 247402

lldb/lib/Makefile
lldb/source/Plugins/JITLoader/GDB/Makefile
lldb/source/Plugins/Makefile

index 1c73a7b..96db9a5 100644 (file)
@@ -103,6 +103,7 @@ USEDLIBS = lldbAPI.a \
        lldbPluginPlatformPOSIX.a \
        lldbPluginPlatformKalimba.a \
        lldbPluginPlatformAndroid.a \
+       lldbPluginJITLoaderGDB.a \
        lldbPluginScriptInterpreterNone.a \
        lldbPluginScriptInterpreterPython.a
 
@@ -125,24 +126,17 @@ ifeq ($(HOST_OS),Darwin)
               lldbPluginObjectFileMachO.a \
               lldbPluginSymbolVendorMacOSX.a \
               lldbPluginProcessDarwin.a \
-              lldbPluginProcessMachCore.a \
-              lldbPluginJITLoaderGDB.a
+              lldbPluginProcessMachCore.a
 endif
 
 ifeq ($(HOST_OS),Linux)
   USEDLIBS += lldbPluginProcessLinux.a \
-              lldbPluginProcessPOSIX.a \
-              lldbPluginJITLoaderGDB.a
-endif
-
-ifeq ($(HOST_OS),MingW)
-  USEDLIBS += lldbPluginJITLoaderGDB.a
+              lldbPluginProcessPOSIX.a
 endif
 
 ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
   USEDLIBS += lldbPluginProcessPOSIX.a \
-              lldbPluginProcessFreeBSD.a \
-              lldbPluginJITLoaderGDB.a
+              lldbPluginProcessFreeBSD.a
 endif
 
 include $(LEVEL)/Makefile.common
index 1383d9d..cd5404f 100644 (file)
@@ -1,4 +1,4 @@
-##===- source/Plugins/JITLoader/GDBJIT/Makefile ------------*- Makefile -*-===##
+##===- source/Plugins/JITLoader/GDB/Makefile ---------------*- Makefile -*-===##
 # 
 #                     The LLVM Compiler Infrastructure
 #
index d3b8f90..fe0826f 100644 (file)
@@ -31,6 +31,7 @@ PARALLEL_DIRS := ABI/MacOSX-arm ABI/MacOSX-arm64 ABI/MacOSX-i386 ABI/SysV-i386 A
        DynamicLoader/Hexagon-DYLD \
        DynamicLoader/MacOSX-DYLD \
        DynamicLoader/Windows-DYLD \
+       JITLoader/GDB \
        ExpressionParser/Clang \
        OperatingSystem/Python \
        SystemRuntime/MacOSX \
@@ -45,21 +46,14 @@ PARALLEL_DIRS += DynamicLoader/Darwin-Kernel
 PARALLEL_DIRS += SymbolVendor/MacOSX
 #PARALLEL_DIRS += Process/MacOSX-User
 PARALLEL_DIRS += Process/mach-core
-PARALLEL_DIRS += JITLoader/GDB
 endif
 
 ifeq ($(HOST_OS),Linux)
 PARALLEL_DIRS += Process/Linux Process/POSIX
-PARALLEL_DIRS += JITLoader/GDB
-endif
-
-ifeq ($(HOST_OS),MingW)
-PARALLEL_DIRS += JITLoader/GDB
 endif
 
 ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
 PARALLEL_DIRS += Process/FreeBSD Process/POSIX
-PARALLEL_DIRS += JITLoader/GDB
 endif
 
 include $(LLDB_LEVEL)/Makefile