Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/opennl/SConscript')
-rw-r--r--intern/opennl/SConscript44
1 files changed, 5 insertions, 39 deletions
diff --git a/intern/opennl/SConscript b/intern/opennl/SConscript
index 4e0260c7f33..b1cbdeb8ba3 100644
--- a/intern/opennl/SConscript
+++ b/intern/opennl/SConscript
@@ -1,43 +1,9 @@
-Import ('user_options_dict')
-Import ('library_env')
+#!/usr/bin/python
+Import ('env')
-opennl_env = library_env.Copy ()
+sources = env.Glob('intern/*.c') + env.Glob('superlu/*.c')
-source_files = ['intern/opennl.c',
- 'superlu/colamd.c',
- 'superlu/get_perm_c.c',
- 'superlu/heap_relax_snode.c',
- 'superlu/lsame.c',
- 'superlu/memory.c',
- 'superlu/mmd.c',
- 'superlu/relax_snode.c',
- 'superlu/scolumn_bmod.c',
- 'superlu/scolumn_dfs.c',
- 'superlu/scopy_to_ucol.c',
- 'superlu/sgssv.c',
- 'superlu/sgstrf.c',
- 'superlu/sgstrs.c',
- 'superlu/smemory.c',
- 'superlu/smyblas2.c',
- 'superlu/sp_coletree.c',
- 'superlu/sp_ienv.c',
- 'superlu/sp_preorder.c',
- 'superlu/spanel_bmod.c',
- 'superlu/spanel_dfs.c',
- 'superlu/spivotL.c',
- 'superlu/spruneL.c',
- 'superlu/ssnode_bmod.c',
- 'superlu/ssnode_dfs.c',
- 'superlu/ssp_blas2.c',
- 'superlu/ssp_blas3.c',
- 'superlu/strsv.c',
- 'superlu/superlu_timer.c',
- 'superlu/sutil.c',
- 'superlu/util.c',
- 'superlu/xerbla.c']
+incs = 'extern superlu'
-opennl_env.Append (CPPPATH = ['extern',
- 'superlu'])
-
-opennl_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_ONL', source=source_files)
+env.BlenderLib ('blender_ONL', sources, Split(incs), [], libtype='core', priority=55 )