# Specify the path to the Boost project.  If you move this project,
# adjust this path to refer to the Boost root directory.

import python ;
import os ;

local TANGO_ROOT = [ os.environ TANGO_ROOT ] ;
local OMNI_ROOT = [ os.environ OMNI_ROOT ] ;

# Declare the three extension modules.  You can specify multiple
# source files after the colon separated by spaces.

python-extension _PyTango

    : # sources
        archive_event_info.cpp
        attr_conf_event_data.cpp
        attribute_alarm_info.cpp
        attribute_dimension.cpp
        attribute_event_info.cpp
        attribute_info.cpp
        attribute_info_ex.cpp
        attribute_proxy.cpp
        base_types.cpp
        callback.cpp
        change_event_info.cpp
        command_info.cpp
        connection.cpp
        constants.cpp
        data_ready_event_data.cpp
        database.cpp
        db.cpp
        db_datum.cpp
        db_dev_export_info.cpp
        db_dev_import_info.cpp
        db_dev_info.cpp
        db_history.cpp
        db_server_info.cpp
        dev_command_info.cpp
        dev_error.cpp
        device_attribute.cpp
        device_attribute_config.cpp
        device_attribute_history.cpp
        device_data.cpp
        device_data_history.cpp
        device_info.cpp
        device_proxy.cpp
        enums.cpp
        event_data.cpp
        exception.cpp
        group.cpp
        group_element.cpp
        group_reply.cpp
        group_reply_list.cpp
        locker_info.cpp
        locking_thread.cpp
        periodic_event_info.cpp
        poll_device.cpp
        pytango.cpp
        pytgutils.cpp
        time_val.cpp
        version.cpp
        server/attr.cpp
        server/attribute.cpp
        server/class_factory.cpp
        server/command.cpp
        server/device_class.cpp
        server/device_impl.cpp
        server/dserver.cpp
        server/log4tango.cpp
        server/multi_attribute.cpp
        server/tango_util.cpp
        server/user_default_attr_prop.cpp

    : # dependencies
        <threading>multi
        <include>.
        <include>$(PYTHON_INCLUDES)
        <include>$(OMNI_ROOT)/include
        <include>$(TANGO_ROOT)/include
        <library-file>$(OMNI_ROOT)/lib/libomniORB4.so
        <library-file>$(OMNI_ROOT)/lib/libomniDynamic4.so
        <library-file>$(OMNI_ROOT)/lib/libomnithread.so
        <library-file>$(OMNI_ROOT)/lib/libCOS4.so
        <library-file>$(TANGO_ROOT)/lib/libtango.so
        <library-file>$(TANGO_ROOT)/lib/liblog4tango.so
    ;
