home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-08 | 2.0 KB | 65 lines | [TEXT/MPS ] |
- #========================================================================================
- #
- # File: SetBuildPath
- # Release Version: $ 1.0d11 $
- #
- # Author: Steve Ussery
- #
- # Copyright: (c) 1995 by Apple Computer, Inc., all rights reserved.
- #
- #========================================================================================
-
-
- #-----------------------------------------------------------------------
- # Location of the current build environment.
- #
- # NOTE: The first line is the only line that needs to change to
- # support a different environment directory.
- #-----------------------------------------------------------------------
- Set FWBldEnvDir "{ODFDev}CWPPCRelease:"
- Export FWBldEnvDir
-
- #-----------------------------------------------------------------------
- # Location to put libraries.
- #-----------------------------------------------------------------------
- Set FWLibDir "{FWBldEnvDir}Lib:"
- Export FWLibDir
-
- #-----------------------------------------------------------------------
- # Location to put built parts.
- # (Assumed to be in the default directory.)
- #-----------------------------------------------------------------------
- Set FWBinDir ":Bin:"
- Export FWBinDir
-
- #-----------------------------------------------------------------------
- # Location to put Precompiled headers.
- #-----------------------------------------------------------------------
- Set FWPreCompHdrDir "{FWBldEnvDir}Precompile∂ Headers:"
- Export FWPreCompHdrDir
-
- #-----------------------------------------------------------------------
- # Check to make sure they exist before we continue.
- #-----------------------------------------------------------------------
-
- If ¬ `Exists "{FWBldEnvDir}"`
- Echo "Can not find the build environment directory: {FWBldEnvDir}"
- Exit 1
- End
-
- If ¬ `Exists "{FWLibDir}"`
- Echo "Can not find the build library directory: {FWLibDir}"
- Exit 1
- End
-
- If ¬ `Exists "{FWBinDir}"`
- Echo "Can not find the build binaries directory: {FWBinDir}"
- Exit 1
- End
-
- If ¬ `Exists "{FWPreCompHdrDir}"`
- Echo "Can not find the pre-compiled headers directory: {FWPreCompHdrDir}"
- Exit 1
- End
-
-