home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / config / SCOOS.mk < prev    next >
Encoding:
Text File  |  1998-04-08  |  2.9 KB  |  89 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 SCO OpenServer
  20. ######################################################################
  21. #
  22. ######################################################################
  23. # Version-independent
  24. ######################################################################
  25.  
  26. ARCH            := sco_os
  27. CPU_ARCH        := x86
  28. GFX_ARCH        := x
  29.  
  30. OS_INCLUDES        = -I/usr/include/X11
  31. G++INCLUDES        =
  32. LOC_LIB_DIR        = /usr/lib/X11
  33. MOTIF            =
  34. MOTIFLIB        = -lXm
  35. OS_LIBS            = -lpmapi -lsocket
  36.  
  37. PLATFORM_FLAGS        = -DSCO -Dsco -DSCO_SV -Di386
  38. MOVEMAIL_FLAGS        = -DUSG -DHAVE_STRERROR
  39. PORT_FLAGS        = -DSYSV -DSW_THREADS -DNO_SIGNED -DNEED_SOCKET_H -DNEED_S_ISLNK -DNO_LONG_LONG -DNEED_S_ISSOCK -DNEED_MATH_H -DSYS_BYTEORDER_H -DHAVE_BITYPES_H -DUSE_NODL_TABS -DMOTIF_WARNINGS_UPSET_JAVA -DMITSHM -DNO_ID_T -DHAVE_WAITID -DHAVE_SYS_NETINET_IN_H -DHAVE_REMAINDER -DNEED_SYS_SELECT_H -DHAVE_SYS_BITYPES_H -DNEED_H_ERRNO
  40. PDJAVA_FLAGS        =
  41.  
  42. OS_CFLAGS        = $(PLATFORM_FLAGS) $(PORT_FLAGS) $(MOVEMAIL_FLAGS)
  43.  
  44. LOCALE_MAP        = $(DEPTH)/cmd/xfe/intl/sco.lm
  45. EN_LOCALE        = C
  46. DE_LOCALE        = de_DE.ISO8859-1
  47. FR_LOCALE        = fr_FR.ISO8859-1
  48. JP_LOCALE        = ja
  49. SJIS_LOCALE        = ja_JP.SJIS
  50. KR_LOCALE        = ko_KR.EUC
  51. CN_LOCALE        = zh
  52. TW_LOCALE        = zh
  53. I2_LOCALE        = i2
  54.  
  55. ######################################################################
  56. # Version-specific stuff
  57. ######################################################################
  58.  
  59. ######################################################################
  60. # Overrides for defaults in config.mk (or wherever)
  61. ######################################################################
  62.  
  63. BSDECHO            = /bin/echo
  64. CC            = cc -b elf -K pic
  65. CCC            = $(DEPTH)/build/hcpp +.cpp +d
  66. EMACS            = /bin/true
  67. WHOAMI            = $(LOCAL_BIN)whoami
  68. UNZIP_PROG        = $(CONTRIB_BIN)unzip
  69. ZIP_PROG        = $(CONTRIB_BIN)zip
  70.  
  71. ######################################################################
  72. # Other
  73. ######################################################################
  74.  
  75. #
  76. # -DSCO_PM - Policy Manager AKA: SCO Licensing
  77. # Only (supposedly) needed for the RTM builds.
  78. #
  79. ifdef NEED_SCO_PM
  80. PLATFORM_FLAGS        += -DSCO_PM
  81. endif
  82.  
  83. BUILD_UNIX_PLUGINS    = 1
  84.  
  85. MKSHLIB            = $(LD) $(DSO_LDOPTS)
  86.  
  87. DSO_LDOPTS        = -G -b elf -d y
  88. DSO_LDFLAGS        =
  89.