home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / js / jsj / classes / makefile.win < prev    next >
Encoding:
Makefile  |  1998-04-08  |  1.9 KB  |  75 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. IGNORE_MANIFEST=1
  19.  
  20. #//------------------------------------------------------------------------
  21. #//
  22. #// Makefile to build the JavaScript-Java tree
  23. #//
  24. #//------------------------------------------------------------------------
  25.  
  26. DEPTH = ..\..\..
  27.  
  28. JAVA_SOURCEPATH=$(DEPTH)\js\jsj\classes
  29.  
  30. #//------------------------------------------------------------------------
  31. #// 
  32. #// Define the files necessary to build the target (ie. OBJS)
  33. #//
  34. #//------------------------------------------------------------------------
  35. include <$(DEPTH)\config\config.mak>
  36.  
  37. JMOZ =  \
  38.         netscape/javascript        \
  39.     $(NULL)
  40.  
  41.  
  42. all::
  43.  
  44. MODULE=java 
  45. JMODS=netscape/javascript
  46. JDIRS=$(JMODS) 
  47. JAR_JSJ=jsj10.jar 
  48. JAR_JSJ_CLASSES=$(JMODS) 
  49. JARS=$(JAR_JSJ) 
  50.  
  51.  
  52. include <$(DEPTH)\config\rules.mak>
  53.  
  54. $(JAR_JSJ):
  55.     cd $(JAVA_DESTPATH)
  56.     @echo +++ building/updating $@
  57.     $(ZIP_PROG) -$(COMP_LEVEL)qu $@ META-INF\build
  58.     -for %i in ($(JAR_JSJ_CLASSES:/=\)) do @$(ZIP_PROG) -$(COMP_LEVEL)qu $@ %i\*.class
  59.     cd $(MAKEDIR)
  60.  
  61. jars:    $(JARS)
  62.  
  63. install:: jars
  64.  
  65.  
  66. javadoc:
  67.     -mkdir $(XPDIST)\javadoc 2> NUL
  68.     echo $(JAVADOC) -sourcepath . -d $(XPDIST)\javadoc $(JDIRS:/=.)
  69.     $(JAVADOC) -sourcepath . -d $(XPDIST)\javadoc $(JDIRS:/=.)
  70.  
  71.  
  72.  
  73.  
  74.