home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / un2maiq4 / pjjava / src / pj / net / net.mak < prev    next >
Encoding:
Text File  |  1996-08-14  |  2.1 KB  |  78 lines

  1. ##############################################################################
  2. #
  3. #  Copyright (c) 1996 by Dow Jones and Company, Inc.
  4. #
  5. #  Net.mak
  6. #
  7. #      Makefile for a Personal Journal Net package
  8. #
  9. #  Authors:
  10. #
  11. #      rphall   Rick Hall
  12. #
  13. #  Version Ident:
  14. #
  15. #      $Header: /PjJavaClient/src/pj/net/Net.mak 3     1/30/96 6:22p Rphall $
  16. #
  17. #  History:
  18. #
  19. #      19-Jan-96    rphall  initial creation
  20. #
  21. ##############################################################################
  22.  
  23. # REQUIRED: define where master makefiles can be found.
  24. # (Make definition conditional so that it can be overridden on a command line.)
  25. !IF "$(JAVAMAKEDIR)" == ""
  26. JAVAMAKEDIR=.\..\..
  27. !ENDIF
  28. !IF "$(CFG)" == ""
  29. CFG=Java Debug
  30. !ENDIF
  31. !IF "$(JAVACLASSDIR)" == ""
  32. JAVACLASSDIR=.\classes
  33. !ENDIF
  34. !IF "$(JAVADOCDIR)" == ""
  35. JAVADOCDIR=.\apidocs
  36. !ENDIF
  37.  
  38. # Include default macro definitions and generalized rules
  39. !INCLUDE $(JAVAMAKEDIR)\defaults.mak
  40.  
  41. # List your classes here, one per line, with a backslash for continuation
  42. CLASSES=RemoteImage.class   \
  43.         RemoteString.class  \
  44.         RemoteURL.class
  45.  
  46. # List the classes you want documented, one per line, with backslashes
  47. APIDOCS=Packages-pj.net.html        \
  48.         pj.net.RemoteImage.html     \
  49.         pj.net.RemoteString.html    \
  50.         pj.net.RemoteURL.html
  51.  
  52. # The default target for the build. (The first target is the Net default.)
  53. binary : $(JAVACLASSDIR) $(CLASSES)
  54.     for %f in ($(CLASSES)) do copy %f $(JAVACLASSDIR)
  55.  
  56. documentation : $(JAVADOCDIR) $(JAVADOCDIR)/images $(APIDOCS)
  57.     for %f in ($(APIDOCS)) do copy %f $(JAVADOCDIR)
  58.  
  59. all : binary documentation
  60.  
  61. # Include other targets
  62. !INCLUDE $(JAVAMAKEDIR)\dtargets.mak
  63.  
  64. # List dependencies here (particularly private class dependencies)
  65.  
  66. RemoteImage.class         : RemoteImage.java
  67.  
  68. RemoteString.class        : RemoteString.java
  69.  
  70. RemoteURL.class           : RemoteURL.java \
  71.                             RemoteString.class
  72.  
  73. pj.net.RemoteImage.html  : RemoteImage.html
  74.  
  75. pj.net.RemoteString.html : RemoteString.html
  76.  
  77. pj.net.RemoteURL.html    : RemoteURL.html
  78.