home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / config / SINIX.mk < prev    next >
Encoding:
Text File  |  1998-04-08  |  3.2 KB  |  105 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 SNI SINIX-N (aka ReliantUNIX)
  20. ######################################################################
  21. #
  22. ######################################################################
  23. # Version-independent
  24. ######################################################################
  25.  
  26. ARCH            := sinix
  27. CPU_ARCH        := mips
  28. GFX_ARCH        := x
  29.  
  30. OS_INCLUDES        = -I/usr/local/include
  31. G++INCLUDES        =
  32. LOC_LIB_DIR        = /usr/lib/locale
  33. MOTIF            =
  34. MOTIFLIB        = -lXm
  35. OS_LIBS            = -lsocket -lnsl -lgen -lm -ldl -lresolv -lc -L/usr/ucblib -lucb
  36.  
  37. PLATFORM_FLAGS        = -DSNI -Dsinix
  38. MOVEMAIL_FLAGS        = -DUSG
  39. PORT_FLAGS        = -DSVR4 -DHAVE_FILIO_H -DNEED_S_ISSOCK -DNEED_TIMEVAL -DNEED_SELECT_H -DHAVE_LCHOWN -DNEED_S_ISLNK -DNEED_FCHMOD_PROTO -DNO_CDEFS_H -DSYS_BYTEORDER_H -DUSE_NODL_TABS -DMITSHM -DNO_MULTICAST -DHAVE_NETINET_IN_H -DHAVE_INT32_T
  40. PDJAVA_FLAGS        =
  41.  
  42. OS_CFLAGS        = $(PLATFORM_FLAGS) $(PORT_FLAGS) $(MOVEMAIL_FLAGS)
  43.  
  44. LOCALE_MAP        = $(DEPTH)/cmd/xfe/intl/sinix.lm
  45. EN_LOCALE        = en_US.88591
  46. DE_LOCALE        = de_DE.88591
  47. FR_LOCALE        = fr_FR.88591
  48. JP_LOCALE        = ja_JP.EUC
  49. SJIS_LOCALE        = ja_JP.SJIS
  50. KR_LOCALE        = ko_KR.euc
  51. CN_LOCALE        = zh_CN.ugb
  52. TW_LOCALE        = zh_TW.ucns
  53. I2_LOCALE        = i2
  54. IT_LOCALE        = it_IT.88591
  55. SV_LOCALE        = sv_SV.88591
  56. ES_LOCALE        = es_ES.88591
  57. NL_LOCALE        = nl_NL.88591
  58. PT_LOCALE        = pt_PT.88591
  59.  
  60. ######################################################################
  61. # Version-specific stuff
  62. ######################################################################
  63.  
  64. ######################################################################
  65. # Overrides for defaults in config.mk (or wherever)
  66. ######################################################################
  67.  
  68. BSDECHO            = /usr/ucb/echo
  69. EMACS            = /bin/true
  70. WHOAMI            = /usr/ucb/whoami
  71. PERL            = $(LOCAL_BIN)perl
  72.  
  73. ######################################################################
  74. # Other
  75. ######################################################################
  76.  
  77. ifdef NS_USE_NATIVE
  78. CC            = cc
  79. CCC            = CC
  80. PLATFORM_FLAGS        += -fullwarn -xansi
  81. ifdef BUILD_OPT
  82. OPTIMIZER        = -Olimit 4000
  83. endif
  84. else
  85. PLATFORM_FLAGS        += -pipe -Wall -Wno-format
  86. ASFLAGS            += -x assembler-with-cpp
  87. ifdef BUILD_OPT
  88. OPTIMIZER        = -O
  89. else
  90. OPTIMIZER        = -gdwarf
  91. JAVA_OPTIMIZER        = -gdwarf
  92. endif
  93. endif
  94.  
  95. ifneq ($(USE_KERNEL_THREADS),1)
  96. PORT_FLAGS        += -DSW_THREADS
  97. endif
  98.  
  99. BUILD_UNIX_PLUGINS    = 1
  100.  
  101. MKSHLIB            = $(LD) $(DSO_LDOPTS)
  102.  
  103. DSO_LDOPTS        = -G
  104. DSO_LDFLAGS        = $(MOTIFLIB) -lXt -lX11 $(OS_LIBS)
  105.