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