This revision was automatically updated to reflect the committed changes.
Closed by commit rL251171: Add initial gmake glue for the NetBSD platform
(authored by brucem).
Changed prior to commit:
http://reviews.llvm.org/D13715?vs=37957&id=38289#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13715
Files:
lldb/trunk/lib/Makefile
lldb/trunk/source/Host/Makefile
lldb/trunk/source/Host/netbsd/Makefile
lldb/trunk/source/Plugins/Makefile
lldb/trunk/source/Plugins/Platform/Makefile
lldb/trunk/source/Plugins/Platform/NetBSD/Makefile
Index: lldb/trunk/lib/Makefile
===================================================================
--- lldb/trunk/lib/Makefile
+++ lldb/trunk/lib/Makefile
@@ -102,6 +102,7 @@
lldbPluginPlatformLinux.a \
lldbPluginPlatformWindows.a \
lldbPluginPlatformFreeBSD.a \
+ lldbPluginPlatformNetBSD.a \
lldbPluginPlatformPOSIX.a \
lldbPluginPlatformKalimba.a \
lldbPluginPlatformAndroid.a \
@@ -141,6 +142,10 @@
lldbPluginProcessFreeBSD.a
endif
+ifeq ($(HOST_OS),NetBSD)
+ USEDLIBS += lldbPluginProcessPOSIX.a
+endif
+
include $(LEVEL)/Makefile.common
ifeq ($(HOST_OS),MingW)
Index: lldb/trunk/source/Plugins/Makefile
===================================================================
--- lldb/trunk/source/Plugins/Makefile
+++ lldb/trunk/source/Plugins/Makefile
@@ -58,4 +58,8 @@
PARALLEL_DIRS += Process/FreeBSD Process/POSIX
endif
+ifeq ($(HOST_OS),NetBSD)
+PARALLEL_DIRS += Process/POSIX
+endif
+
include $(LLDB_LEVEL)/Makefile
Index: lldb/trunk/source/Plugins/Platform/NetBSD/Makefile
===================================================================
--- lldb/trunk/source/Plugins/Platform/NetBSD/Makefile
+++ lldb/trunk/source/Plugins/Platform/NetBSD/Makefile
@@ -0,0 +1,14 @@
+##===- source/Plugins/Platform/NetBSD/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 := lldbPluginPlatformNetBSD
+BUILD_ARCHIVE = 1
+
+include $(LLDB_LEVEL)/Makefile
Index: lldb/trunk/source/Plugins/Platform/Makefile
===================================================================
--- lldb/trunk/source/Plugins/Platform/Makefile
+++ lldb/trunk/source/Plugins/Platform/Makefile
@@ -11,7 +11,7 @@
include $(LLDB_LEVEL)/../../Makefile.config
-PARALLEL_DIRS := gdb-server MacOSX Linux FreeBSD POSIX Windows Kalimba Android
+PARALLEL_DIRS := gdb-server MacOSX Linux FreeBSD NetBSD POSIX Windows Kalimba Android
# ifeq ($(HOST_OS),Darwin)
# DIRS += MacOSX
@@ -24,9 +24,13 @@
# ifeq ($(HOST_OS),FreeBSD)
# DIRS += FreeBSD
# endif
-#
+#
# ifeq ($(HOST_OS),GNU/kFreeBSD)
# DIRS += FreeBSD
# endif
+#
+# ifeq ($(HOST_OS),NetBSD)
+# DIRS += NetBSD
+# endif
include $(LLDB_LEVEL)/Makefile
Index: lldb/trunk/source/Host/netbsd/Makefile
===================================================================
--- lldb/trunk/source/Host/netbsd/Makefile
+++ lldb/trunk/source/Host/netbsd/Makefile
@@ -0,0 +1,14 @@
+##===- source/Host/netbsd/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 := lldbHostNetBSD
+BUILD_ARCHIVE = 1
+
+include $(LLDB_LEVEL)/Makefile
Index: lldb/trunk/source/Host/Makefile
===================================================================
--- lldb/trunk/source/Host/Makefile
+++ lldb/trunk/source/Host/Makefile
@@ -43,6 +43,11 @@
$(eval $(call DIR_SOURCES,freebsd))
endif
+ifeq ($(HOST_OS),NetBSD)
+$(eval $(call DIR_SOURCES,posix))
+$(eval $(call DIR_SOURCES,netbsd))
+endif
+
ifeq ($(HOST_OS),MingW)
$(eval $(call DIR_SOURCES,windows))
endif
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits