-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
149 lines (144 loc) · 4.02 KB
/
Copy pathMakefile
File metadata and controls
149 lines (144 loc) · 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# Copyright 2026 RISCOS Technologies
#
# SPDX-License-Identifier: MIT
#
# Licensed under the MIT Licence; see the LICENSE file.
# Portions are derived from Acorn's original RISC OS source, which
# remains under the Apache Licence 2.0 (see NOTICE and LICENSE-Apache).
#
# Makefile for Display Manager
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 23-Mar-01 SNB Recreated.
# 2026 (port) Converted from assembler (AAsmModule) to C (CModule).
#
COMPONENT = DisplayManager
TARGET = Display
CMHGFILE = modhead
# 'veneer' (s/veneer) is the assembler application-entry veneer wired in via the
# cmhg library-enter-code directive: it claims a private stack and sets sp + sl
# before entering C, because the default C-library entry left sl invalid for the
# Wimp task (it aborted in the C kernel during Wimp_Initialise). Cf. ShellCLI.
OBJS = module msgtrans icon window mode menu mouse message veneer
# C sources that #include the CMunge-generated modhead.h (so the header is
# generated before they compile). Add later c/ files here as they are ported.
CMHGDEPENDS = module window mode menu message
HDRS =
CINCLUDES = ${RINC}
CMHGDEFINES = -DCOMPONENT=${COMPONENT} ${CDEFINES}
INSTRES_FILES = Templates
INSTRES_VERSION = Messages
RAMCDEFINES = -DSTANDALONE
include StdTools
include CModule
# Built with the STANDARD CMHG (the BuildSys default), NOT CMunge: CMunge 0.85's
# module-is-runnable start veneer left the C run-time stack invalid on hardware
# (the Wimp task aborted in the Shared C Library). The only CMunge-only feature
# this used was error-base/error-identifiers, now hand-written in c/module, so
# stock CMHG suffices (cf. the runnable Desktop.WindowScroll, also CMHG).
# ROM C modules are fixed-position: link against the shared C library's absolute
# symbols, and pull in the run-time library for the standalone (RAM) build.
ROM_SYMS = ${ABSSYM}
SA_LIBS += ${RLIB}
# Dynamic dependencies:
o.module: c.module
o.module: C:h.kernel
o.module: C:h.swis
o.module: C:Global.h.RISCOS
o.module: C:Global.h.Services
o.module: C:Global.h.ModHand
o.module: C:Global.h.Variables
o.module: h.modhead
o.module: h.display
o.module: C:h.kernel
o.module: h.options
o.module: h.modedefs
o.module: h.options
o.msgtrans: c.msgtrans
o.msgtrans: C:h.kernel
o.msgtrans: C:h.swis
o.msgtrans: h.display
o.msgtrans: C:h.kernel
o.msgtrans: h.options
o.msgtrans: h.modedefs
o.msgtrans: h.options
o.icon: c.icon
o.icon: C:h.kernel
o.icon: C:h.swis
o.icon: h.display
o.icon: C:h.kernel
o.icon: h.options
o.icon: h.modedefs
o.icon: h.options
o.icon: h.wimpdefs
o.window: c.window
o.window: C:h.kernel
o.window: C:h.swis
o.window: C:Global.h.ModHand
o.window: h.modhead
o.window: h.display
o.window: C:h.kernel
o.window: h.options
o.window: h.modedefs
o.window: h.options
o.window: h.wimpdefs
o.mode: c.mode
o.mode: C:h.kernel
o.mode: C:h.swis
o.mode: C:Global.h.ModHand
o.mode: h.modhead
o.mode: h.display
o.mode: C:h.kernel
o.mode: h.options
o.mode: h.modedefs
o.mode: h.options
o.mode: h.modedefs
o.mode: h.wimpdefs
o.menu: c.menu
o.menu: C:h.kernel
o.menu: C:h.swis
o.menu: h.modhead
o.menu: h.display
o.menu: C:h.kernel
o.menu: h.options
o.menu: h.modedefs
o.menu: h.options
o.menu: h.modedefs
o.menu: h.wimpdefs
o.mouse: c.mouse
o.mouse: C:h.kernel
o.mouse: C:h.swis
o.mouse: h.display
o.mouse: C:h.kernel
o.mouse: h.options
o.mouse: h.modedefs
o.mouse: h.options
o.mouse: h.modedefs
o.mouse: h.wimpdefs
o.message: c.message
o.message: C:h.kernel
o.message: C:h.swis
o.message: C:Global.h.Variables
o.message: h.modhead
o.message: h.display
o.message: C:h.kernel
o.message: h.options
o.message: h.modedefs
o.message: h.options
o.message: h.modedefs
o.message: h.wimpdefs
h.modhead: cmhg.modhead
h.modhead: C:Global.h.Services
h.modhead: VersionNum
o.modhead: cmhg.modhead
o.modhead: C:Global.h.Services
o.modhead: VersionNum
o.veneer: s.veneer
o.veneer: Hdr:ListOpts
o.veneer: Hdr:Macros
o.veneer: Hdr:System
o.veneer: Hdr:ModHand