home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / config / SunOS4.mk < prev    next >
Encoding:
Text File  |  1998-04-08  |  3.0 KB  |  92 lines

  1. #
  2. # The contents of this file are subject to the Netscape Public License
  3. # Version 1.0 (the "NPL"); you may not use this file except in
  4. # compliance with the NPL.  You may obtain a copy of the NPL at
  5. # http://www.mozilla.org/NPL/
  6. #
  7. # Software distributed under the NPL is distributed on an "AS IS" basis,
  8. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9. # for the specific language governing rights and limitations under the
  10. # NPL.
  11. #
  12. # The Initial Developer of this code under the NPL is Netscape
  13. # Communications Corporation.  Portions created by Netscape are
  14. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15. # Reserved.
  16. #
  17.  
  18. ######################################################################
  19. # Config stuff for SunOS4.1.x
  20. ######################################################################
  21. #
  22. ######################################################################
  23. # Version-independent
  24. ######################################################################
  25.  
  26. ARCH            := sunos
  27. CPU_ARCH        := sparc
  28. GFX_ARCH        := x
  29.  
  30. OS_INCLUDES        = -I/usr/X11R5/include -I$(MOTIF)/include
  31. G++INCLUDES        =
  32. LOC_LIB_DIR        = /usr/openwin/lib/locale
  33. MOTIF            = /home/motif/usr
  34. MOTIFLIB        = -L$(MOTIF)/lib -lXm
  35. OS_LIBS            = -ldl -lm
  36.  
  37. PLATFORM_FLAGS        = -Wall -Wno-format -DSUNOS4
  38. MOVEMAIL_FLAGS        =
  39. PORT_FLAGS        = -DSW_THREADS -DNEED_SYSCALL -DSTRINGS_ALIGNED -DNO_REGEX -DNO_ISDIR -DUSE_RE_COMP -DNO_REGCOMP -DUSE_GETWD -DNO_MEMMOVE -DNO_ALLOCA -DBOGUS_MB_MAX -DNO_CONST -DHAVE_ODD_SEND -DHAVE_ODD_IOCTL -DHAVE_FILIO_H -DMITSHM -DNEED_SYS_WAIT_H -DNO_TZNAME -DNEED_SYS_TIME_H -DNO_MULTICAST -DHAVE_INT32_T -DNEED_UINT_T -DUSE_ODD_SSCANF -DUSE_ODD_SPRINTF -DNO_IOSTREAM_H
  40. PDJAVA_FLAGS        =
  41.  
  42. OS_CFLAGS        = $(PLATFORM_FLAGS) $(PORT_FLAGS) $(MOVEMAIL_FLAGS)
  43.  
  44. LOCALE_MAP        = $(DEPTH)/cmd/xfe/intl/sunos.lm
  45. EN_LOCALE        = en_US
  46. DE_LOCALE        = de
  47. FR_LOCALE        = fr
  48. JP_LOCALE        = ja
  49. SJIS_LOCALE        = ja_JP.SJIS
  50. KR_LOCALE        = ko
  51. CN_LOCALE        = zh
  52. TW_LOCALE        = zh_TW
  53. I2_LOCALE        = i2
  54. IT_LOCALE        = it
  55. SV_LOCALE        = sv
  56. ES_LOCALE        = es
  57. NL_LOCALE        = nl
  58. PT_LOCALE        = pt
  59.  
  60. ######################################################################
  61. # Version-specific stuff
  62. ######################################################################
  63.  
  64. ######################################################################
  65. # Overrides for defaults in config.mk (or wherever)
  66. ######################################################################
  67.  
  68. DLL_SUFFIX        = so.1.0
  69. PERL            = $(LOCAL_SUN4)perl
  70. RANLIB            = /bin/ranlib
  71. TAR            = /usr/bin/tar
  72. WHOAMI            = /usr/ucb/whoami
  73. UNZIP_PROG        = $(NS_BIN)unzip
  74. ZIP_PROG        = $(NS_BIN)zip
  75.  
  76. ######################################################################
  77. # Other
  78. ######################################################################
  79.  
  80. ifndef NO_MDUPDATE
  81. MDUPDATE_FLAGS        = -MDupdate $(DEPENDENCIES)
  82. endif
  83.  
  84. HAVE_PURIFY        = 1
  85. MUST_BOOTLEG_ALLOCA    = 1
  86. BUILD_UNIX_PLUGINS    = 1
  87.  
  88. MKSHLIB            = $(LD) -L$(MOTIF)/lib
  89.  
  90. DSO_LDOPTS        =
  91. DSO_LDFLAGS        =
  92.