home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / CWPPCRelease / SetBuildPath < prev   
Encoding:
Text File  |  1995-11-08  |  2.0 KB  |  65 lines  |  [TEXT/MPS ]

  1. #========================================================================================
  2. #
  3. #    File:                SetBuildPath
  4. #    Release Version:    $ 1.0d11 $
  5. #
  6. #    Author: Steve Ussery
  7. #
  8. #    Copyright:    (c) 1995 by Apple Computer, Inc., all rights reserved.
  9. #
  10. #========================================================================================
  11.  
  12.  
  13. #-----------------------------------------------------------------------
  14. #    Location of the current build environment.
  15. #
  16. #    NOTE: The first line is the only line that needs to change to
  17. #    support a different environment directory.
  18. #-----------------------------------------------------------------------
  19. Set FWBldEnvDir "{ODFDev}CWPPCRelease:"
  20. Export FWBldEnvDir
  21.  
  22. #-----------------------------------------------------------------------
  23. #    Location to put libraries.
  24. #-----------------------------------------------------------------------
  25. Set FWLibDir "{FWBldEnvDir}Lib:"
  26. Export FWLibDir
  27.  
  28. #-----------------------------------------------------------------------
  29. #    Location to put built parts.
  30. #    (Assumed to be in the default directory.)
  31. #-----------------------------------------------------------------------
  32. Set FWBinDir ":Bin:"
  33. Export FWBinDir
  34.  
  35. #-----------------------------------------------------------------------
  36. #    Location to put Precompiled headers.
  37. #-----------------------------------------------------------------------
  38. Set FWPreCompHdrDir "{FWBldEnvDir}Precompile∂ Headers:"
  39. Export FWPreCompHdrDir
  40.  
  41. #-----------------------------------------------------------------------
  42. #    Check to make sure they exist before we continue.
  43. #-----------------------------------------------------------------------
  44.  
  45. If ¬ `Exists "{FWBldEnvDir}"`
  46.     Echo "Can not find the build environment directory: {FWBldEnvDir}"
  47.     Exit 1
  48. End
  49.  
  50. If ¬ `Exists "{FWLibDir}"`
  51.     Echo "Can not find the build library directory: {FWLibDir}"
  52.     Exit 1
  53. End
  54.  
  55. If ¬ `Exists "{FWBinDir}"`
  56.     Echo "Can not find the build binaries directory: {FWBinDir}"
  57.     Exit 1
  58. End
  59.  
  60. If ¬ `Exists "{FWPreCompHdrDir}"`
  61.     Echo "Can not find the pre-compiled headers directory: {FWPreCompHdrDir}"
  62.     Exit 1
  63. End
  64.  
  65.