security/nss/coreconf/OSF1.mk

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

mercurial