| OLD | NEW |
| 1 """engine.SCons.Tool.aixf77 | 1 """engine.SCons.Tool.aixf77 |
| 2 | 2 |
| 3 Tool-specific initialization for IBM Visual Age f77 Fortran compiler. | 3 Tool-specific initialization for IBM Visual Age f77 Fortran compiler. |
| 4 | 4 |
| 5 There normally shouldn't be any need to import this module directly. | 5 There normally shouldn't be any need to import this module directly. |
| 6 It will usually be imported through the generic SCons.Tool.Tool() | 6 It will usually be imported through the generic SCons.Tool.Tool() |
| 7 selection method. | 7 selection method. |
| 8 """ | 8 """ |
| 9 | 9 |
| 10 # | 10 # |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 # | 23 # |
| 24 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | 24 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY |
| 25 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | 25 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
| 26 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 26 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 27 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | 27 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
| 28 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | 28 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 29 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | 29 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 30 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 30 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 31 # | 31 # |
| 32 | 32 |
| 33 __revision__ = "src/engine/SCons/Tool/aixf77.py 3603 2008/10/10 05:46:45 scons" | 33 __revision__ = "src/engine/SCons/Tool/aixf77.py 3842 2008/12/20 22:59:52 scons" |
| 34 | 34 |
| 35 import os.path | 35 import os.path |
| 36 | 36 |
| 37 #import SCons.Platform.aix | 37 #import SCons.Platform.aix |
| 38 | 38 |
| 39 import f77 | 39 import f77 |
| 40 | 40 |
| 41 # It would be good to look for the AIX F77 package the same way we're now | 41 # It would be good to look for the AIX F77 package the same way we're now |
| 42 # looking for the C and C++ packages. This should be as easy as supplying | 42 # looking for the C and C++ packages. This should be as easy as supplying |
| 43 # the correct package names in the following list and uncommenting the | 43 # the correct package names in the following list and uncommenting the |
| (...skipping 21 matching lines...) Expand all Loading... |
| 65 env['F77'] = _f77 | 65 env['F77'] = _f77 |
| 66 env['SHF77'] = _shf77 | 66 env['SHF77'] = _shf77 |
| 67 | 67 |
| 68 def exists(env): | 68 def exists(env): |
| 69 path, _f77, _shf77, version = get_xlf77(env) | 69 path, _f77, _shf77, version = get_xlf77(env) |
| 70 if path and _f77: | 70 if path and _f77: |
| 71 xlf77 = os.path.join(path, _f77) | 71 xlf77 = os.path.join(path, _f77) |
| 72 if os.path.exists(xlf77): | 72 if os.path.exists(xlf77): |
| 73 return xlf77 | 73 return xlf77 |
| 74 return None | 74 return None |
| OLD | NEW |