[Lldb-commits] [PATCH] Makefiles for new mach-core directory

dawn at burble.org dawn at burble.org
Thu Feb 23 18:09:50 PST 2012


This patch fixes building lldb on MacOSx using gnu make.
Please commit.

Thanks!
-Dawn
-------------- next part --------------
Index: source/Plugins/Makefile
===================================================================
--- source/Plugins/Makefile	(revision 151333)
+++ source/Plugins/Makefile	(working copy)
@@ -27,6 +27,7 @@
 DIRS += SymbolVendor/MacOSX
 DIRS += OperatingSystem/Darwin-Kernel
 #DIRS += Process/MacOSX-User
+DIRS += Process/mach-core
 endif
 
 ifeq ($(HOST_OS),Linux)
Index: source/Plugins/Process/mach-core/Makefile
===================================================================
--- source/Plugins/Process/mach-core/Makefile	(revision 0)
+++ source/Plugins/Process/mach-core/Makefile	(revision 0)
@@ -0,0 +1,14 @@
+##===- source/Plugins/Process/mach-core/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 := lldbPluginProcessMachCore
+BUILD_ARCHIVE = 1
+
+include $(LLDB_LEVEL)/Makefile
Index: lib/Makefile
===================================================================
--- lib/Makefile	(revision 151333)
+++ lib/Makefile	(working copy)
@@ -77,7 +77,8 @@
               lldbPluginOperatingSystemDarwinKernel.a \
               lldbPluginSymbolVendorMacOSX.a \
               lldbPluginPlatformMacOSX.a \
-              lldbPluginProcessDarwin.a
+              lldbPluginProcessDarwin.a \
+              lldbPluginProcessMachCore.a
 endif
 
 ifeq ($(HOST_OS),Linux)


More information about the lldb-commits mailing list