1 |
# |
2 |
# Top level Jamfile to build ASCEND |
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 ASCEND. This includes the base, blas, |
28 |
# linpack, lsod, and tcltk static libraries, the tcltk |
29 |
# executable, and a prototype regression test suite. |
30 |
# |
31 |
# This file is part of the ASCEND jam build system rooted at ../../jam. |
32 |
# See ../../jam/ReadMe.txt for more information. |
33 |
# |
34 |
#------------------------------------------------------------------------- |
35 |
# |
36 |
# File-specific Build Instructions |
37 |
# |
38 |
# 1. Follow the general instructions in ../../jam/ReadMe.txt for your platform. |
39 |
# |
40 |
# 2. Run jam to generate the desired functionality: |
41 |
# |
42 |
# jam all build all libraries, executable, test suite |
43 |
# jam libs builds base, blas, linpack, and lsode static libs |
44 |
# jam ascend builds the ASCEND executable (will build libs as needed) |
45 |
# jam test builds the test suite (will build libs as needed) |
46 |
# jam blas builds the blas library |
47 |
# jam linpack builds the linpack library |
48 |
# jam lsode builds the lsode library |
49 |
# |
50 |
#--------------------------------------------------------------------------- |
51 |
|
52 |
SubDir TOP jam ; |
53 |
if ! $(JAMRULES_ALREADY_SEEN) |
54 |
{ |
55 |
include $(TOP)$(SLASH)jam$(SLASH)Jamrules ; |
56 |
} |
57 |
|
58 |
SubInclude TOP base generic ; |
59 |
if $(BUILD_BLAS) != FALSE |
60 |
{ SubInclude TOP blas ; } |
61 |
if $(BUILD_LPAK) != FALSE |
62 |
{ SubInclude TOP linpack ; } |
63 |
if $(BUILD_LSODE) != FALSE |
64 |
{ SubInclude TOP lsod ; } |
65 |
SubInclude TOP tcltk generic ; |