Initial revision
This commit is contained in:
parent
897d312a1d
commit
4922093f24
20
mach/6500/liboc/Makefile
Normal file
20
mach/6500/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=s
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=6500" "SUF=$(SUF)"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/6500/liboc/compmodule
Executable file
6
mach/6500/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.s
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/em22/liboc/Makefile
Normal file
20
mach/em22/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=m
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=int22" "SUF=$(SUF)"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/em22/liboc/compmodule
Executable file
6
mach/em22/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.m
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/em24/liboc/Makefile
Normal file
20
mach/em24/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=m
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=int24" "SUF=$(SUF)"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/em24/liboc/compmodule
Executable file
6
mach/em24/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.m
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/em44/liboc/Makefile
Normal file
20
mach/em44/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=m
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=int44" "SUF=$(SUF)"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/em44/liboc/compmodule
Executable file
6
mach/em44/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.m
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/i80/liboc/Makefile
Normal file
20
mach/i80/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=o
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=i80" "SUF=$(SUF)" "ASAR=aal"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/i80/liboc/compmodule
Executable file
6
mach/i80/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.o
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/i86/liboc/Makefile
Normal file
20
mach/i86/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=o
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=i86" "SUF=$(SUF)" "ASAR=aal"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/i86/liboc/compmodule
Executable file
6
mach/i86/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.o
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
24
mach/m68020/Action
Normal file
24
mach/m68020/Action
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name "M68020 assembler"
|
||||||
|
dir as
|
||||||
|
end
|
||||||
|
name "M68020 backend"
|
||||||
|
dir ncg
|
||||||
|
end
|
||||||
|
name "M68020 EM library"
|
||||||
|
dir libem
|
||||||
|
end
|
||||||
|
name "M68020 system call library"
|
||||||
|
dir libsys
|
||||||
|
end
|
||||||
|
name "M68020 C libraries"
|
||||||
|
dir libcc
|
||||||
|
end
|
||||||
|
name "M68020 PC library"
|
||||||
|
dir libpc
|
||||||
|
end
|
||||||
|
name "M68020 Basic library"
|
||||||
|
dir libbc
|
||||||
|
end
|
||||||
|
name "M68020 Occam library"
|
||||||
|
dir liboc
|
||||||
|
end
|
20
mach/m68020/liboc/Makefile
Normal file
20
mach/m68020/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=o
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=m68020" "SUF=$(SUF)" "ASAR=aal"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/m68020/liboc/compmodule
Executable file
6
mach/m68020/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.o
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/m68k2/liboc/Makefile
Normal file
20
mach/m68k2/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=o
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=m68k2" "SUF=$(SUF)" "ASAR=aal"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/m68k2/liboc/compmodule
Executable file
6
mach/m68k2/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.o
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/m68k4/liboc/Makefile
Normal file
20
mach/m68k4/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=o
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=m68k4" "SUF=$(SUF)"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/m68k4/liboc/compmodule
Executable file
6
mach/m68k4/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.o
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/ns/liboc/Makefile
Normal file
20
mach/ns/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=o
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=ns" "SUF=$(SUF)" "ASAR=aal"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/ns/liboc/compmodule
Executable file
6
mach/ns/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.o
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
21
mach/pdp/liboc/Makefile
Normal file
21
mach/pdp/liboc/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
SUF=o
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=pdp" "SUF=$(SUF)" "ASAR=ar"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
RANLIB=ranlib ; export RANLIB ;\
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/pdp/liboc/compmodule
Executable file
6
mach/pdp/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.o
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/z80/liboc/Makefile
Normal file
20
mach/z80/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=o
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=z80" "SUF=$(SUF)" "ASAR=aal"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/z80/liboc/compmodule
Executable file
6
mach/z80/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.o
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
20
mach/z8000/liboc/Makefile
Normal file
20
mach/z8000/liboc/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
SUF=s
|
||||||
|
MAKEFILE=../../proto/libg/Makefile
|
||||||
|
MACHDEF="MACH=z8000" "SUF=$(SUF)"
|
||||||
|
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
|
||||||
|
|
||||||
|
install:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp
|
||||||
|
|
||||||
|
cmp:
|
||||||
|
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail
|
||||||
|
-../../compare tail_ocm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f *.old *.[ce$(SUF)] tail*
|
||||||
|
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
pr:
|
||||||
|
@pr Makefile
|
6
mach/z8000/liboc/compmodule
Executable file
6
mach/z8000/liboc/compmodule
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
|
||||||
|
then
|
||||||
|
echo `basename $1 $2`.s
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
Loading…
Reference in a new issue