lib --> lib.bin for programs

This commit is contained in:
ceriel 1991-09-04 17:56:11 +00:00
parent 9853ac8a4b
commit 7559fbb966

View file

@ -11,7 +11,7 @@ callname ack
name cpp name cpp
# no from, this is a preprocessor # no from, this is a preprocessor
to .i to .i
program {EM}/lib/cpp{ANSI_C?} program {EM}/lib.bin/cpp{ANSI_C?}
mapflag -I* CPP_F={CPP_F?} -I* mapflag -I* CPP_F={CPP_F?} -I*
mapflag -U* CPP_F={CPP_F?} -U* mapflag -U* CPP_F={CPP_F?} -U*
mapflag -D* CPP_F={CPP_F?} -D* mapflag -D* CPP_F={CPP_F?} -D*
@ -20,6 +20,7 @@ name cpp
mapflag -wo CPP_F={CPP_F?} -o mapflag -wo CPP_F={CPP_F?} -o
mapflag -ansi ANSI_C=.ansi mapflag -ansi ANSI_C=.ansi
args {CPP_F?} ({SUFFIX?}:.ocm=-I{EM}/include/occam) \ args {CPP_F?} ({SUFFIX?}:.ocm=-I{EM}/include/occam) \
-D__{NAME} \
({ANSI_C?}:.ansi={SYSINCLUDES?} {ANSI_C_INCLUDES} {INCLUDES?}) \ ({ANSI_C?}:.ansi={SYSINCLUDES?} {ANSI_C_INCLUDES} {INCLUDES?}) \
({ANSI_C?.c}:{SUFFIX}={SYSINCLUDES?} {C_INCLUDES} {INCLUDES?}) \ ({ANSI_C?.c}:{SUFFIX}={SYSINCLUDES?} {C_INCLUDES} {INCLUDES?}) \
({ANSI_C?.xx}:.xx=-D{NAME} \ ({ANSI_C?.xx}:.xx=-D{NAME} \
@ -34,7 +35,7 @@ end
name cem name cem
from .c from .c
to .k to .k
program {EM}/lib/em_cemcom{ANSI_C?} program {EM}/lib.bin/em_cemcom{ANSI_C?}
mapflag -ansi ANSI=ansi mapflag -ansi ANSI=ansi
# mapflag -I* CPP_F={CPP_F?} -I* # mapflag -I* CPP_F={CPP_F?} -I*
# mapflag -U* CPP_F={CPP_F?} -U* # mapflag -U* CPP_F={CPP_F?} -U*
@ -59,6 +60,7 @@ name cem
({ANSI_C?}:.ansi={ANSI_C_INCLUDES}) \ ({ANSI_C?}:.ansi={ANSI_C_INCLUDES}) \
({ANSI_C?.c}:.c={C_INCLUDES}) \ ({ANSI_C?.c}:.c={C_INCLUDES}) \
{INCLUDES?} \ {INCLUDES?} \
({ANSI_C?}:.ansi=-D__{NAME}) \
({ANSI_C?.xx}:.xx=-D{NAME}) \ ({ANSI_C?.xx}:.xx=-D{NAME}) \
-D_EM_WSIZE={w} -D_EM_PSIZE={p} \ -D_EM_WSIZE={w} -D_EM_PSIZE={p} \
-D_EM_SSIZE={s} -D_EM_LSIZE={l} -D_EM_FSIZE={f} -D_EM_DSIZE={d} \ -D_EM_SSIZE={s} -D_EM_LSIZE={l} -D_EM_FSIZE={f} -D_EM_DSIZE={d} \
@ -71,7 +73,7 @@ end
name pc name pc
from .p from .p
to .k to .k
program {EM}/lib/em_pc program {EM}/lib.bin/em_pc
mapflag -L PC_F={PC_F?} -L mapflag -L PC_F={PC_F?} -L
# mapflag -s PC_F={PC_F?} -s # mapflag -s PC_F={PC_F?} -s
mapflag -_ PC_F={PC_F?} -U mapflag -_ PC_F={PC_F?} -U
@ -95,7 +97,7 @@ end
name m2 name m2
from .mod.def from .mod.def
to .k to .k
program {EM}/lib/em_m2 program {EM}/lib.bin/em_m2
mapflag -I* M2_INCL={M2_INCL?} -I* mapflag -I* M2_INCL={M2_INCL?} -I*
mapflag -L M2_F={M2_F?} -L mapflag -L M2_F={M2_F?} -L
mapflag -g M2_F={M2_F?} -g mapflag -g M2_F={M2_F?} -g
@ -119,7 +121,7 @@ end
name ocm name ocm
from .ocm from .ocm
to .k to .k
program {EM}/lib/em_occam program {EM}/lib.bin/em_occam
mapflag -L OCM_F={OCM_F?} -L mapflag -L OCM_F={OCM_F?} -L
mapflag -V* OCM_F={OCM_F?} -V* mapflag -V* OCM_F={OCM_F?} -V*
args -Vw{w}p{p}l{l} {OCM_F?} args -Vw{w}p{p}l{l} {OCM_F?}
@ -133,7 +135,7 @@ end
name abc name abc
from .b from .b
to .k to .k
program {EM}/lib/em_bem program {EM}/lib.bin/em_bem
mapflag -h ABC_F={ABC_F?} -h mapflag -h ABC_F={ABC_F?} -h
mapflag -w ABC_F={ABC_F?} -w mapflag -w ABC_F={ABC_F?} -w
mapflag -L ABC_F={ABC_F?} -L mapflag -L ABC_F={ABC_F?} -L
@ -149,7 +151,7 @@ var A68INIT={EM}/lib/em_a68s_init
name a68s name a68s
from .8.a68 from .8.a68
to .k to .k
program {EM}/lib/em_a68s{w}{p} program {EM}/lib.bin/em_a68s{w}{p}
mapflag -PA* A68INIT=* mapflag -PA* A68INIT=*
args < > {SOURCE}.lst {A68INIT}{w}{p} /dev/null args < > {SOURCE}.lst {A68INIT}{w}{p} /dev/null
prep cond prep cond
@ -160,7 +162,7 @@ end
name encode name encode
from .e from .e
to .k to .k
program {EM}/lib/em_encode program {EM}/lib.bin/em_encode
args < args <
prep cond prep cond
stdout stdout
@ -168,7 +170,7 @@ end
name opt name opt
from .k from .k
to .m to .m
program {EM}/lib/em_opt program {EM}/lib.bin/em_opt
mapflag -LIB OPT_F={OPT_F?} -L mapflag -LIB OPT_F={OPT_F?} -L
args {OPT_F?} < args {OPT_F?} <
stdout stdout
@ -177,7 +179,7 @@ end
name ego name ego
from .m.ma from .m.ma
to .gk to .gk
program {EM}/lib/em_ego program {EM}/lib.bin/em_ego
mapflag -EGO-* EGO_F={EGO_F?} -* mapflag -EGO-* EGO_F={EGO_F?} -*
# The following lines are obsolete, but here for backwards compatibility. # The following lines are obsolete, but here for backwards compatibility.
# They should be removed some day. # They should be removed some day.
@ -199,7 +201,7 @@ name ego
mapflag -a EGO_F={EGO_F?} -a mapflag -a EGO_F={EGO_F?} -a
mapflag -O* EGO_F={EGO_F?} -O* mapflag -O* EGO_F={EGO_F?} -O*
args \ args \
{EGO_F?} -P {EM}/lib/ego \ {EGO_F?} -P {EM}/lib.bin/ego \
-M{EM}/lib/ego/{M}descr < -M{EM}/lib/ego/{M}descr <
optimizer 2 optimizer 2
stdout stdout
@ -210,7 +212,7 @@ name opt2
# of the em peephole optimizer # of the em peephole optimizer
from .gk from .gk
to .g to .g
program {EM}/lib/em_opt2 program {EM}/lib.bin/em_opt2
# mapflag -LIB OPT_F={OPT_F?} -L # mapflag -LIB OPT_F={OPT_F?} -L
args {OPT_F?} < args {OPT_F?} <
optimizer optimizer
@ -219,7 +221,7 @@ end
name decode name decode
from .k.m.g.gk from .k.m.g.gk
to .e to .e
program {EM}/lib/em_decode program {EM}/lib.bin/em_decode
args < args <
stdout stdout
end end