2.5
[blender.git] / source / blender / readblenfile / SConscript
index 69671732055a552ea55e88205cf20f42b78f21aa..31ca25eedd7ed5c5339eaeceb4443efdbd411b3f 100644 (file)
@@ -1,14 +1,8 @@
-Import ('user_options_dict')
-Import ('library_env')
+#!/usr/bin/python
+Import ('env')
 
-readblenfile_env = library_env.Copy ()
+sources = env.Glob('intern/*.c')
 
-source_files = ['intern/BLO_readblenfile.c']
+incs = '.  ../blenloader ../blenloader/intern ../blenkernel ../blenlib ../makesdna ../../kernel/gen_messaging'
 
-readblenfile_env.Append (CPPPATH = ['.',
-                                    '../readstreamglue',
-                                    '../blenloader',
-                                    '../blenkernel',
-                                    '../../kernel/gen_messaging'])
-
-readblenfile_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_readblenfile', source=source_files)
+env.BlenderLib ( 'bf_readblenfile', sources, Split(incs), [], libtype=['common','player'], priority = [0, 220] )