/[ascend]/trunk/linpack/Jamfile
ViewVC logotype

Annotation of /trunk/linpack/Jamfile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 216 - (hide annotations) (download)
Wed Jan 25 02:12:20 2006 UTC (18 years, 10 months ago) by jds
File size: 2770 byte(s)
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.
1 jds 129 #
2     # Jamfile to build generic Ascend4 linpack library
3     # (see http://www.freetype.org/jam/index.html)
4     #
5     # This file is part of the Ascend Build System.
6     #
7     # Copyright (C) 2005 Jerry D. St.Clair
8     #
9     # The Ascend Build System is free software; you can redistribute
10     # it and/or modify it under the terms of the GNU General Public
11     # License as published by the Free Software Foundation; either
12     # version 2 of the License, or (at your option) any later version.
13     #
14     # This program is distributed in hope that it will be useful,
15     # but WITHOUT ANY WARRANTY; without even the implied warranty of
16     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17     # GNU General Public License for more details.
18     #
19     # You should have received a copy of the GNU General Public License
20     # along with the program; if not, write to the Free Software
21     # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139 USA.
22     # Check the file named COPYING.
23     #---------------------------------------------------------------------------
24     #
25     # UNDER CONSTRUCTION
26     #
27     # This Jamfile builds the generic ASCEND linpack functionality as a
28     # static library. This library comprises a linpack subset common to
29     # minos, lsode, and other F77 codes connected to ASCEND.
30     #
31     # If you have a linpack library (e.g. liblpak.a or liblpak.lib) tuned
32     # to your hardware, use it instead. To do that, set the LPAKLIB
33     # variable in ../jam/Jamrules to point that library's location
34     # (e.g., /usr/lib/liblinpack.a or c:\\linpack\\lib\\liblinpack.lib)
35     #
36     # This file is part of the ASCEND jam build system rooted at ../../jam.
37     # See ../../jam/ReadMe.txt for more information.
38     #
39     #-------------------------------------------------------------------------
40     #
41     # File-specific Build Instructions
42     #
43     # 1. Follow the general instructions in ../../jam/ReadMe.txt for your platform.
44     #
45     # 2. To compile linpack only, run:
46     # jam linpack
47     #
48     #---------------------------------------------------------------------------
49    
50     SubDir TOP linpack ;
51     if ! $(JAMRULES_ALREADY_SEEN)
52     {
53     include $(TOP)$(SLASH)jam$(SLASH)Jamrules ;
54     }
55    
56     DEPENDS all : libs linpack ;
57     NOTFILE libs linpack ;
58    
59     #=========================================================================
60     # linpack module
61     #=========================================================================
62     if $(FORTRAN)
63     {
64     ASC_LINPACK_SOURCES =
65     d1mach.c
66     dgbfa.f
67     dgbsl.f
68     dgefa.f
69     dgesl.f
70     ;
71    
72     LOCATE_TARGET = $(BUILD_DIR)$(SLASH)linpack ;
73    
74     Library $(ASC_LINPACK_LIBROOT) : $(ASC_LINPACK_SOURCES) ;
75 jds 216 # MakeLocate $(ASC_LINPACK_LIB) : $(BUILD_DIR) ;
76 jds 129
77     DEPENDS libs linpack : $(ASC_LINPACK_LIB) ;
78     }
79     else
80     {
81     Echo ERROR bulding linpack - FORTRAN is required but not defined. ;
82     }

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22