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

Contents of /trunk/lsod/Jamfile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 216 - (show annotations) (download)
Wed Jan 25 02:12:20 2006 UTC (18 years, 9 months ago) by jds
File size: 2454 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 #
2 # Jamfile to build generic Ascend4 lsode 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 lsode functionality as a
28 # static library.
29 #
30 # If you have a lsode or other ODE library tuned to your hardware,
31 # use it instead. To do that, set the LSODLIB variable in
32 # ../jam/Jamrules to point that library's location.
33 #
34 # This file is part of the ASCEND jam build system rooted at ../../jam.
35 # See ../../jam/ReadMe.txt for more information.
36 #
37 #-------------------------------------------------------------------------
38 #
39 # File-specific Build Instructions
40 #
41 # 1. Follow the general instructions in ../../jam/ReadMe.txt for your platform.
42 #
43 # 2. To compile lsode only, run:
44 # jam lsode
45 #
46 #---------------------------------------------------------------------------
47
48 SubDir TOP lsod ;
49 if ! $(JAMRULES_ALREADY_SEEN)
50 {
51 include $(TOP)$(SLASH)jam$(SLASH)Jamrules ;
52 }
53
54 DEPENDS all : libs lsode ;
55 NOTFILE libs lsode ;
56
57 #=========================================================================
58 # lsode module
59 #=========================================================================
60 if $(FORTRAN)
61 {
62 ASC_LSODE_SOURCES =
63 lsode.f
64 ;
65
66 LOCATE_TARGET = $(BUILD_DIR)$(SLASH)lsode ;
67
68 Library $(ASC_LSOD_LIBROOT) : $(ASC_LSODE_SOURCES) ;
69 # MakeLocate $(ASC_LSOD_LIB) : $(BUILD_DIR) ;
70
71 DEPENDS libs lsod lsode : $(ASC_LSOD_LIB) ;
72 }
73 else
74 {
75 Echo ERROR bulding lsode - FORTRAN is required but not defined. ;
76 }

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