summaryrefslogtreecommitdiffstats
path: root/security/nss/coreconf/RISCOS.mk
blob: f8d9e2f631485a41408ac6a1ee4234b759ced7c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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