Fix the linux build now that we link against the Linux and FreeBSD platforms.

llvm-svn: 151642
This commit is contained in:
Greg Clayton 2012-02-28 18:25:00 +00:00
parent ecd2edf50c
commit 352c2e07fd
2 changed files with 17 additions and 17 deletions

View File

@ -61,7 +61,10 @@ USEDLIBS = lldbAPI.a \
clangParse.a \
clangSema.a \
clangSerialization.a \
LLVMMCDisassembler.a
LLVMMCDisassembler.a \
lldbPluginPlatformMacOSX.a \
lldbPluginPlatformLinux.a \
lldbPluginPlatformFreeBSD.a
include $(LLDB_LEVEL)/../../Makefile.config
@ -76,7 +79,6 @@ ifeq ($(HOST_OS),Darwin)
lldbPluginObjectFileMachO.a \
lldbPluginOperatingSystemDarwinKernel.a \
lldbPluginSymbolVendorMacOSX.a \
lldbPluginPlatformMacOSX.a \
lldbPluginProcessDarwin.a \
lldbPluginProcessMachCore.a
endif
@ -85,7 +87,6 @@ ifeq ($(HOST_OS),Linux)
USEDLIBS += lldbPluginProcessPOSIX.a \
lldbPluginProcessLinux.a \
lldbPluginDynamicLoaderPOSIX.a \
lldbPluginPlatformLinux.a \
lldbHostLinux.a
endif
@ -93,8 +94,7 @@ ifeq ($(HOST_OS),FreeBSD)
USEDLIBS += lldbHostFreeBSD.a \
lldbPluginDynamicLoaderPOSIX.a \
lldbPluginProcessPOSIX.a \
lldbPluginProcessFreeBSD.a \
lldbPluginPlatformFreeBSD.a
lldbPluginProcessFreeBSD.a
endif
include $(LEVEL)/Makefile.common

View File

@ -11,18 +11,18 @@ LLDB_LEVEL := ../../..
include $(LLDB_LEVEL)/../../Makefile.config
DIRS := gdb-server
DIRS := gdb-server MacOSX Linux FreeBSD
ifeq ($(HOST_OS),Darwin)
DIRS += MacOSX
endif
ifeq ($(HOST_OS),Linux)
DIRS += Linux
endif
ifeq ($(HOST_OS),FreeBSD)
DIRS += FreeBSD
endif
# ifeq ($(HOST_OS),Darwin)
# DIRS += MacOSX
# endif
#
# ifeq ($(HOST_OS),Linux)
# DIRS += Linux
# endif
#
# ifeq ($(HOST_OS),FreeBSD)
# DIRS += FreeBSD
# endif
include $(LLDB_LEVEL)/Makefile