|
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 DEFAULT_COMPILER = $(CORE_DEPTH)/build/hcc |
|
9 |
|
10 CPU_ARCH = mips |
|
11 |
|
12 ifdef NS_USE_GCC |
|
13 CC = gcc |
|
14 CCC = g++ |
|
15 else |
|
16 CC = $(CORE_DEPTH)/build/hcc |
|
17 OS_CFLAGS = -Xa -KGnum=0 -KOlimit=4000 |
|
18 CCC = g++ |
|
19 endif |
|
20 |
|
21 MKSHLIB = $(LD) $(DSO_LDOPTS) |
|
22 ifdef MAPFILE |
|
23 # Add LD options to restrict exported symbols to those in the map file |
|
24 endif |
|
25 # Change PROCESS to put the mapfile in the correct format for this platform |
|
26 PROCESS_MAP_FILE = cp $< $@ |
|
27 |
|
28 RANLIB = /bin/true |
|
29 |
|
30 OS_CFLAGS += $(ODD_CFLAGS) -DSVR4 -D__SVR4 -DNEC -Dnec_ews -DHAVE_STRERROR |
|
31 OS_LIBS = -lsocket -lnsl -ldl $(LDOPTIONS) |
|
32 LDOPTIONS = -lc -L/usr/ucblib -lucb |
|
33 |
|
34 NOSUCHFILE = /nec-rm-f-sucks |
|
35 |
|
36 DSO_LDOPTS = -G |