home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / lib / libi18n / makefile.win < prev    next >
Encoding:
Makefile  |  1998-04-08  |  3.3 KB  |  107 lines

  1. #!gmake
  2. #
  3. # The contents of this file are subject to the Netscape Public License
  4. # Version 1.0 (the "NPL"); you may not use this file except in
  5. # compliance with the NPL.  You may obtain a copy of the NPL at
  6. # http://www.mozilla.org/NPL/
  7. #
  8. # Software distributed under the NPL is distributed on an "AS IS" basis,
  9. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10. # for the specific language governing rights and limitations under the
  11. # NPL.
  12. #
  13. # The Initial Developer of this code under the NPL is Netscape
  14. # Communications Corporation.  Portions created by Netscape are
  15. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16. # Reserved.
  17.  
  18.  
  19.  
  20. IGNORE_MANIFEST=1
  21. #//------------------------------------------------------------------------
  22. #//
  23. #// Makefile to build the libi18n tree
  24. #//
  25. #//------------------------------------------------------------------------
  26.  
  27. #//------------------------------------------------------------------------
  28. #//
  29. #// Specify the depth of the current directory relative to the
  30. #// root of NS
  31. #//
  32. #//------------------------------------------------------------------------
  33. DEPTH=..\..
  34.  
  35. #//--------------------------------------------------------------
  36. #// For the present, we are not building the DLL on Win16
  37. #//--------------------------------------------------------------
  38.  
  39. !if "$(MOZ_BITS)" == "32"
  40. MAKE_OBJ_TYPE=DLL
  41.  
  42.  
  43. #//------------------------------------------------------------------------
  44. #//
  45. #// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
  46. #//
  47. #//------------------------------------------------------------------------
  48. DLLNAME=unicvt$(MOZ_BITS)
  49. !endif  
  50.  
  51. #//--------------------------------------------------------------
  52. #// For the present, we are not building the DLL on Win16
  53. #//--------------------------------------------------------------  
  54. #!if "$(MOZ_BITS)" == "16"
  55. #DEFFILE=$(DLLNAME).def
  56. #!endif
  57.  
  58.  
  59. !if "$(MOZ_BITS)" == "32"    
  60. OBJS=                          \
  61.     .\$(OBJDIR)\unicvt.obj      \
  62.         $(NULL)
  63.  
  64. #//------------------------------------------------------------------------
  65. #//
  66. #// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
  67. #// (these must be defined before the common makefiles are included)
  68. #//
  69. #//------------------------------------------------------------------------
  70. DLL=.\$(OBJDIR)\$(DLLNAME).dll
  71.  
  72. LINCS=$(LINCS) -I_gen -I$(PUBLIC)\dbm -I$(DEPTH)\include -I$(XPDIST)\applet
  73.  
  74.  
  75. #// End of MOZ_BITS == 32
  76. !endif 
  77.  
  78.  
  79. #//------------------------------------------------------------------------
  80. #//
  81. #// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
  82. #// (these must come before the common makefiles are included)
  83. #// 
  84. #// DIRS          - There are subdirectories to process
  85. #//
  86. #//------------------------------------------------------------------------
  87. DIRS=unicode
  88.  
  89.  
  90. #//------------------------------------------------------------------------
  91. #//
  92. #// Include the common makefile rules
  93. #//
  94. #//------------------------------------------------------------------------
  95. include <$(DEPTH)/config/rules.mak>
  96.  
  97. #// More Win32 only stuff...
  98.  
  99. !if "$(MOZ_BITS)" == "32"
  100.  
  101. install:: $(DLL) $(LIBRARY)
  102.     $(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
  103.     $(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
  104.  
  105.  
  106. !endif
  107.