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/.
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.
13
include $(CORE_DEPTH)/coreconf/UNIX.mk
18
OS_CFLAGS += $(NON_LD_FLAGS) -std1
24
OPTIMIZER += -Olimit 4000
27
NON_LD_FLAGS += -ieee_with_inexact
28
OS_CFLAGS += -DOSF1 -D_REENTRANT
30
ifeq ($(USE_PTHREADS),1)
34
# The command to build a shared library on OSF1.
35
MKSHLIB += ld -shared -expect_unresolved "*" -soname $(notdir $@)
37
MKSHLIB += -hidden -input $(MAPFILE)
39
PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \
40
sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,-exported_symbol ,' > $@
46
# this platform name does not use a bit tag due to only having a 64-bit ABI