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

Contents of /trunk/lsod/jam/Jamfile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 129 - (show annotations) (download)
Tue Dec 20 20:22:56 2005 UTC (14 years, 7 months ago) by jds
File size: 3030 byte(s)
Reworked jam build system:
- integrated Jamrules.in and Jamrules_tcltk98.in with autoconf
- now support single-point building from trunk/jam
- old jam files still in place but deprecated
- may be buggy, please report back bugs for fixing

Compiled on both Windows and Linux.
1 THIS FILE IS DEPRECATED - 20-Dec-2005
2
3 #
4 # Jamfile to build generic Ascend4 lsode 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 # UNDER CONSTRUCTION
28 #
29 # This Jamfile builds the generic Ascend lsode functionality as a
30 # static library.
31 #
32 # The Ascend jam build system currently supports building the library
33 # under Linux with gcc/g77, and under Windows with the MinGW and
34 # Watcom FORTRAN compilers. With use of the included Jambase file,
35 # it should work with both the original (http://www.perforce.com) and
36 # ftjam (http://www.freetype.org/jam/index.html) variants of jam.
37 # The system was developed primarily using ftjam.
38 #
39 # The library is built in ./CONFIGTYPE/COMPILER where
40 # CONFIGTYPE = Debug, Release
41 # COMPILER = mingw, watcom, linux
42 #
43 # Installation of the library or headers is not supported at this time.
44 #-------------------------------------------------------------------------
45 #
46 # Build Instructions
47 #
48 # 1. jam must be installed and configured for the OS/compiler in use.
49 #
50 # 2. If necessary, manually edit ../../jam/Jamrules_general and this
51 # Jamfile to set configuration and local directory options.
52 #
53 # 3. Run jam from using the provided Jambase:
54 # jam -f ../../jam/Jambase_general lsode
55 #
56 #---------------------------------------------------------------------------
57
58 # TODO: remove if end up using SubDir rules
59 JAM_GENERAL_DIR = ..$(SLASH)..$(SLASH)jam ;
60 include $(JAM_GENERAL_DIR)$(SLASH)Jamrules_general ;
61
62 srcdir = .. ;
63
64 DEPENDS all : libs lsode ;
65 NOTFILE libs lsode ;
66
67 #=========================================================================
68 # lsode module
69 #=========================================================================
70 if $(FORTRAN)
71 {
72 ASC_LSODE_SOURCES =
73 lsode.f
74 ;
75
76 LOCATE_TARGET = $(BUILD_DIR)$(SLASH)lsode ;
77 SEARCH_SOURCE = $(srcdir) ;
78
79 Library $(ASC_LSOD_LIBROOT) : $(ASC_LSODE_SOURCES) ;
80 MakeLocate $(ASC_LSOD_LIB) : $(BUILD_DIR) ;
81
82 DEPENDS libs lsod lsode : $(ASC_LSOD_LIB) ;
83 }
84 else
85 {
86 Echo ERROR bulding lsode - FORTRAN is required but not defined. ;
87 }

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