home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / config / BSD_OS.mk < prev    next >
Encoding:
Text File  |  1998-04-08  |  2.8 KB  |  85 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 BSDI BSD/386 and BSD/OS for x86
  20. ######################################################################
  21. #
  22. ######################################################################
  23. # Version-independent
  24. ######################################################################
  25.  
  26. ARCH            := bsdi
  27. CPU_ARCH        := x86
  28. GFX_ARCH        := x
  29.  
  30. OS_INCLUDES        = -I/usr/X11/include
  31. G++INCLUDES        = -I/usr/include/g++
  32. LOC_LIB_DIR        = /usr/X11/lib
  33. MOTIF            = $(NS_LIB)/Xm
  34. MOTIFLIB        = -lXm
  35. OS_LIBS            = -lcompat
  36.  
  37. PLATFORM_FLAGS        = -Wall -Wno-format -DBSDI -D__386BSD__ -DBSD -Di386
  38. MOVEMAIL_FLAGS        = -DHAVE_STRERROR
  39. PORT_FLAGS        = -DSW_THREADS -DNEED_BSDREGEX -DNTOHL_ENDIAN_H -DUSE_NODL_TABS -DNEED_SYS_WAIT_H -DNO_TZNAME -DHAVE_NETINET_IN_H -DNO_INT64_T -DNEED_UINT_T -DHAVE_SYS_SELECT_H
  40. PDJAVA_FLAGS        =
  41.  
  42. OS_CFLAGS        = $(PLATFORM_FLAGS) $(PORT_FLAGS) $(MOVEMAIL_FLAGS)
  43.  
  44. LOCALE_MAP        = $(DEPTH)/cmd/xfe/intl/bsd386.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),1.1)
  60. PLATFORM_FLAGS        += -DBSDI_1
  61. PORT_FLAGS        += -DNEED_UINT -DNEED_IOCTL_H -DNEED_REALPATH
  62. endif
  63. ifeq ($(OS_RELEASE),2.1)
  64. PLATFORM_FLAGS        += -DBSDI_2
  65. PORT_FLAGS        += -DHAVE_FILIO_H
  66. UNZIP_PROG        = $(CONTRIB_BIN)unzip
  67. endif
  68. ifeq ($(OS_RELEASE),3.0)
  69. PLATFORM_FLAGS        += -DBSDI_2 -DBSDI_3
  70. PORT_FLAGS        += -DHAVE_FILIO_H
  71. endif
  72.  
  73. ######################################################################
  74. # Overrides for defaults in config.mk (or wherever)
  75. ######################################################################
  76.  
  77. EMACS            = /usr/bin/true
  78. PERL            = /usr/bin/perl
  79. RANLIB            = /usr/bin/ranlib
  80.  
  81. ######################################################################
  82. # Other
  83. ######################################################################
  84.  
  85.