#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')

kx_network_env = library_env.Copy ()

source_files = ['KX_NetworkEventManager.cpp',
                'KX_NetworkMessageActuator.cpp',
                'KX_NetworkMessageSensor.cpp',
                'KX_NetworkObjectActuator.cpp',
                'KX_NetworkObjectSensor.cpp'
                ]

kx_network_env.Append (CPPPATH = ['.',
                                  '#source/kernel/gen_system',
                                  '#intern/string',
                                  '#source/gameengine/Ketsji',
                                  '#source/gameengine/GameLogic',
                                  '#source/gameengine/Expressions',
                                  '#source/gameengine/Network',
                                 ])

kx_network_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE'])

kx_network_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/KX_network', source=source_files)
