ack/lang/a68s/liba68s/make
1989-02-08 09:38:15 +00:00

31 lines
1.1 KiB
Plaintext
Executable file

EMROOT=../../..
case `$EMROOT/bin/ack_sys` in
pdp_v7) ACM=pdp ; BM=0 ;;
vax_bsd4_1a) ACM=vax4 ;;
vax_bsd4_2) ACM=vax4 ;;
vax_sysV_2) ACM=vax4 ;;
pc_ix) ACM=i86 ; BM=0;;
sun3) ACM=sun3 ;;
sun2) ACM=sun2 ;;
m68_unisoft) ACM=m68k2 ;;
m68_sysV_0) ACM=mantra ;;
*) ;;
esac
MACH=${MACH-$ACM}
case $MACH in \
pdp) w=2; p=2; NOFLOAT=0; RECIPE='12 13 119'; ASAR=ar ;; \
m68k2) w=2; p=4; NOFLOAT=0; RECIPE='12 113 19'; ASAR=aal ;; \
moon3) w=2; p=4; NOFLOAT=0; RECIPE='12 113 19'; BSD4=-DBSD4; ASAR=aal ;; \
m68020|m68000) w=4; p=4; NOFLOAT=0; RECIPE='112 13 119'; ASAR=aal ;; \
sun3) w=4; p=4; NOFLOAT=0; RECIPE='112 13 119'; BSD4=-DBSD4 ;; \
vax4) w=4; p=4; NOFLOAT=0; RECIPE='112 13 119'; BSD4=-DBSD4; \
ASAR=ar; VAX4=-DVAX4; SOFILES='lpb.o'; RANLIB=ranlib; export RANLIB ;; \
*) echo machine $MACH not known to a68s; exit 1 ;; \
esac
/bin/make -f Makefile MACH=$MACH w=$w p=$p NOFLOAT=$NOFLOAT \
RECIPE="$RECIPE" BSD4=$BSD4 ASAR=$ASAR \
VAX4=$VAX4 SOFILES=$SOFILES $*
# sun3) w=4; p=4; NOFLOAT=1; RECIPE='112 13 119 43 44'; BSD4=-DBSD4; ASAR=aal ;; \