From e6fb049d3dfe5514a5b116cdb4291eb9d6cd43e7 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 31 Oct 2011 22:50:27 +0000 Subject: [PATCH] build: Fixup Darwin process plugin build for Makefiles. llvm-svn: 143376 --- lldb/lib/Makefile | 2 +- lldb/source/Plugins/Makefile | 2 +- lldb/source/Plugins/Process/MacOSX-Kernel/Makefile | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 lldb/source/Plugins/Process/MacOSX-Kernel/Makefile diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index 6abd672f6ebe..cd1013d6f4fb 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -76,7 +76,7 @@ ifeq ($(HOST_OS),Darwin) lldbPluginObjectFileMachO.a \ lldbPluginSymbolVendorMacOSX.a \ lldbPluginPlatformMacOSX.a \ - lldbPluginProcessDarwin + lldbPluginProcessDarwin.a endif ifeq ($(HOST_OS),Linux) diff --git a/lldb/source/Plugins/Makefile b/lldb/source/Plugins/Makefile index 7806840b4a37..5190037267e6 100644 --- a/lldb/source/Plugins/Makefile +++ b/lldb/source/Plugins/Makefile @@ -21,7 +21,7 @@ DIRS := ABI/MacOSX-arm ABI/MacOSX-i386 ABI/SysV-x86_64 Disassembler/llvm \ LanguageRuntime/ObjC/AppleObjCRuntime ifeq ($(HOST_OS),Darwin) -DIRS += Process/Darwin DynamicLoader/MacOSX-DYLD ObjectContainer/Universal-Mach-O \ +DIRS += Process/MacOSX-Kernel DynamicLoader/MacOSX-DYLD ObjectContainer/Universal-Mach-O \ ObjectFile/Mach-O SymbolVendor/MacOSX #DIRS += Process/MacOSX-User endif diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/Makefile b/lldb/source/Plugins/Process/MacOSX-Kernel/Makefile new file mode 100644 index 000000000000..e42f390ffe0d --- /dev/null +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/Makefile @@ -0,0 +1,14 @@ +##===- source/Plugins/Process/MacOSX-Darwin/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 := lldbPluginProcessDarwin +BUILD_ARCHIVE = 1 + +include $(LLDB_LEVEL)/Makefile