1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/coreconf/HP-UXB.11.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,48 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 +include $(CORE_DEPTH)/coreconf/HP-UX.mk 1.9 + 1.10 +ifndef NS_USE_GCC 1.11 + CCC = /opt/aCC/bin/aCC -ext 1.12 + ifeq ($(USE_64), 1) 1.13 + ifeq ($(OS_TEST), ia64) 1.14 + ARCHFLAG = -Aa +e +p +DD64 1.15 + else 1.16 + # Our HP-UX build machine has a strange problem. If 1.17 + # a 64-bit PA-RISC executable calls getcwd() in a 1.18 + # network-mounted directory, it fails with ENOENT. 1.19 + # We don't know why. Since nsinstall calls getcwd(), 1.20 + # this breaks our 64-bit HP-UX nightly builds. None 1.21 + # of our other HP-UX machines have this problem. 1.22 + # 1.23 + # We worked around this problem by building nsinstall 1.24 + # as a 32-bit PA-RISC executable for 64-bit PA-RISC 1.25 + # builds. -- wtc 2003-06-03 1.26 + ifdef INTERNAL_TOOLS 1.27 + ARCHFLAG = +DAportable +DS2.0 1.28 + else 1.29 + ARCHFLAG = -Aa +e +DA2.0W +DS2.0 +DChpux 1.30 + endif 1.31 + endif 1.32 + else 1.33 + ifeq ($(OS_TEST), ia64) 1.34 + ARCHFLAG = -Aa +e +p +DD32 1.35 + else 1.36 + ARCHFLAG = +DAportable +DS2.0 1.37 + endif 1.38 + endif 1.39 +else 1.40 + CCC = aCC 1.41 +endif 1.42 + 1.43 +# 1.44 +# To use the true pthread (kernel thread) library on HP-UX 1.45 +# 11.x, we should define _POSIX_C_SOURCE to be 199506L. 1.46 +# The _REENTRANT macro is deprecated. 1.47 +# 1.48 + 1.49 +OS_CFLAGS += $(ARCHFLAG) -DHPUX11 -D_POSIX_C_SOURCE=199506L 1.50 +OS_LIBS += -lpthread -lm -lrt 1.51 +HPUX11 = 1