DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦9854b7f85⟧ Ada Source

    Length: 15360 (0x3c00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Compilation_Extensions, seg_03bed6

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Log;
with Profile;

package body Compilation_Extensions is

    package Naming renames Directory.Naming;
    package Ss     renames Simple_Status;
    package Tdi    renames Target_Dependent_Interface;


    function Qt (Str : String) return String is
    begin
        return " => """ & Str & """";
    end Qt;


    procedure Promote_Preprocess
                 (Host_Unit         :        Directory.Object;
                  Remote_Unit_Name  :        String;
                  Remote_Library    :        String;
                  Remote_Machine    :        String;
                  Remote_Directory  :        String;
                  Pre_Options       :        String;
                  Post_Options      :        String;
                  Options_Separator :        String;  
                  Remote_Connection :        Remote_Command_Interface.Context;
                  Is_Secondary      :        Boolean;
                  Status            : in out Simple_Status.Condition) is
    begin
        -- Log.Put_Line (Message => "Promote_Preprocess called for Host_Unit => " &
        --                             Naming.Get_Simple_Name (Host_Unit),
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line (Message =>
                         "Promote_Preprocess (Host_Unit => " &
                            Qt (Naming.Get_Simple_Name (Host_Unit)) &
                            ", Remote_Unit_Name" & Qt (Remote_Unit_Name) &
                            ", Remote_Library" & Qt (Remote_Library) &
                            ", Remote_Machine" & Qt (Remote_Machine) &
                            ", Remote_Directory" & Qt (Remote_Directory) &
                            ", Pre_Options" & Qt (Pre_Options) &
                            ", Post_Options" & Qt (Post_Options) &
                            ", Options_Separator" &
                            Qt (Options_Separator) & ", Is_Secondary => " &
                            Boolean'Image (Is_Secondary) & ")",
                      Kind    => Profile.Debug_Msg);

        Ss.Create_Condition (Status, "", "", Ss.Normal);
    end Promote_Preprocess;


    procedure Promote_Postprocess
                 (Host_Unit         :        Directory.Object;
                  Remote_Unit_Name  :        String;
                  Remote_Library    :        String;
                  Remote_Machine    :        String;
                  Remote_Directory  :        String;
                  Pre_Options       :        String;
                  Post_Options      :        String;
                  Options_Separator :        String;  
                  Remote_Connection :        Remote_Command_Interface.Context;
                  Is_Secondary      :        Boolean;
                  Status            : in out Simple_Status.Condition) is
    begin
        -- Log.Put_Line (Message => "Promote_Postprocess called",
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line (Message =>
                         "Promote_Postprocess (Host_Unit => " &
                            Qt (Naming.Get_Simple_Name (Host_Unit)) &
                            ", Remote_Unit_Name" & Qt (Remote_Unit_Name) &
                            ", Remote_Library" & Qt (Remote_Library) &
                            ", Remote_Machine" & Qt (Remote_Machine) &
                            ", Remote_Directory" & Qt (Remote_Directory) &
                            ", Pre_Options" & Qt (Pre_Options) &
                            ", Post_Options" & Qt (Post_Options) &
                            ", Options_Separator" &
                            Qt (Options_Separator) & ", Is_Secondary => " &
                            Boolean'Image (Is_Secondary) & ")",
                      Kind    => Profile.Debug_Msg);

        Ss.Create_Condition (Status, "", "", Ss.Normal);
    end Promote_Postprocess;


    procedure Demote_Preprocess (Host_Unit : Directory.Object;
                                 Remote_Unit_Name : String;
                                 Remote_Library : String;
                                 Remote_Machine : String;
                                 Remote_Directory : String;
                                 Status : in out Simple_Status.Condition) is
    begin
        -- Log.Put_Line (Message => "Demote_Preprocess called",
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line (Message =>
                         "Demote_Preprocess (Host_Unit => " &
                            Qt (Naming.Get_Simple_Name (Host_Unit)) &
                            ", Remote_Unit_Name" & Qt (Remote_Unit_Name) &
                            ", Remote_Library" & Qt (Remote_Library) &
                            ", Remote_Machine" & Qt (Remote_Machine) &
                            ", Remote_Directory" & Qt (Remote_Directory) & ")",
                      Kind    => Profile.Debug_Msg);

        Ss.Create_Condition (Status, "", "", Ss.Normal);
    end Demote_Preprocess;


    procedure Demote_Postprocess (Host_Unit : Directory.Object;
                                  Remote_Unit_Name : String;
                                  Remote_Library : String;
                                  Remote_Machine : String;
                                  Remote_Directory : String;
                                  Status : in out Simple_Status.Condition) is
    begin
        -- Log.Put_Line (Message => "Demote_Postprocess called",
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line (Message =>
                         "Demote_Postprocess (Host_Unit => " &
                            Qt (Naming.Get_Simple_Name (Host_Unit)) &
                            ", Remote_Unit_Name" & Qt (Remote_Unit_Name) &
                            ", Remote_Library" & Qt (Remote_Library) &
                            ", Remote_Machine" & Qt (Remote_Machine) &
                            ", Remote_Directory" & Qt (Remote_Directory) & ")",
                      Kind    => Profile.Debug_Msg);

        Ss.Create_Condition (Status, "", "", Ss.Normal);
    end Demote_Postprocess;


    procedure Retrieve_Associated_Files_Preprocess
                 (Host_Unit              : Directory.Object;  
                  Remote_Unit_Name       : String;
                  Remote_Library         : String;
                  Remote_Machine         : String;
                  Remote_Directory       : String;
                  Remote_Connection      : Remote_Command_Interface.Context;
                  The_Retrieve_Condition :
                     Target_Dependent_Interface.Retrieve_Condition;
                  Phases                 : Target_Dependent_Interface.Phase_Map;
                  Status                 : in out Simple_Status.Condition) is
    begin
        -- Log.Put_Line (Message => "Retrieve_Associated_Files_Preprocess called",
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line (Message =>
                         "Retrieve_Associated_Files_Preprocess (Host_Unit => " &
                            Qt (Naming.Get_Simple_Name (Host_Unit)) &
                            ", Remote_Unit_Name" & Qt (Remote_Unit_Name) &
                            ", Remote_Library" & Qt (Remote_Library) &
                            ", Remote_Machine" & Qt (Remote_Machine) &
                            ", Remote_Directory" & Qt (Remote_Directory) &
                            ", The_Retrieve_Condition => " &
                            Tdi.Retrieve_Condition'Image
                               (The_Retrieve_Condition) & ", Phases => " &
                            Boolean'Image (Phases (Tdi.Promote)) & ")",
                      Kind    => Profile.Debug_Msg);

        Ss.Create_Condition (Status, "", "", Ss.Normal);
    end Retrieve_Associated_Files_Preprocess;


    procedure Retrieve_Associated_Files_Postprocess
                 (Host_Unit              : Directory.Object;  
                  Remote_Unit_Name       : String;
                  Remote_Library         : String;
                  Remote_Machine         : String;
                  Remote_Directory       : String;  
                  Remote_Connection      : Remote_Command_Interface.Context;
                  The_Retrieve_Condition :
                     Target_Dependent_Interface.Retrieve_Condition;
                  Phases                 : Target_Dependent_Interface.Phase_Map;
                  Status                 : in out Simple_Status.Condition) is
    begin
        -- Log.Put_Line (Message => "Retrieve_Associated_Files_Postprocess called",
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line
           (Message => "Retrieve_Associated_Files_Postprocess (Host_Unit => " &
                          Qt (Naming.Get_Simple_Name (Host_Unit)) &
                          ", Remote_Unit_Name" & Qt (Remote_Unit_Name) &
                          ", Remote_Library" & Qt (Remote_Library) &
                          ", Remote_Machine" & Qt (Remote_Machine) &
                          ", Remote_Directory" & Qt (Remote_Directory) &
                          ", The_Retrieve_Condition => " &
                          Tdi.Retrieve_Condition'Image
                             (The_Retrieve_Condition) & ", Phases => " &
                          Boolean'Image (Phases (Tdi.Promote)) & ")",
            Kind    => Profile.Debug_Msg);

        Ss.Create_Condition (Status, "", "", Ss.Normal);
    end Retrieve_Associated_Files_Postprocess;


    function Build_Default_Target_Name
                (Host_Unit     : Directory.Object;
                 Suffix_Type   : Target_Dependent_Interface.Suffix_Type;
                 Serial_Number : Positive) return String is   begin
        -- Log.Put_Line (Message => "Build_Default_Target_Name called",
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line (Message => "Build_Default_Target_Name (Host_Unit => " &
                                    Qt (Naming.Get_Simple_Name (Host_Unit)) &
                                    ", Suffix_Type => " &
                                    Tdi.Suffix_Type'Image (Suffix_Type) &
                                    ", Serial_Number =>" &
                                    Integer'Image (Serial_Number) & ")",
                      Kind    => Profile.Debug_Msg);
        return "";
    end Build_Default_Target_Name;


    procedure Change_Remote_Context_Preprocess
                 (Remote_Directory  :        String;
                  Remote_Library    :        String;
                  Remote_Connection :        Remote_Command_Interface.Context;
                  Status            : in out Simple_Status.Condition) is
    begin
        -- Log.Put_Line (Message => "Change_Remote_Context_Preprocess called",
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line (Message =>
                         "Change_Remote_Context_Preprocess (Remote_Directory" &
                            Qt (Remote_Directory) & ", Remote_Library" &
                            Qt (Remote_Library) & ")",
                      Kind    => Profile.Debug_Msg);

        Ss.Create_Condition (Status, "", "", Ss.Normal);
    end Change_Remote_Context_Preprocess;


    procedure Change_Remote_Context_Postprocess
                 (Remote_Directory  :        String;
                  Remote_Library    :        String;
                  Remote_Connection :        Remote_Command_Interface.Context;
                  Status            : in out Simple_Status.Condition) is
    begin
        -- Log.Put_Line (Message => "Change_Remote_Context_Postprocess called",
        --               Kind    => Profile.Note_Msg);
        --
        Log.Put_Line (Message =>
                         "Change_Remote_Context_Postprocess (Remote_Directory" &
                            Qt (Remote_Directory) & ", Remote_Library" &
                            Qt (Remote_Library) & ")",
                      Kind    => Profile.Debug_Msg);

        Ss.Create_Condition (Status, "", "", Ss.Normal);
    end Change_Remote_Context_Postprocess;

end Compilation_Extensions;

E3 Meta Data

    nblk1=e
    nid=0
    hdr6=1c
        [0x00] rec0=1d rec1=00 rec2=01 rec3=04e
        [0x01] rec0=00 rec1=00 rec2=0e rec3=00e
        [0x02] rec0=11 rec1=00 rec2=02 rec3=006
        [0x03] rec0=15 rec1=00 rec2=03 rec3=02a
        [0x04] rec0=14 rec1=00 rec2=04 rec3=00e
        [0x05] rec0=11 rec1=00 rec2=05 rec3=018
        [0x06] rec0=15 rec1=00 rec2=06 rec3=018
        [0x07] rec0=14 rec1=00 rec2=07 rec3=02c
        [0x08] rec0=11 rec1=00 rec2=08 rec3=008
        [0x09] rec0=14 rec1=00 rec2=09 rec3=008
        [0x0a] rec0=13 rec1=00 rec2=0a rec3=002
        [0x0b] rec0=13 rec1=00 rec2=0b rec3=08e
        [0x0c] rec0=16 rec1=00 rec2=0c rec3=030
        [0x0d] rec0=0c rec1=00 rec2=0d rec3=000
    tail 0x215348512856575dd1caa 0x42a00088462062803