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# 11SHELL = /usr/bin/ksh 12 13include $(CORE_DEPTH)/coreconf/UNIX.mk 14 15DEFAULT_COMPILER = cc 16 17CC = cc 18OS_CFLAGS += $(NON_LD_FLAGS) -std1 19CCC = cxx 20RANLIB = /bin/true 21CPU_ARCH = alpha 22 23ifdef BUILD_OPT 24 OPTIMIZER += -Olimit 4000 25endif 26 27NON_LD_FLAGS += -ieee_with_inexact 28OS_CFLAGS += -DOSF1 -D_REENTRANT 29 30ifeq ($(USE_PTHREADS),1) 31 OS_CFLAGS += -pthread 32endif 33 34# The command to build a shared library on OSF1. 35MKSHLIB += ld -shared -expect_unresolved "*" -soname $(notdir $@) 36ifdef MAPFILE 37MKSHLIB += -hidden -input $(MAPFILE) 38endif 39PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \ 40 sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,-exported_symbol ,' > $@ 41 42DSO_LDOPTS += -shared 43 44# required for freebl 45USE_64=1 46# this platform name does not use a bit tag due to only having a 64-bit ABI 4764BIT_TAG= 48 49