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
This commit is contained in:
Bruce Mitchener 2015-09-11 10:37:17 +00:00
parent c71a4099cf
commit 82fd1f7d6c
3 changed files with 6 additions and 18 deletions

View 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

View File

@ -1,4 +1,4 @@
##===- source/Plugins/JITLoader/GDBJIT/Makefile ------------*- Makefile -*-===##
##===- source/Plugins/JITLoader/GDB/Makefile ---------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#

View 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