/[escript]/branches/arrayview_from_1695_trunk/finley/src/SConscript
ViewVC logotype

Contents of /branches/arrayview_from_1695_trunk/finley/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 223 - (show annotations)
Thu Nov 24 23:12:13 2005 UTC (13 years, 5 months ago) by jgs
Original Path: trunk/finley/src/finley/SConscript
File size: 3385 byte(s)
pass in cc/cxx settings from config file
1 libinstall = None
2
3 Import('*')
4
5 import os
6 import string
7
8 finley_path = str(esysroot) + '/finley/src/finley'
9 finley_cppadapter_path = str(esysroot) + '/finley/src/finley/CPPAdapter'
10 paso_path = str(esysroot) + '/paso/inc'
11 escript_path = str(esysroot) + '/escript/inc'
12 esysUtils_path = str(esysroot) + '/esysUtils/inc'
13
14 cpp_path = [finley_path,
15 finley_cppadapter_path,
16 paso_path,
17 escript_path,
18 esysUtils_path,
19 python_path,
20 boost_path]
21
22 lib = 'finleycpp'
23
24 sources = ['Assemble_addToSystemMatrix.c',
25 'Assemble_CopyElementData.c',
26 'Assemble_CopyNodalData.c',
27 'Assemble_getAssembleParameters.c',
28 'Assemble_getSize.c',
29 'Assemble_gradient.c',
30 'Assemble_handelShapeMissMatch.c',
31 'Assemble_integrate.c',
32 'Assemble_interpolate.c',
33 'Assemble_NodeCoordinates.c',
34 'Assemble_PDE.c',
35 'Assemble_PDEMatrix_Single2.c',
36 'Assemble_PDEMatrix_System2.c',
37 'Assemble_PDE_RHS.c',
38 'Assemble_RHSMatrix_Single.c',
39 'Assemble_RHSMatrix_System.c',
40 'Assemble_RobinCondition.c',
41 'Assemble_RobinCondition_RHS.c',
42 'Assemble_setNormal.c',
43 'ElementFile_allocTable.c',
44 'ElementFile.c',
45 'ElementFile_copyTable.c',
46 'ElementFile_gather.c',
47 'ElementFile_improveColoring.c',
48 'ElementFile_markNodes.c',
49 'ElementFile_optimizeDistribution.c',
50 'ElementFile_prepare.c',
51 'ElementFile_relableNodes.c',
52 'ElementFile_scatter.c',
53 'ElementFile_setNodeRange.c',
54 'Finley.c',
55 'IndexList.c',
56 'Mesh.c',
57 'Mesh_findMatchingFaces.c',
58 'Mesh_getPattern.c',
59 'Mesh_glueFaces.c',
60 'Mesh_hex20.c',
61 'Mesh_hex8.c',
62 'Mesh_joinFaces.c',
63 'Mesh_line2.c',
64 'Mesh_line3.c',
65 'Mesh_markNodes.c',
66 'Mesh_merge.c',
67 'Mesh_prepare.c',
68 'Mesh_prepareNodes.c',
69 'Mesh_print.c',
70 'Mesh_read.c',
71 'Mesh_rec4.c',
72 'Mesh_rec8.c',
73 'Mesh_relabelElementNodes.c',
74 'Mesh_resolveNodeIds.c',
75 'Mesh_saveDX.c',
76 'Mesh_saveVTK.c',
77 'Mesh_write.c',
78 'NodeFile_allocTable.c',
79 'NodeFile.c',
80 'NodeFile_copyTable.c',
81 'NodeFile_gatter.c',
82 'NodeFile_scatter.c',
83 'NodeFile_setCoordinates.c',
84 'NodeFile_setIdRange.c',
85 'Quadrature.c',
86 'ReferenceElements.c',
87 'ShapeFunctions.c',
88 'Util.c',
89 'CPPAdapter/FinleyError.cpp',
90 'CPPAdapter/MeshAdapter.cpp',
91 'CPPAdapter/MeshAdapterFactory.cpp',
92 'CPPAdapter/SystemMatrixAdapter.cpp',
93 'CPPAdapter/finleycpp.cpp']
94
95 finley_env = Environment(ENV = os.environ)
96
97 finley_env.Replace(CC = cc)
98 finley_env.Replace(CXX = cxx)
99 finley_env.Replace(CCFLAGS = cc_flags)
100 finley_env.Replace(CXXFLAGS = cxx_flags)
101 finley_env.Replace(SHOBJSUFFIX = '.lo')
102 finley_env.Replace(CPPPATH = cpp_path)
103
104 finley_lib = finley_env.SharedLibrary(lib, sources)
105 finley_env.Install(libdir, finley_lib)
106
107 if libinstall != None:
108 finley_env.Install(libinstall, finley_lib)

  ViewVC Help
Powered by ViewVC 1.1.26