2018-06-10 11:25:48 +00:00
|
|
|
var w=2
|
2018-06-12 11:54:15 +00:00
|
|
|
var wa=2
|
2018-06-10 11:25:48 +00:00
|
|
|
var p=2
|
2018-06-12 11:54:15 +00:00
|
|
|
var pa=2
|
2018-06-10 11:25:48 +00:00
|
|
|
var s=2
|
2018-06-12 11:54:15 +00:00
|
|
|
var sa=2
|
2018-06-10 11:25:48 +00:00
|
|
|
var l=4
|
2018-06-12 11:54:15 +00:00
|
|
|
var la=2
|
2018-06-10 11:25:48 +00:00
|
|
|
var f=4
|
2018-06-12 11:54:15 +00:00
|
|
|
var fa=2
|
2018-06-10 11:25:48 +00:00
|
|
|
var d=8
|
2018-06-12 11:54:15 +00:00
|
|
|
var da=2
|
2018-06-10 11:25:48 +00:00
|
|
|
var x=8
|
2018-06-12 11:54:15 +00:00
|
|
|
var xa=2
|
2018-06-10 11:25:48 +00:00
|
|
|
var ARCH=em22
|
|
|
|
var PLATFORM=em22
|
|
|
|
var PLATFORMDIR={EM}/share/ack/{PLATFORM}
|
|
|
|
var CPP_F=-D__unix
|
|
|
|
var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2
|
|
|
|
var MACHOPT_F=-m8
|
|
|
|
var EGO_PLAT_FLAGS=-M{EM}/share/ack/ego/{ARCH}.descr
|
2018-06-12 11:54:15 +00:00
|
|
|
var SIZE_FLAG=-sx
|
2018-06-10 11:25:48 +00:00
|
|
|
|
|
|
|
# Override the setting in fe so that files compiled for this platform can see
|
|
|
|
# the platform-specific headers.
|
|
|
|
|
|
|
|
var C_INCLUDES=-I{PLATFORMDIR}/include -I{EM}/share/ack/include/ansi
|
|
|
|
|
|
|
|
name asld
|
|
|
|
from .k.m.a.g
|
|
|
|
to .out
|
|
|
|
outfile e.out
|
|
|
|
program {EM}/lib/ack/em_ass
|
|
|
|
mapflag -l* LNAME={PLATFORMDIR}/lib*
|
|
|
|
mapflag -+* ASS_F={ASS_F?} -+*
|
|
|
|
mapflag --* ASS_F={ASS_F?} --*
|
|
|
|
mapflag -s* SIZE_FLAG=-s*
|
|
|
|
mapflag -ansi C_LIB={EM}/{LIB}ac
|
|
|
|
args {SIZE_FLAG} \
|
|
|
|
({RTS}:.ocm.bas.b={PLATFORMDIR}/c-ansi.m) \
|
|
|
|
({RTS}:.c={PLATFORMDIR}/c-ansi.m) \
|
|
|
|
({RTS}:.mod={PLATFORMDIR}/modula2.m) \
|
|
|
|
({RTS}:.p={PLATFORMDIR}/pascal.m) \
|
|
|
|
-o > < \
|
|
|
|
(.p:{TAIL}={PLATFORMDIR}/libpascal.a) \
|
|
|
|
(.b:{TAIL}={PLATFORMDIR}/libb.a) \
|
|
|
|
(.bas:{TAIL}={PLATFORMDIR}/libbasic.a) \
|
|
|
|
(.mod:{TAIL}={PLATFORMDIR}/libmodula2.a) \
|
|
|
|
(.ocm:{TAIL}={PLATFORMDIR}/liboccam.a) \
|
|
|
|
(.ocm.bas.mod.b.c.p:{TAIL}={PLATFORMDIR}/libc.a) \
|
|
|
|
{FLOATS?} \
|
2018-06-13 11:57:31 +00:00
|
|
|
{PLATFORMDIR}/libsys.a \
|
|
|
|
{PLATFORMDIR}/libend.a
|
2018-06-10 11:25:48 +00:00
|
|
|
linker
|
|
|
|
end
|