1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/coreconf/SunOS4.1.3_U1.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 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 + 1.9 +include $(CORE_DEPTH)/coreconf/UNIX.mk 1.10 + 1.11 +DEFAULT_COMPILER = cc 1.12 + 1.13 +INCLUDES += -I/usr/dt/include -I/usr/openwin/include -I/home/motif/usr/include 1.14 + 1.15 +# SunOS 4 _requires_ that shared libs have a version number. 1.16 +# XXX FIXME: Version number should use NSPR_VERSION_NUMBER? 1.17 +DLL_SUFFIX = so.1.0 1.18 +CC = gcc 1.19 +RANLIB = ranlib 1.20 +CPU_ARCH = sparc 1.21 + 1.22 +# Purify doesn't like -MDupdate 1.23 +NOMD_OS_CFLAGS += -Wall -Wno-format -Wno-switch -DSUNOS4 1.24 +OS_CFLAGS += $(DSO_CFLAGS) $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES) 1.25 +MKSHLIB = $(LD) 1.26 +MKSHLIB += $(DSO_LDOPTS) 1.27 +NOSUCHFILE = /solaris-rm-f-sucks 1.28 +DSO_LDOPTS = 1.29 + 1.30 +# -fPIC generates position-independent code for use in a shared library. 1.31 +DSO_CFLAGS += -fPIC