7 window_system = env['OURPLATFORM']
9 sources = env.Glob('intern/*.cpp')
11 pf = ['GHOST_DisplayManager', 'GHOST_System', 'GHOST_Window']
13 if window_system == 'linux2':
15 sources.remove('intern' + os.sep + f + 'Win32.cpp')
16 sources.remove('intern' + os.sep + f + 'Carbon.cpp')
17 elif window_system in ('win32-vc', 'win32-mingw', 'cygwin'):
19 sources.remove('intern' + os.sep + f + 'X11.cpp')
20 sources.remove('intern' + os.sep + f + 'Carbon.cpp')
21 elif window_system == 'darwin':
23 sources.remove('intern' + os.sep + f + 'Win32.cpp')
24 sources.remove('intern' + os.sep + f + 'X11.cpp')
26 print "Unknown window system specified."
29 incs = '. ../string ' + env['BF_OPENGL_INC']
30 env.BlenderLib ('bf_ghost', sources, Split(incs), [], libtype=['core','player'], priority = [25,15] )