Commit 8851794b authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Automatic generation of swis.h now more automatic.

Detail:
  New script will search the export directory for headers that should
    be exported SWI symbols for it and only cause them to be included
    if it finds the header file.  This means that unless a component
    in your build actually needs the SWI symbols from another component,
    you no longer require that component to be in your modules file
    purely to enable successful generation of swis.h
Admin:
  Test build performed.

Version 5.03. Tagged as 'RISC_OSLib-5_03'
parent 9a820387
master NoInlineAsm sbrodie_dev sbrodie_sedwards_16Mar2000 sbrodie_dev_bp dellis_autobuild_BaseSW dcotton_autobuild_BaseSW RO_5_07 RISC_OSLib-6_16 RISC_OSLib-6_15 RISC_OSLib-6_14 RISC_OSLib-6_13 RISC_OSLib-6_12 RISC_OSLib-6_11 RISC_OSLib-6_10 RISC_OSLib-6_09 RISC_OSLib-6_08 RISC_OSLib-6_07 RISC_OSLib-6_06 RISC_OSLib-6_05 RISC_OSLib-6_04 RISC_OSLib-6_03 RISC_OSLib-6_02 RISC_OSLib-6_01 RISC_OSLib-6_00 RISC_OSLib-5_99 RISC_OSLib-5_98 RISC_OSLib-5_97 RISC_OSLib-5_96 RISC_OSLib-5_95 RISC_OSLib-5_94 RISC_OSLib-5_93 RISC_OSLib-5_92 RISC_OSLib-5_91 RISC_OSLib-5_90 RISC_OSLib-5_89 RISC_OSLib-5_88 RISC_OSLib-5_87 RISC_OSLib-5_86 RISC_OSLib-5_86-1 RISC_OSLib-5_85 RISC_OSLib-5_84 RISC_OSLib-5_83 RISC_OSLib-5_83-2 RISC_OSLib-5_83-1 RISC_OSLib-5_82 RISC_OSLib-5_81 RISC_OSLib-5_80 RISC_OSLib-5_79 RISC_OSLib-5_78 RISC_OSLib-5_77 RISC_OSLib-5_76 RISC_OSLib-5_75 RISC_OSLib-5_75-2 RISC_OSLib-5_75-1 RISC_OSLib-5_74 RISC_OSLib-5_73 RISC_OSLib-5_72 RISC_OSLib-5_71 RISC_OSLib-5_70 RISC_OSLib-5_69 RISC_OSLib-5_68 RISC_OSLib-5_67 RISC_OSLib-5_66 RISC_OSLib-5_65 RISC_OSLib-5_64 RISC_OSLib-5_63 RISC_OSLib-5_62 RISC_OSLib-5_61 RISC_OSLib-5_60 RISC_OSLib-5_59 RISC_OSLib-5_58 RISC_OSLib-5_57 RISC_OSLib-5_56 RISC_OSLib-5_55 RISC_OSLib-5_54 RISC_OSLib-5_53 RISC_OSLib-5_52 RISC_OSLib-5_51 RISC_OSLib-5_50 RISC_OSLib-5_49 RISC_OSLib-5_48 RISC_OSLib-5_47 RISC_OSLib-5_46 RISC_OSLib-5_46-4_64_2_1 RISC_OSLib-5_45 RISC_OSLib-5_44 RISC_OSLib-5_43 RISC_OSLib-5_42 RISC_OSLib-5_41 RISC_OSLib-5_40 RISC_OSLib-5_39 RISC_OSLib-5_38 RISC_OSLib-5_37 RISC_OSLib-5_36 RISC_OSLib-5_35 RISC_OSLib-5_34 RISC_OSLib-5_33 RISC_OSLib-5_33-4_50_2_1 RISC_OSLib-5_32 RISC_OSLib-5_31 RISC_OSLib-5_30 RISC_OSLib-5_29 RISC_OSLib-5_28 RISC_OSLib-5_27 RISC_OSLib-5_26 RISC_OSLib-5_25 RISC_OSLib-5_24 RISC_OSLib-5_23 RISC_OSLib-5_22 RISC_OSLib-5_21 RISC_OSLib-5_20 RISC_OSLib-5_19 RISC_OSLib-5_18 RISC_OSLib-5_17 RISC_OSLib-5_16 RISC_OSLib-5_15 RISC_OSLib-5_14 RISC_OSLib-5_13 RISC_OSLib-5_12 RISC_OSLib-5_11 RISC_OSLib-5_10 RISC_OSLib-5_09 RISC_OSLib-5_08 RISC_OSLib-5_07 RISC_OSLib-5_06 RISC_OSLib-5_05 RISC_OSLib-5_04 RISC_OSLib-5_03
No related merge requests found
......@@ -411,6 +411,7 @@ clean_all:
${RM} syms.Entries
${RM} syms.C_Entries
${RM} derived.swis
${RM} s.swioptions
${RM} s.abssym
${RM} s.c_abssym
${RM} s.a_abssym
......@@ -506,10 +507,13 @@ lib.arthurlib: o.arth_new_n o.arth_old_n o.ArtAsm_n o.ArtAsm_o
${LIBFILE} ${LIBFLAGS} $@ o.Arth_new_n o.Arth_old_n o.ArtAsm_n o.ArtAsm_o
# Derived headers:
derived.swis: s.makehswis h.swisheader
derived.swis: s.makehswis h.swisheader s.swioptions
${AS} ${AFLAGS} -from s.makehswis -to $@
settype $@ text
s.swioptions:
@SWIOptions
#
# Rules for exporting:
#
......
| Copyright 2000 Pace Micro Technology plc
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Remove s.swioptions
Echo SWIOptions: Searching Hdr: for assembler headers ...
Echo <32> ; Automatically generated file <Sys$Date> { > s.swioptions }
IfThere Hdr:ADFS Then Echo <32> GET Hdr:ADFS { >> s.swioptions }
IfThere Hdr:ATAPI Then Echo <32> GET Hdr:ATAPI { >> s.swioptions }
IfThere Hdr:BasicTrans Then Echo <32> GET Hdr:BasicTrans { >> s.swioptions }
IfThere Hdr:Buffer Then Echo <32> GET Hdr:Buffer { >> s.swioptions }
IfThere Hdr:ARM3Cache Then Echo <32> GET Hdr:ARM3Cache { >> s.swioptions }
IfThere Hdr:CDROM Then Echo <32> GET Hdr:CDROM { >> s.swioptions }
IfThere Hdr:CDFS Then Echo <32> GET Hdr:CDFS { >> s.swioptions }
IfThere Hdr:ColourPick Then Echo <32> GET Hdr:ColourPick { >> s.swioptions }
IfThere Hdr:ColourTran Then Echo <32> GET Hdr:ColourTran { >> s.swioptions }
IfThere Hdr:DDT Then Echo <32> GET Hdr:DDT { >> s.swioptions }
IfThere Hdr:Debugger Then Echo <32> GET Hdr:Debugger { >> s.swioptions }
IfThere Hdr:DeviceFS Then Echo <32> GET Hdr:DeviceFS { >> s.swioptions }
IfThere Hdr:DMA Then Echo <32> GET Hdr:DMA { >> s.swioptions }
IfThere Hdr:DOSFS Then Echo <32> GET Hdr:DOSFS { >> s.swioptions }
IfThere Hdr:DragASprit Then Echo <32> GET Hdr:DragASprit { >> s.swioptions }
IfThere Hdr:DragAnObj Then Echo <32> GET Hdr:DragAnObj { >> s.swioptions }
IfThere Hdr:Draw Then Echo <32> GET Hdr:Draw { >> s.swioptions }
IfThere Hdr:Econet Then Echo <32> GET Hdr:Econet { >> s.swioptions }
IfThere Hdr:FileCore Then Echo <32> GET Hdr:FileCore { >> s.swioptions }
IfThere Hdr:FilerAct Then Echo <32> GET Hdr:FilerAct { >> s.swioptions }
IfThere Hdr:Filter Then Echo <32> GET Hdr:Filter { >> s.swioptions }
IfThere Hdr:Font Then Echo <32> GET Hdr:Font { >> s.swioptions }
IfThere Hdr:FPEmulator Then Echo <32> GET Hdr:FPEmulator { >> s.swioptions }
IfThere Hdr:Free Then Echo <32> GET Hdr:Free { >> s.swioptions }
IfThere Hdr:FSLock Then Echo <32> GET Hdr:FSLock { >> s.swioptions }
IfThere Hdr:Hourglass Then Echo <32> GET Hdr:Hourglass { >> s.swioptions }
IfThere Hdr:HostFS Then Echo <32> GET Hdr:HostFS { >> s.swioptions }
IfThere Hdr:IIC Then Echo <32> GET Hdr:IIC { >> s.swioptions }
IfThere Hdr:Joystick Then Echo <32> GET Hdr:Joystick { >> s.swioptions }
IfThere Hdr:MakePSFont Then Echo <32> GET Hdr:MakePSFont { >> s.swioptions }
IfThere Hdr:MsgTrans Then Echo <32> GET Hdr:MsgTrans { >> s.swioptions }
IfThere Hdr:RISCOS Then Echo <32> GET Hdr:RISCOS { >> s.swioptions }
IfThere Hdr:Parallel Then Echo <32> GET Hdr:Parallel { >> s.swioptions }
IfThere Hdr:PDriver Then Echo <32> GET Hdr:PDriver { >> s.swioptions }
IfThere Hdr:PDumper Then Echo <32> GET Hdr:PDumper { >> s.swioptions }
IfThere Hdr:Podule Then Echo <32> GET Hdr:Podule { >> s.swioptions }
IfThere Hdr:Portable Then Echo <32> GET Hdr:Portable { >> s.swioptions }
IfThere Hdr:RAMFS Then Echo <32> GET Hdr:RAMFS { >> s.swioptions }
IfThere Hdr:ResourceFS Then Echo <32> GET Hdr:ResourceFS { >> s.swioptions }
IfThere Hdr:ScrBlank Then Echo <32> GET Hdr:ScrBlank { >> s.swioptions }
IfThere Hdr:ScrModes Then Echo <32> GET Hdr:ScrModes { >> s.swioptions }
IfThere Hdr:SCSI Then Echo <32> GET Hdr:SCSI { >> s.swioptions }
IfThere Hdr:SCSIFS Then Echo <32> GET Hdr:SCSIFS { >> s.swioptions }
IfThere Hdr:SharedCLib Then Echo <32> GET Hdr:SharedCLib { >> s.swioptions }
IfThere Hdr:Shell Then Echo <32> GET Hdr:Shell { >> s.swioptions }
IfThere Hdr:Sound Then Echo <32> GET Hdr:Sound { >> s.swioptions }
IfThere Hdr:Squash Then Echo <32> GET Hdr:Squash { >> s.swioptions }
IfThere Hdr:Super Then Echo <32> GET Hdr:Super { >> s.swioptions }
IfThere Hdr:Switcher Then Echo <32> GET Hdr:Switcher { >> s.swioptions }
IfThere Hdr:TaskWindow Then Echo <32> GET Hdr:TaskWindow { >> s.swioptions }
IfThere Hdr:Territory Then Echo <32> GET Hdr:Territory { >> s.swioptions }
IfThere Hdr:Wimp Then Echo <32> GET Hdr:Wimp { >> s.swioptions }
Echo <32> END { >> s.swioptions }
Echo SWIOptions: search complete
SetType s.swioptions Text
......@@ -6,9 +6,9 @@
GBLS Module_MinorVersion
GBLS Module_Date
GBLS Module_FullVersion
Module_MajorVersion SETS "5.02"
Module_Version SETA 502
Module_MajorVersion SETS "5.03"
Module_Version SETA 503
Module_MinorVersion SETS ""
Module_Date SETS "07 Mar 2000"
Module_FullVersion SETS "5.02"
Module_FullVersion SETS "5.03"
END
/* (5.02)
/* (5.03)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 5.02
#define Module_MajorVersion_CMHG 5.03
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 07 Mar 2000
#define Module_MajorVersion "5.02"
#define Module_Version 502
#define Module_MajorVersion "5.03"
#define Module_Version 503
#define Module_MinorVersion ""
#define Module_Date "07 Mar 2000"
#define Module_FullVersion "5.02"
#define Module_FullVersion "5.03"
......@@ -116,60 +116,7 @@ string2 SETS "&":CC:(:STR:value)
GET Hdr:IO.GenericIO
GET Hdr:ModHand
GET Hdr:ADFS
GET Hdr:ATAPI
GET Hdr:BasicTrans
GET Hdr:Buffer
GET Hdr:ARM3Cache
GET Hdr:CDROM
GET Hdr:CDFS
GET Hdr:ColourPick
GET Hdr:ColourTran
GET Hdr:DDT
GET Hdr:Debugger
GET Hdr:DeviceFS
GET Hdr:DMA
GET Hdr:DOSFS
GET Hdr:DragASprit
GET Hdr:DragAnObj
GET Hdr:Draw
GET Hdr:Econet
GET Hdr:FileCore
GET Hdr:FilerAct
GET Hdr:Filter
GET Hdr:Font
GET Hdr:FPEmulator
GET Hdr:Free
GET Hdr:FSLock
GET Hdr:Hourglass
GET Hdr:HostFS
GET Hdr:IIC
GET Hdr:Joystick
GET Hdr:MakePSFont
GET Hdr:MsgTrans
; GET Hdr:NetFS SWIs defined in Hdr:Econet
; GET Hdr:NetPrint SWIs defined in Hdr:Econet
GET Hdr:RISCOS
GET Hdr:Parallel
GET Hdr:PDriver
GET Hdr:PDumper
GET Hdr:Podule
GET Hdr:Portable
GET Hdr:RAMFS
GET Hdr:ResourceFS
GET Hdr:ScrBlank
GET Hdr:ScrModes
GET Hdr:SCSI
GET Hdr:SCSIFS
GET Hdr:SharedCLib
GET Hdr:Shell
GET Hdr:Sound
GET Hdr:Squash
GET Hdr:Super
GET Hdr:Switcher
GET Hdr:TaskWindow
GET Hdr:Territory
GET Hdr:Wimp
GET s.swioptions
; And finally the trailing bits
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment