45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
$NetBSD: patch-mb,v 1.1 2014/11/03 12:18:32 ryoon Exp $
|
|
|
|
--- xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2014-03-15 05:19:39.000000000 +0000
|
|
+++ xpcom/reflect/xptcall/src/md/unix/Makefile.in
|
|
@@ -83,6 +83,39 @@ endif
|
|
# SPARC
|
|
######################################################################
|
|
#
|
|
+# Linux/SPARC
|
|
+#
|
|
+ifeq ($(OS_ARCH),Linux)
|
|
+ifneq (,$(findstring sparc,$(OS_TEST)))
|
|
+ASFILES := xptcinvoke_asm_sparc_linux_GCC3.s xptcstubs_asm_sparc_solaris.s
|
|
+endif
|
|
+endif
|
|
+#
|
|
+# NetBSD/SPARC
|
|
+#
|
|
+ifeq ($(OS_ARCH)$(OS_TEST),NetBSDsparc)
|
|
+ASFILES := xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s
|
|
+endif
|
|
+#
|
|
+# OpenBSD/SPARC
|
|
+#
|
|
+ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc)
|
|
+ASFILES := xptcinvoke_asm_sparc_openbsd.s xptcstubs_asm_sparc_openbsd.s
|
|
+endif
|
|
+#
|
|
+# OpenBSD/SPARC64
|
|
+#
|
|
+ifneq (,$(filter OpenBSDsparc64 FreeBSDsparc64,$(OS_ARCH)$(OS_TEST)))
|
|
+ASFILES := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s
|
|
+endif
|
|
+#
|
|
+# NetBSD/SPARC64
|
|
+#
|
|
+ifeq ($(OS_ARCH)$(OS_TEST),NetBSDsparc64)
|
|
+CPPSRCS := xptcinvoke_sparc64_netbsd.cpp xptcstubs_sparc64_openbsd.cpp
|
|
+ASFILES := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_netbsd.s
|
|
+endif
|
|
+#
|
|
# Solaris/SPARC
|
|
#
|
|
ifeq ($(OS_ARCH),SunOS)
|