home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / config / HP-UX.mk < prev    next >
Encoding:
Text File  |  1998-04-08  |  3.4 KB  |  120 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 HP-UX
  20. ######################################################################
  21. #
  22. ######################################################################
  23. # Version-independent
  24. ######################################################################
  25.  
  26. ARCH            := hpux
  27. CPU_ARCH        := hppa
  28. GFX_ARCH        := x
  29.  
  30. OS_INCLUDES        =
  31. G++INCLUDES        =
  32. LOC_LIB_DIR        = /usr/lib/X11
  33. MOTIF            =
  34. MOTIFLIB        =
  35. OS_LIBS            = -ldld
  36.  
  37. PLATFORM_FLAGS        = $(DSO_CFLAGS) -DHPUX -Dhpux -D$(CPU_ARCH) $(ADDITIONAL_CFLAGS)
  38. MOVEMAIL_FLAGS        = -DHAVE_STRERROR
  39. PORT_FLAGS        = -D_HPUX_SOURCE -DSW_THREADS -DNO_SIGNED -DNO_FNDELAY -DHAVE_ODD_SELECT -DNO_CDEFS_H -DNO_LONG_LONG -DNEED_IOCTL_H -DNEED_MATH_H -DUSE_NODL_TABS -DMITSHM -DNEED_SYS_WAIT_H -DHAVE_INT32_T -DNEED_UINT_T -DNEED_H_ERRNO
  40. PDJAVA_FLAGS        =
  41.  
  42. OS_CFLAGS        = $(PLATFORM_FLAGS) $(PORT_FLAGS) $(MOVEMAIL_FLAGS)
  43.  
  44. LOCALE_MAP        = $(DEPTH)/cmd/xfe/intl/hpux.lm
  45. EN_LOCALE        = american.iso88591
  46. DE_LOCALE        = german.iso88591
  47. FR_LOCALE        = french.iso88591
  48. JP_LOCALE        = japanese.euc
  49. SJIS_LOCALE        = japanese
  50. KR_LOCALE        = korean
  51. CN_LOCALE        = chinese-s
  52. TW_LOCALE        = chinese-t.big5
  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. ifeq ($(OS_RELEASE),A.09)
  65. PLATFORM_FLAGS        += -DHPUX9 -Dhpux9
  66. OS_LIBS            += -L/lib/pa1.1 -lm
  67. NO_INLINE        = +d
  68. else
  69. OS_LIBS            += -lm
  70. endif
  71.  
  72. ifeq ($(OS_RELEASE),B.10)
  73. PLATFORM_FLAGS        += -DHPUX10 -Dhpux10
  74. PORT_FLAGS        += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H
  75. JAVA_PROG        = $(CONTRIB_BIN)java
  76. ifeq ($(OS_VERSION),.10)
  77. PLATFORM_FLAGS        += -DHPUX10_10
  78. endif
  79. ifeq ($(OS_VERSION),.20)
  80. PLATFORM_FLAGS        += -DHPUX10_20
  81. endif
  82. ifeq ($(OS_VERSION),.30)
  83. PLATFORM_FLAGS        += -DHPUX10_30
  84. endif
  85. endif
  86.  
  87. ifeq ($(OS_RELEASE),B.11)
  88. PLATFORM_FLAGS        += -DHPUX10 -DHPUX11
  89. endif
  90.  
  91. ######################################################################
  92. # Overrides for defaults in config.mk (or wherever)
  93. ######################################################################
  94.  
  95. BSDECHO            = $(DIST)/bin/bsdecho
  96. CC            = cc -Ae
  97. CCC            = CC -Aa +a1 $(NO_INLINE)
  98. DLL_SUFFIX        = sl
  99. PERL            = $(LOCAL_BIN)perl
  100.  
  101. ######################################################################
  102. # Other
  103. ######################################################################
  104.  
  105. ifdef SERVER_BUILD
  106. PLATFORM_FLAGS        += +DA1.0 -Wl,-E
  107. endif
  108.  
  109. ELIBS_CFLAGS        = -g -DHAVE_STRERROR
  110.  
  111. HAVE_PURIFY        = 1
  112. MUST_BOOTLEG_ALLOCA    = 1
  113. BUILD_UNIX_PLUGINS    = 1
  114.  
  115. MKSHLIB            = $(LD) $(DSO_LDOPTS)
  116.  
  117. DSO_LDOPTS        = -b
  118. DSO_LDFLAGS        =
  119. DSO_CFLAGS        = +Z
  120.