|
1 # |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 include $(CORE_DEPTH)/coreconf/UNIX.mk |
|
7 |
|
8 DEFAULT_COMPILER = cc |
|
9 |
|
10 INCLUDES += -I/usr/dt/include -I/usr/openwin/include -I/home/motif/usr/include |
|
11 |
|
12 # SunOS 4 _requires_ that shared libs have a version number. |
|
13 # XXX FIXME: Version number should use NSPR_VERSION_NUMBER? |
|
14 DLL_SUFFIX = so.1.0 |
|
15 CC = gcc |
|
16 RANLIB = ranlib |
|
17 CPU_ARCH = sparc |
|
18 |
|
19 # Purify doesn't like -MDupdate |
|
20 NOMD_OS_CFLAGS += -Wall -Wno-format -Wno-switch -DSUNOS4 |
|
21 OS_CFLAGS += $(DSO_CFLAGS) $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES) |
|
22 MKSHLIB = $(LD) |
|
23 MKSHLIB += $(DSO_LDOPTS) |
|
24 NOSUCHFILE = /solaris-rm-f-sucks |
|
25 DSO_LDOPTS = |
|
26 |
|
27 # -fPIC generates position-independent code for use in a shared library. |
|
28 DSO_CFLAGS += -fPIC |