security/nss/coreconf/OSF1.mk

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 #
michael@0 2 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5
michael@0 6 #
michael@0 7 # The Bourne shell (sh) on OSF1 doesn't handle "set -e" correctly,
michael@0 8 # which we use to stop LOOP_OVER_DIRS submakes as soon as any
michael@0 9 # submake fails. So we use the Korn shell instead.
michael@0 10 #
michael@0 11 SHELL = /usr/bin/ksh
michael@0 12
michael@0 13 include $(CORE_DEPTH)/coreconf/UNIX.mk
michael@0 14
michael@0 15 DEFAULT_COMPILER = cc
michael@0 16
michael@0 17 CC = cc
michael@0 18 OS_CFLAGS += $(NON_LD_FLAGS) -std1
michael@0 19 CCC = cxx
michael@0 20 RANLIB = /bin/true
michael@0 21 CPU_ARCH = alpha
michael@0 22
michael@0 23 ifdef BUILD_OPT
michael@0 24 OPTIMIZER += -Olimit 4000
michael@0 25 endif
michael@0 26
michael@0 27 NON_LD_FLAGS += -ieee_with_inexact
michael@0 28 OS_CFLAGS += -DOSF1 -D_REENTRANT
michael@0 29
michael@0 30 ifeq ($(USE_PTHREADS),1)
michael@0 31 OS_CFLAGS += -pthread
michael@0 32 endif
michael@0 33
michael@0 34 # The command to build a shared library on OSF1.
michael@0 35 MKSHLIB += ld -shared -expect_unresolved "*" -soname $(notdir $@)
michael@0 36 ifdef MAPFILE
michael@0 37 MKSHLIB += -hidden -input $(MAPFILE)
michael@0 38 endif
michael@0 39 PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \
michael@0 40 sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,-exported_symbol ,' > $@
michael@0 41
michael@0 42 DSO_LDOPTS += -shared
michael@0 43
michael@0 44 # required for freebl
michael@0 45 USE_64=1
michael@0 46 # this platform name does not use a bit tag due to only having a 64-bit ABI
michael@0 47 64BIT_TAG=
michael@0 48

mercurial