summaryrefslogtreecommitdiffstats
path: root/security/nss/coreconf/RISCOS.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/coreconf/RISCOS.mk')
-rw-r--r--security/nss/coreconf/RISCOS.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/security/nss/coreconf/RISCOS.mk b/security/nss/coreconf/RISCOS.mk
new file mode 100644
index 000000000..f8d9e2f63
--- /dev/null
+++ b/security/nss/coreconf/RISCOS.mk
@@ -0,0 +1,22 @@
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+include $(CORE_DEPTH)/coreconf/UNIX.mk
+
+LIB_SUFFIX = a
+DLL_SUFFIX = so
+AR = ar cr $@
+LDOPTS += -L$(SOURCE_LIB_DIR)
+MKSHLIB = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
+
+OS_RELEASE =
+OS_TARGET = RISCOS
+
+DSO_CFLAGS = -fPIC
+DSO_LDOPTS = -shared
+
+ifdef BUILD_OPT
+ OPTIMIZER = -O3
+endif