|
1 # |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 include $(CORE_DEPTH)/coreconf/UNIX.mk |
|
7 |
|
8 LIB_SUFFIX = a |
|
9 DLL_SUFFIX = so |
|
10 AR = ar cr $@ |
|
11 LDOPTS += -L$(SOURCE_LIB_DIR) |
|
12 MKSHLIB = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) |
|
13 |
|
14 OS_RELEASE = |
|
15 OS_TARGET = RISCOS |
|
16 |
|
17 DSO_CFLAGS = -fPIC |
|
18 DSO_LDOPTS = -shared |
|
19 |
|
20 ifdef BUILD_OPT |
|
21 OPTIMIZER = -O3 |
|
22 endif |