Blame nss/coreconf/NEC4.2.mk
|
Packit |
40b132 |
#
|
|
Packit |
40b132 |
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
40b132 |
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit |
40b132 |
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
include $(CORE_DEPTH)/coreconf/UNIX.mk
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
DEFAULT_COMPILER = $(CORE_DEPTH)/build/hcc
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
CPU_ARCH = mips
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
ifdef NS_USE_GCC
|
|
Packit |
40b132 |
CC = gcc
|
|
Packit |
40b132 |
CCC = g++
|
|
Packit |
40b132 |
else
|
|
Packit |
40b132 |
CC = $(CORE_DEPTH)/build/hcc
|
|
Packit |
40b132 |
OS_CFLAGS = -Xa -KGnum=0 -KOlimit=4000
|
|
Packit |
40b132 |
CCC = g++
|
|
Packit |
40b132 |
endif
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
MKSHLIB = $(LD) $(DSO_LDOPTS)
|
|
Packit |
40b132 |
ifdef MAPFILE
|
|
Packit |
40b132 |
# Add LD options to restrict exported symbols to those in the map file
|
|
Packit |
40b132 |
endif
|
|
Packit |
40b132 |
# Change PROCESS to put the mapfile in the correct format for this platform
|
|
Packit |
40b132 |
PROCESS_MAP_FILE = cp $< $@
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
RANLIB = /bin/true
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
OS_CFLAGS += $(ODD_CFLAGS) -DSVR4 -D__SVR4 -DNEC -Dnec_ews -DHAVE_STRERROR
|
|
Packit |
40b132 |
OS_LIBS = -lsocket -lnsl -ldl $(LDOPTIONS)
|
|
Packit |
40b132 |
LDOPTIONS = -lc -L/usr/ucblib -lucb
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
NOSUCHFILE = /nec-rm-f-sucks
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
DSO_LDOPTS = -G
|