Blame nss/coreconf/SunOS4.1.3_U1.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 |
include $(CORE_DEPTH)/coreconf/UNIX.mk
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
DEFAULT_COMPILER = cc
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
INCLUDES += -I/usr/dt/include -I/usr/openwin/include -I/home/motif/usr/include
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
# SunOS 4 _requires_ that shared libs have a version number.
|
|
Packit |
40b132 |
# XXX FIXME: Version number should use NSPR_VERSION_NUMBER?
|
|
Packit |
40b132 |
DLL_SUFFIX = so.1.0
|
|
Packit |
40b132 |
CC = gcc
|
|
Packit |
40b132 |
RANLIB = ranlib
|
|
Packit |
40b132 |
CPU_ARCH = sparc
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
# Purify doesn't like -MDupdate
|
|
Packit |
40b132 |
NOMD_OS_CFLAGS += -Wall -Wno-format -Wno-switch -DSUNOS4
|
|
Packit |
40b132 |
OS_CFLAGS += $(DSO_CFLAGS) $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES)
|
|
Packit |
40b132 |
MKSHLIB = $(LD)
|
|
Packit |
40b132 |
MKSHLIB += $(DSO_LDOPTS)
|
|
Packit |
40b132 |
NOSUCHFILE = /solaris-rm-f-sucks
|
|
Packit |
40b132 |
DSO_LDOPTS =
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
# -fPIC generates position-independent code for use in a shared library.
|
|
Packit |
40b132 |
DSO_CFLAGS += -fPIC
|