michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # michael@0: # The Bourne shell (sh) on OSF1 doesn't handle "set -e" correctly, michael@0: # which we use to stop LOOP_OVER_DIRS submakes as soon as any michael@0: # submake fails. So we use the Korn shell instead. michael@0: # michael@0: SHELL = /usr/bin/ksh michael@0: michael@0: include $(CORE_DEPTH)/coreconf/UNIX.mk michael@0: michael@0: DEFAULT_COMPILER = cc michael@0: michael@0: CC = cc michael@0: OS_CFLAGS += $(NON_LD_FLAGS) -std1 michael@0: CCC = cxx michael@0: RANLIB = /bin/true michael@0: CPU_ARCH = alpha michael@0: michael@0: ifdef BUILD_OPT michael@0: OPTIMIZER += -Olimit 4000 michael@0: endif michael@0: michael@0: NON_LD_FLAGS += -ieee_with_inexact michael@0: OS_CFLAGS += -DOSF1 -D_REENTRANT michael@0: michael@0: ifeq ($(USE_PTHREADS),1) michael@0: OS_CFLAGS += -pthread michael@0: endif michael@0: michael@0: # The command to build a shared library on OSF1. michael@0: MKSHLIB += ld -shared -expect_unresolved "*" -soname $(notdir $@) michael@0: ifdef MAPFILE michael@0: MKSHLIB += -hidden -input $(MAPFILE) michael@0: endif michael@0: PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \ michael@0: sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,-exported_symbol ,' > $@ michael@0: michael@0: DSO_LDOPTS += -shared michael@0: michael@0: # required for freebl michael@0: USE_64=1 michael@0: # this platform name does not use a bit tag due to only having a 64-bit ABI michael@0: 64BIT_TAG= michael@0: