From: Bruce Mitchener Date: Fri, 11 Sep 2015 10:37:17 +0000 (+0000) Subject: Clean up build of JITLoader/GDB in autoconf build. X-Git-Tag: llvmorg-3.8.0-rc1~9775 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82fd1f7d6c52a5da0edef06584dc223c7d51ca4b;p=platform%2Fupstream%2Fllvm.git Clean up build of JITLoader/GDB in autoconf build. 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 --- diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index 1c73a7b..96db9a5 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -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 diff --git a/lldb/source/Plugins/JITLoader/GDB/Makefile b/lldb/source/Plugins/JITLoader/GDB/Makefile index 1383d9d..cd5404f 100644 --- a/lldb/source/Plugins/JITLoader/GDB/Makefile +++ b/lldb/source/Plugins/JITLoader/GDB/Makefile @@ -1,4 +1,4 @@ -##===- source/Plugins/JITLoader/GDBJIT/Makefile ------------*- Makefile -*-===## +##===- source/Plugins/JITLoader/GDB/Makefile ---------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # diff --git a/lldb/source/Plugins/Makefile b/lldb/source/Plugins/Makefile index d3b8f90..fe0826f 100644 --- a/lldb/source/Plugins/Makefile +++ b/lldb/source/Plugins/Makefile @@ -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