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