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

Annotation of /trunk/linpack/jam/Jamfile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 569 - (hide annotations) (download)
Tue May 9 00:10:03 2006 UTC (17 years, 9 months ago) by johnpye
File size: 3587 byte(s)
Changing from 'tcltk98' to 'tcltk', in progress.
1 jds 129 THIS FILE IS DEPRECATED - 20-Dec-2005
2    
3 jds 40 #
4     # Jamfile to build generic Ascend4 linpack library
5     # (see http://www.freetype.org/jam/index.html)
6     #
7     # This file is part of the Ascend Build System.
8     #
9     # Copyright (C) 2005 Jerry D. St.Clair
10     #
11     # The Ascend Build System is free software; you can redistribute
12     # it and/or modify it under the terms of the GNU General Public
13     # License as published by the Free Software Foundation; either
14     # version 2 of the License, or (at your option) any later version.
15     #
16     # This program is distributed in hope that it will be useful,
17     # but WITHOUT ANY WARRANTY; without even the implied warranty of
18     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19     # GNU General Public License for more details.
20     #
21     # You should have received a copy of the GNU General Public License
22     # along with the program; if not, write to the Free Software
23     # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139 USA.
24     # Check the file named COPYING.
25     #---------------------------------------------------------------------------
26     #
27 jds 56 # UNDER CONSTRUCTION
28 jds 40 #
29     # This Jamfile builds the generic Ascend linpack functionality as a
30     # static library. This library comprises a linpack subset common to
31     # minos, lsode, and other F77 codes connected to Ascend.
32     #
33     # If you have a linpack library (e.g. liblpak.a or liblpak.lib) tuned
34     # to your hardware, use it instead. To do that, set the LPAKLIB
35     # variable in the corresponding Ascend executable Jamfile
36 johnpye 569 # (e.g. ../../tcltk/jam/Jamfile) to point that library's
37 jds 40 # location (e.g., /usr/lib/liblinpack.a or c:\\linpack\\lib\\liblinpack.lib)
38     #
39     # The Ascend jam build system currently supports building the library
40     # under Linux with gcc/g77, and under Windows with the MinGW and
41     # Watcom FORTRAN compilers. With use of the included Jambase file,
42     # it should work with both the original (http://www.perforce.com) and
43     # ftjam (http://www.freetype.org/jam/index.html) variants of jam.
44     # The system was developed primarily using ftjam.
45     #
46     # The library is built in ./CONFIGTYPE/COMPILER where
47     # CONFIGTYPE = Debug, Release
48     # COMPILER = mingw, watcom, linux
49     #
50     # Installation of the library or headers is not supported at this time.
51     #-------------------------------------------------------------------------
52     #
53     # Build Instructions
54     #
55     # 1. jam must be installed and configured for the OS/compiler in use.
56     #
57     # 2. If necessary, manually edit ../../jam/Jamrules_general and this
58     # Jamfile to set configuration and local directory options.
59     #
60     # 3. Run jam from using the provided Jambase:
61     # jam -f ../../jam/Jambase_general linpack
62     #
63     #---------------------------------------------------------------------------
64    
65     # TODO: remove if end up using SubDir rules
66     JAM_GENERAL_DIR = ..$(SLASH)..$(SLASH)jam ;
67     include $(JAM_GENERAL_DIR)$(SLASH)Jamrules_general ;
68    
69     srcdir = .. ;
70    
71     DEPENDS all : libs linpack ;
72     NOTFILE libs linpack ;
73    
74     #=========================================================================
75     # linpack module
76     #=========================================================================
77     if $(FORTRAN)
78     {
79     ASC_LINPACK_SOURCES =
80 jds 56 d1mach.c
81     dgbfa.f
82     dgbsl.f
83     dgefa.f
84 jds 40 dgesl.f
85     ;
86    
87     LOCATE_TARGET = $(BUILD_DIR)$(SLASH)linpack ;
88     SEARCH_SOURCE = $(srcdir) ;
89    
90 jds 56 Library $(ASC_LINPACK_LIBROOT) : $(ASC_LINPACK_SOURCES) ;
91 jds 40 MakeLocate $(ASC_LINPACK_LIB) : $(BUILD_DIR) ;
92    
93     DEPENDS libs linpack : $(ASC_LINPACK_LIB) ;
94     }
95     else
96     {
97     Echo ERROR bulding linpack - FORTRAN is required but not defined. ;
98     }

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