This commit reverses the OpenEXR specific stuff in the OpenEXR commit I
[blender-staging.git] / source / gameengine / GamePlayer / common / SConscript
index 2a72983ac729a63859a7c95373c09628db938d42..4983160d94b49778f7e03bd5c9ca4839d3255283 100644 (file)
@@ -1,3 +1,4 @@
+#!/usr/bin/python
 import sys
 Import ('user_options_dict')
 Import ('library_env')
@@ -46,23 +47,27 @@ gp_common_env.Append( CPPPATH = ['.',
                                                                '#source/gameengine/GamePlayer/ghost',
                                                                '#source/blender/misc',
                                                                '#source/blender/blenloader'])
-if sys.platform=='win32':
-       source_files += ['windows/GPW_Canvas.cpp',
-                                        'windows/GPW_Engine.cpp',
-                                        'windows/GPW_KeyboardDevice.cpp',
-                                        'windows/GPW_System.cpp']
-       gp_common_env.Append ( CPPPATH = ['windows'])
-elif sys.platform=='linux2' or sys.platform=='linux-i386':
-       source_files += ['unix/GPU_Canvas.cpp',
-                                        'unix/GPU_Engine.cpp',
-                                        'unix/GPU_KeyboardDevice.cpp',
-                                        'unix/GPU_System.cpp']
-       gp_common_env.Append ( CPPPATH = ['unix'])
+                                                               
+#This is all plugin stuff!
+#if sys.platform=='win32':
+#      source_files += ['windows/GPW_Canvas.cpp',
+#                                       'windows/GPW_Engine.cpp',
+#                                       'windows/GPW_KeyboardDevice.cpp',
+#                                       'windows/GPW_System.cpp']
+#      gp_common_env.Append ( CPPPATH = ['windows'])
+#elif sys.platform=='linux2' or sys.platform=='linux-i386':
+#      source_files += ['unix/GPU_Canvas.cpp',
+#                                       'unix/GPU_Engine.cpp',
+#                                       'unix/GPU_KeyboardDevice.cpp',
+#                                       'unix/GPU_System.cpp']
+#      gp_common_env.Append ( CPPPATH = ['unix'])
 
 gp_common_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE'])
 gp_common_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE'])
+gp_common_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
+gp_common_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
 
 if sys.platform=='win32':
     gp_common_env.Append (CXXFLAGS = ['/GR'])
 
-gp_common_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/GPC_common', source=source_files)
\ No newline at end of file
+gp_common_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/GPC_common', source=source_files)