diff --git a/mach/sun3/liba68s/.distr b/mach/sun3/liba68s/.distr new file mode 100644 index 000000000..37100a8aa --- /dev/null +++ b/mach/sun3/liba68s/.distr @@ -0,0 +1,2 @@ +Makefile +compmodule diff --git a/mach/sun3/liba68s/Makefile b/mach/sun3/liba68s/Makefile new file mode 100644 index 000000000..7aaa68f46 --- /dev/null +++ b/mach/sun3/liba68s/Makefile @@ -0,0 +1,22 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=sun3" "SUF=$(SUF)" "ASAR=aal" +A68SDEF="PREF=a68s" "SUB=" "SRC=lang/a68s/liba68s" + +install: + make -f $(MAKEFILE) $(A68SDEF) $(MACHDEF) tailcp + +all: + make -f $(MAKEFILE) $(A68SDEF) $(MACHDEF) tail + +cmp: all + -../../compare tail_a68s + +clean: + -rm -f *.old *.[cehsp$(SUF)] tail* head* check?? + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/sun3/liba68s/compmodule b/mach/sun3/liba68s/compmodule new file mode 100755 index 000000000..a6a34e9fb --- /dev/null +++ b/mach/sun3/liba68s/compmodule @@ -0,0 +1,14 @@ +HOME=../../.. +SFILE=`basename $1` +OFILE=`basename $1 $2`.o +ln $HOME/$SRC/rundecs.p . 2> /dev/null +ln $HOME/$SRC/e.h . 2> /dev/null +ln $1 . +if $HOME/$SRC/make -f $HOME/$SRC/Makefile $OFILE >/dev/tty +then + rm $SFILE + echo $OFILE +else + rm $SFILE + exit 1 +fi