security/nss/coreconf/NEC4.2.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/coreconf/NEC4.2.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +#
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +include $(CORE_DEPTH)/coreconf/UNIX.mk
    1.10 +
    1.11 +DEFAULT_COMPILER = $(CORE_DEPTH)/build/hcc
    1.12 +
    1.13 +CPU_ARCH		= mips
    1.14 +
    1.15 +ifdef NS_USE_GCC
    1.16 +CC			= gcc
    1.17 +CCC			= g++
    1.18 +else
    1.19 +CC			= $(CORE_DEPTH)/build/hcc
    1.20 +OS_CFLAGS		= -Xa -KGnum=0 -KOlimit=4000
    1.21 +CCC			= g++
    1.22 +endif
    1.23 +
    1.24 +MKSHLIB			= $(LD) $(DSO_LDOPTS)
    1.25 +ifdef MAPFILE
    1.26 +# Add LD options to restrict exported symbols to those in the map file
    1.27 +endif
    1.28 +# Change PROCESS to put the mapfile in the correct format for this platform
    1.29 +PROCESS_MAP_FILE = cp $< $@
    1.30 +
    1.31 +RANLIB			= /bin/true
    1.32 +
    1.33 +OS_CFLAGS		+= $(ODD_CFLAGS) -DSVR4 -D__SVR4 -DNEC -Dnec_ews -DHAVE_STRERROR
    1.34 +OS_LIBS			= -lsocket -lnsl -ldl $(LDOPTIONS)
    1.35 +LDOPTIONS		= -lc -L/usr/ucblib -lucb
    1.36 +
    1.37 +NOSUCHFILE		= /nec-rm-f-sucks
    1.38 +
    1.39 +DSO_LDOPTS		= -G

mercurial