Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
S
Sources
Toolbox
Scale
Commits
0c76e01e
Commit
0c76e01e
authored
Jan 20, 1997
by
Neil Turton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
File type changed
parent
7e2d7df3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
295 deletions
+0
-295
.gitattributes
.gitattributes
+0
-1
MakeROM,fe1
MakeROM,fe1
+0
-109
MakeRel,fe1
MakeRel,fe1
+0
-62
Makefile,fe1
Makefile,fe1
+0
-123
No files found.
.gitattributes
View file @
0c76e01e
c/** gitlab-language=c linguist-language=c linguist-detectable=true
h/** gitlab-language=c linguist-language=c linguist-detectable=true
cmhg/** gitlab-language=cmhg linguist-language=cmhg linguist-detectable=true
*,fe1 gitlab-language=make linguist-language=make linguist-detectable=true
MakeROM,fe1
deleted
100644 → 0
View file @
7e2d7df3
# Makefile for Scale
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 06-Jan-94 AMcC Created
#
#
# Component specific options:
#
COMPONENT
=
Scale
ROM_MODULE
=
aof.
${COMPONENT}
#
# Export Paths for Messages module
#
RESDIR
=
<resource
$dir
>
.Resources2.
${COMPONENT}
#
# Generic options:
#
MKDIR
=
cdir
CC
=
cc
CMHG
=
cmhg
CP
=
copy
LD
=
link
RM
=
remove
WIPE
=
-wipe
CPFLAGS
=
~cfr~v
WFLAGS
=
~c~v
CFLAGS
=
-c
-depend
!
Depend
${INCLUDES}
-zM
-ffah
-zps1
${DFLAGS}
DFLAGS
=
-DROM
INCLUDES
=
-Itbox
:,C:
#
# Libraries
#
ANSILIB
=
CLib:o.ansilib
CLIB
=
CLIB:o.stubs
RLIB
=
RISCOSLIB:o.risc_oslib
ROMCSTUBS
=
RISCOSLIB:o.romcstubs
ABSSYM
=
RISC_OSLib:o.abssym
TBOXLIB
=
tbox:tboxlib
OBJS
=
\
o.Modhdr_NoD
\
o.auxiliary
\
o.copy
\
o.create
\
o.delete
\
o.events
\
o.getstate
\
o.hide
\
o.main
\
o.miscop
\
o.show
\
o.task
#
# Rule patterns
#
.c.o
:
; ${CC} ${CFLAGS} -o $@ $<
.cmhg.o
:
; ${CMHG} -O $@ $<
#
# Main rules:
#
#
rom
:
${ROM_MODULE}
@
echo
${COMPONENT}
: Module built
(
ROM
)
install_rom
:
${ROM_MODULE}
${CP}
${ROM_MODULE}
${INSTDIR}
.
${COMPONENT}
${CPFLAGS}
@
echo
${COMPONENT}
: Module installed
(
ROM
)
resources
:
Messages
${MKDIR}
${RESDIR}
${CP}
Messages
${RESDIR}
.Messages
${CPFLAGS}
${CP}
Res
${RESDIR}
.Res
${CPFLAGS}
@
echo
${COMPONENT}
: resource files copied to Messages module
clean
:
${WIPE}
o.
*
${WFLAGS}
${WIPE}
aof
${WFLAGS}
${WIPE}
linked
${WFLAGS}
${WIPE}
map
${WFLAGS}
@
echo
${COMPONENT}
: cleaned
${ROM_MODULE}
:
${OBJS} ${TBOXLIB} ${ROMCSTUBS}
${MKDIR}
aof
${LD}
-o
$@
-aof
${OBJS}
${TBOXLIB}
${ROMCSTUBS}
# final link for ROM Image (using given base address)
rom_link
:
${MKDIR}
linked
${MKDIR}
map
${LD}
-o
linked.
${COMPONENT}
-bin
-base
${ADDRESS}
${ROM_MODULE}
${ABSSYM}
\
-map
>
map.
${COMPONENT}
truncate
map.
${COMPONENT}
linked.
${COMPONENT}
${CP}
linked.
${COMPONENT}
${LINKDIR}
.
${COMPONENT}
${CPFLAGS}
@
echo
${COMPONENT}
: rom_link
complete
#---------------------------------------------------------------------------
# Dynamic dependencies:
MakeRel,fe1
deleted
100644 → 0
View file @
7e2d7df3
# Project: Scale
# Toolflags:
CCflags
=
-c
-depend
!
Depend
-IC
:
-throwback
-zM
-ffah
-zps1
C++flags = -c -depend !Depend -throwback -IC
:
Pascalflags
=
-c
-depend
!
Depend
-throwback
-IP
:
Linkflags
=
-m
-o
$@
ObjAsmflags
=
-Throwback
-Stamp
-NoCache
-depend
!
Depend
-CloseExec
-Quit
CMHGflags
=
LibFileflags
=
-c
-o
$@
Squeezeflags
=
-o
$@
AAsmflags
=
-ThrowBack
-Stamp
-NoCache
-depend
!
Depend
-CloseExec
-Quit
-To
$@
-From
# Final targets:
@.Scale
:
C:o.stubs @.o.auxiliary @.o.copy @.o.create @.o.delete @.o.events
\
@.o.getstate @.o.hide @.o.main @.o.miscop @.o.show @.o.task @.o.Modhdr_NoD @.o.res
\
@.o.messages @.^.common.tboxlib
link
$(linkflags)
C:o.stubs @.o.auxiliary @.o.copy @.o.create
\
@.o.delete @.o.events @.o.getstate @.o.hide @.o.main @.o.miscop @.o.show @.o.task
\
@.o.Modhdr_NoD @.o.res @.o.messages @.^.common.tboxlib
# User-editable dependencies:
@.ScaleM
:
@.messages
modgen @.ScaleM ScaleM
"Scale Messages"
1.00 @.messages Resources.Scale.Messages
@.o.messages
:
@.Messages
resgen messages_file @.o.messages @.Messages Resources.Scale.Messages
@.o.res
:
@.Res
resgen res_file @.o.res @.Res Resources.Scale.Res
# Static dependencies:
@.o.auxiliary
:
@.c.auxiliary
cc
$(ccflags)
-o
@.o.auxiliary @.c.auxiliary
@.o.create
:
@.c.create
cc
$(ccflags)
-o
@.o.create @.c.create
@.o.Modhdr_NoD
:
@.cmhg.Modhdr_NoD
cmhg @.cmhg.Modhdr_NoD
-o
@.o.Modhdr_NoD
@.o.main
:
@.c.main
cc
$(ccflags)
-o
@.o.main @.c.main
@.o.copy
:
@.c.copy
cc
$(ccflags)
-o
@.o.copy @.c.copy
@.o.delete
:
@.c.delete
cc
$(ccflags)
-o
@.o.delete @.c.delete
@.o.getstate
:
@.c.getstate
cc
$(ccflags)
-o
@.o.getstate @.c.getstate
@.o.hide
:
@.c.hide
cc
$(ccflags)
-o
@.o.hide @.c.hide
@.o.show
:
@.c.show
cc
$(ccflags)
-o
@.o.show @.c.show
@.o.task
:
@.c.task
cc
$(ccflags)
-o
@.o.task @.c.task
@.o.miscop
:
@.c.miscop
cc
$(ccflags)
-o
@.o.miscop @.c.miscop
@.o.events
:
@.c.events
cc
$(ccflags)
-o
@.o.events @.c.events
# Dynamic dependencies:
Makefile,fe1
deleted
100644 → 0
View file @
7e2d7df3
# Copyright 1996 Acorn Computers Ltd
#
# 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.
#
# Makefile for Scale
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 06-Jan-94 AMcC Created
#
#
# Component specific options:
#
COMPONENT
=
Scale
ROM_MODULE
=
aof.
${COMPONENT}
#
# Export Paths for Messages module
#
RESDIR
=
<resource
$dir
>
.Resources2.
${COMPONENT}
#
# Generic options:
#
MKDIR
=
cdir
CC
=
cc
CMHG
=
cmhg
CP
=
copy
LD
=
link
RM
=
remove
WIPE
=
-wipe
CPFLAGS
=
~cfr~v
WFLAGS
=
~c~v
CFLAGS
=
-c
-depend
!
Depend
${INCLUDES}
-zM
-ffah
-zps1
${DFLAGS}
DFLAGS
=
-DROM
INCLUDES
=
-Itbox
:,C:
#
# Libraries
#
ANSILIB
=
CLib:o.ansilib
CLIB
=
CLIB:o.stubs
RLIB
=
RISCOSLIB:o.risc_oslib
ROMCSTUBS
=
RISCOSLIB:o.romcstubs
ABSSYM
=
RISC_OSLib:o.abssym
TBOXLIB
=
tbox:tboxlib
OBJS
=
\
o.Modhdr_NoD
\
o.auxiliary
\
o.copy
\
o.create
\
o.delete
\
o.events
\
o.getstate
\
o.hide
\
o.main
\
o.miscop
\
o.show
\
o.task
#
# Rule patterns
#
.c.o
:
; ${CC} ${CFLAGS} -o $@ $<
.cmhg.o
:
; ${CMHG} -O $@ $<
#
# Main rules:
#
#
rom
:
${ROM_MODULE}
@
echo
${COMPONENT}
: Module built
(
ROM
)
install_rom
:
${ROM_MODULE}
${CP}
${ROM_MODULE}
${INSTDIR}
.
${COMPONENT}
${CPFLAGS}
@
echo
${COMPONENT}
: Module installed
(
ROM
)
resources
:
Messages
${MKDIR}
${RESDIR}
${CP}
Messages
${RESDIR}
.Messages
${CPFLAGS}
${CP}
Res
${RESDIR}
.Res
${CPFLAGS}
@
echo
${COMPONENT}
: resource files copied to Messages module
clean
:
${WIPE}
o.
*
${WFLAGS}
${WIPE}
aof
${WFLAGS}
${WIPE}
linked
${WFLAGS}
${WIPE}
map
${WFLAGS}
@
echo
${COMPONENT}
: cleaned
${ROM_MODULE}
:
${OBJS} ${TBOXLIB} ${ROMCSTUBS}
${MKDIR}
aof
${LD}
-o
$@
-aof
${OBJS}
${TBOXLIB}
${ROMCSTUBS}
# final link for ROM Image (using given base address)
rom_link
:
${MKDIR}
linked
${MKDIR}
map
${LD}
-o
linked.
${COMPONENT}
-bin
-base
${ADDRESS}
${ROM_MODULE}
${ABSSYM}
\
-map
>
map.
${COMPONENT}
truncate
map.
${COMPONENT}
linked.
${COMPONENT}
${CP}
linked.
${COMPONENT}
${LINKDIR}
.
${COMPONENT}
${CPFLAGS}
@
echo
${COMPONENT}
: rom_link
complete
#---------------------------------------------------------------------------
# Dynamic dependencies:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment