home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / nav-java / stubs / src / makefile.win < prev    next >
Encoding:
Makefile  |  1998-04-08  |  3.2 KB  |  104 lines

  1. #!nmake
  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. IGNORE_MANIFEST=1 
  19. #//------------------------------------------------------------------------
  20. #//
  21. #// Makefile to build the java runtime library
  22. #//
  23. #//------------------------------------------------------------------------
  24.  
  25.  
  26. #//------------------------------------------------------------------------
  27. #//
  28. #// Specify the depth of the current directory relative to the
  29. #// root of NS
  30. #//
  31. #//------------------------------------------------------------------------
  32. DEPTH= ..\..\..
  33.  
  34. !ifndef MAKE_OBJ_TYPE
  35. MAKE_OBJ_TYPE=EXE
  36. !endif
  37.  
  38. #//------------------------------------------------------------------------
  39. #//
  40. #// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
  41. #//
  42. #//------------------------------------------------------------------------
  43. LIBNAME=libnjs$(MOZ_BITS)
  44. PDBFILE=$(LIBNAME).pdb
  45.  
  46. #//------------------------------------------------------------------------
  47. #//
  48. #// Define any local options for the make tools 
  49. #//     (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
  50. #//
  51. #//------------------------------------------------------------------------
  52.  
  53. LINCS=$(LINCS) -I$(PUBLIC)\js \
  54.                -I$(PUBLIC)\nspr \
  55.                -I$(PUBLIC)\java \
  56.     $(NULL)
  57.  
  58. #//------------------------------------------------------------------------
  59. #// 
  60. #// Define the files necessary to build the target (ie. OBJS)
  61. #//
  62. #//------------------------------------------------------------------------
  63. !if "$(MOZ_BITS)" == "16"
  64. OBJS=\
  65. .\$(OBJDIR)\STUBNJ.OBJ \
  66. $(NULL)
  67. !else
  68. OBJS =                        \
  69.     .\$(OBJDIR)\stubnj.obj           \
  70.     $(NULL)
  71. !endif
  72.  
  73.  
  74. #//------------------------------------------------------------------------
  75. #//
  76. #// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
  77. #// (these must be defined before the common makefiles are included)
  78. #//
  79. #//------------------------------------------------------------------------
  80. LIBRARY= .\$(OBJDIR)\$(LIBNAME).lib
  81.  
  82.  
  83. #//------------------------------------------------------------------------
  84. #//
  85. #// Define any local options for the make tools 
  86. #//     (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
  87. #//
  88. #//------------------------------------------------------------------------
  89.  
  90.  
  91. #//------------------------------------------------------------------------
  92. #//
  93. #// Include the common makefile rules
  94. #//
  95. #//------------------------------------------------------------------------
  96. include <$(DEPTH)/config/rules.mak>
  97.  
  98. export::
  99.  
  100. install:: $(LIBRARY)
  101.     $(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
  102.  
  103. clobber::
  104.