home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / config / UNIXWARE.mk < prev    next >
Encoding:
Text File  |  1998-04-08  |  2.8 KB  |  84 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 UnixWare
  20. ######################################################################
  21. #
  22. ######################################################################
  23. # Version-independent
  24. ######################################################################
  25.  
  26. ARCH            := sco_uw
  27. CPU_ARCH        := x86
  28. GFX_ARCH        := x
  29.  
  30. OS_INCLUDES        = -I/usr/X/include
  31. G++INCLUDES        =
  32. LOC_LIB_DIR        = /usr/lib/X11
  33. MOTIF            =
  34. MOTIFLIB        = -lXm
  35. OS_LIBS            = -lsocket -lc /usr/ucblib/libucb.a
  36.  
  37. PLATFORM_FLAGS        = -DUNIXWARE -Di386
  38. MOVEMAIL_FLAGS        = -DUSG -DHAVE_STRERROR
  39. PORT_FLAGS        = -DSVR4 -DSYSV -DSW_THREADS -DHAVE_FILIO_H -DHAVE_ODD_ACCEPT -DNEED_S_ISLNK -DLAME_READDIR -DNO_CDEFS_H -DNO_LONG_LONG -DNEED_S_ISSOCK -DSYS_BYTEORDER_H -DUSE_NODL_TABS -DMOTIF_WARNINGS_UPSET_JAVA -DMITSHM -DNEED_SYS_TIME_H -DNO_MULTICAST -DHAVE_NETINET_IN_H -DHAVE_REMAINDER -DHAVE_INT32_T
  40. PDJAVA_FLAGS        =
  41.  
  42. OS_CFLAGS        = $(PLATFORM_FLAGS) $(PORT_FLAGS) $(MOVEMAIL_FLAGS)
  43.  
  44. LOCALE_MAP        = $(DEPTH)/cmd/xfe/intl/unixware.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. ifeq ($(OS_RELEASE),5)
  60. PLATFORM_FLAGS        += -DUnixWare -DUNIXWARE5
  61. PORT_FLAGS        += -DSVR5 -D_SIMPLE_R
  62.  
  63. BUILD_UNIX_PLUGINS    = 1
  64.  
  65. MKSHLIB            = $(LD) $(DSO_LDOPTS)
  66. DSO_LDOPTS        = -G
  67. DSO_LDFLAGS        = -nostdlib -L/lib -L/usr/lib -L/usr/X/lib -lXm -lXt -lX11 -lgen
  68. endif
  69.  
  70. ######################################################################
  71. # Overrides for defaults in config.mk (or wherever)
  72. ######################################################################
  73.  
  74. CC            = $(DEPTH)/build/hcc
  75. CCC            = $(DEPTH)/build/hcpp
  76. EMACS            = /bin/true
  77. WHOAMI            = /usr/ucb/whoami
  78. PERL            = $(LOCAL_BIN)perl
  79.  
  80. ######################################################################
  81. # Other
  82. ######################################################################
  83.  
  84.