SunOS4.1.3_U1.mk 914 B

1234567891011121314151617181920212223242526272829
  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. include $(CORE_DEPTH)/coreconf/UNIX.mk
  6. DEFAULT_COMPILER = cc
  7. INCLUDES += -I/usr/dt/include -I/usr/openwin/include -I/home/motif/usr/include
  8. # SunOS 4 _requires_ that shared libs have a version number.
  9. # XXX FIXME: Version number should use NSPR_VERSION_NUMBER?
  10. DLL_SUFFIX = so.1.0
  11. CC = gcc
  12. RANLIB = ranlib
  13. CPU_ARCH = sparc
  14. # Purify doesn't like -MDupdate
  15. NOMD_OS_CFLAGS += -Wall -Wno-format -Wno-switch -DSUNOS4
  16. OS_CFLAGS += $(DSO_CFLAGS) $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES)
  17. MKSHLIB = $(LD)
  18. MKSHLIB += $(DSO_LDOPTS)
  19. NOSUCHFILE = /solaris-rm-f-sucks
  20. DSO_LDOPTS =
  21. # -fPIC generates position-independent code for use in a shared library.
  22. DSO_CFLAGS += -fPIC