security/nss/coreconf/OSF1.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/coreconf/OSF1.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,48 @@
     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 +#
    1.10 +# The Bourne shell (sh) on OSF1 doesn't handle "set -e" correctly,
    1.11 +# which we use to stop LOOP_OVER_DIRS submakes as soon as any
    1.12 +# submake fails.  So we use the Korn shell instead.
    1.13 +#
    1.14 +SHELL = /usr/bin/ksh
    1.15 +
    1.16 +include $(CORE_DEPTH)/coreconf/UNIX.mk
    1.17 +
    1.18 +DEFAULT_COMPILER = cc
    1.19 +
    1.20 +CC         = cc
    1.21 +OS_CFLAGS += $(NON_LD_FLAGS) -std1
    1.22 +CCC        = cxx
    1.23 +RANLIB     = /bin/true
    1.24 +CPU_ARCH   = alpha
    1.25 +
    1.26 +ifdef BUILD_OPT
    1.27 +	OPTIMIZER += -Olimit 4000
    1.28 +endif
    1.29 +
    1.30 +NON_LD_FLAGS += -ieee_with_inexact
    1.31 +OS_CFLAGS    += -DOSF1 -D_REENTRANT 
    1.32 +
    1.33 +ifeq ($(USE_PTHREADS),1)
    1.34 +	OS_CFLAGS += -pthread
    1.35 +endif
    1.36 +
    1.37 +# The command to build a shared library on OSF1.
    1.38 +MKSHLIB    += ld -shared -expect_unresolved "*" -soname $(notdir $@)
    1.39 +ifdef MAPFILE
    1.40 +MKSHLIB += -hidden -input $(MAPFILE)
    1.41 +endif
    1.42 +PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \
    1.43 + sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,-exported_symbol ,' > $@
    1.44 +
    1.45 +DSO_LDOPTS += -shared
    1.46 +
    1.47 +# required for freebl
    1.48 +USE_64=1
    1.49 +# this platform name does not use a bit tag due to only having a 64-bit ABI
    1.50 +64BIT_TAG=
    1.51 +

mercurial