1987-10-06 16:58:10 +00:00
|
|
|
# $Revision$
|
|
|
|
var w=2
|
|
|
|
var p=2
|
|
|
|
var s=2
|
|
|
|
var l=4
|
|
|
|
var f=4
|
|
|
|
var d=8
|
1988-07-12 16:46:39 +00:00
|
|
|
var NAME=xenix3
|
1988-07-18 16:59:39 +00:00
|
|
|
var M=i86
|
|
|
|
var IM=xenix3
|
|
|
|
var LIB=lib/{IM}/tail_
|
1987-10-06 16:58:10 +00:00
|
|
|
var ILIB=lib/i86/tail_
|
1988-07-18 16:59:39 +00:00
|
|
|
var RT=lib/{IM}/head_
|
1991-09-04 17:50:11 +00:00
|
|
|
var CPP_F=-D__unix -D__USG
|
|
|
|
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
|
1990-11-22 13:18:47 +00:00
|
|
|
var OLD_C_LIB={C_LIB}
|
1987-10-06 16:58:10 +00:00
|
|
|
var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2
|
1991-11-20 16:07:33 +00:00
|
|
|
var MACHOPT_F=-m8
|
1987-10-06 16:58:10 +00:00
|
|
|
name be
|
|
|
|
from .m.g
|
|
|
|
to .s
|
1991-09-04 17:50:11 +00:00
|
|
|
program {EM}/lib.bin/{M}/cg
|
1987-10-06 16:58:10 +00:00
|
|
|
args <
|
|
|
|
stdout
|
|
|
|
need .e
|
|
|
|
end
|
|
|
|
name as
|
|
|
|
from .s.so
|
|
|
|
to .o
|
1991-09-04 17:50:11 +00:00
|
|
|
program {EM}/lib.bin/{M}/as
|
1987-10-06 16:58:10 +00:00
|
|
|
args - -o > <
|
|
|
|
prep cond
|
|
|
|
end
|
|
|
|
name led
|
|
|
|
from .o.a
|
|
|
|
to .out
|
1991-09-04 17:50:11 +00:00
|
|
|
program {EM}/lib.bin/em_led
|
|
|
|
mapflag -l* LNAME={EM}/{LIB}*
|
1987-10-06 16:58:10 +00:00
|
|
|
mapflag -i SEPID=-b1:0
|
1988-04-06 18:06:23 +00:00
|
|
|
mapflag -fp FLOATS={EM}/{ILIB}fp
|
1991-09-04 17:50:11 +00:00
|
|
|
mapflag -ansi C_LIB={EM}/{LIB}ac
|
1987-10-06 16:58:10 +00:00
|
|
|
args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \
|
2016-11-27 19:38:33 +00:00
|
|
|
({RTS}:.ocm.bas={EM}/{RT}cc) \
|
1991-09-04 17:50:11 +00:00
|
|
|
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
|
|
|
|
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
|
|
|
|
({RTS}:.p={EM}/{RT}pc) \
|
|
|
|
({RTS}:.mod={EM}/{RT}m2) \
|
1988-04-06 18:06:23 +00:00
|
|
|
-o > < \
|
1991-09-04 17:50:11 +00:00
|
|
|
(.p:{TAIL}={EM}/{LIB}pc) \
|
2016-11-27 19:38:33 +00:00
|
|
|
(.bas:{TAIL}={EM}/{LIB}bc) \
|
1991-09-04 17:50:11 +00:00
|
|
|
(.mod:{TAIL}={EM}/{LIB}m2) \
|
|
|
|
(.ocm:{TAIL}={EM}/{LIB}ocm) \
|
2016-11-27 19:38:33 +00:00
|
|
|
(.ocm.bas:{TAIL}={OLD_C_LIB}) \
|
1990-11-22 13:18:47 +00:00
|
|
|
(.c:{TAIL}={C_LIB}) \
|
1988-04-06 18:06:23 +00:00
|
|
|
{FLOATS?} \
|
1987-10-06 16:58:10 +00:00
|
|
|
(.e:{TAIL}={EM}/{ILIB}em {EM}/{LIB}mon {EM}/lib/i86/end_em)
|
|
|
|
linker
|
|
|
|
end
|
|
|
|
name cv
|
|
|
|
from .out
|
|
|
|
to .cv
|
1991-09-04 17:50:11 +00:00
|
|
|
program {EM}/lib.bin/{IM}/cv
|
1988-07-15 15:29:44 +00:00
|
|
|
mapflag -F* CVFLAG=-F*
|
|
|
|
args {CVFLAG?} < >
|
1987-10-06 16:58:10 +00:00
|
|
|
outfile a.out
|
|
|
|
end
|