adapted so that interpreter traps on floating point instructions
authorceriel <none@none>
Thu, 7 Apr 1988 13:14:27 +0000 (13:14 +0000)
committerceriel <none@none>
Thu, 7 Apr 1988 13:14:27 +0000 (13:14 +0000)
mach/mantra/int/Makefile

index 58f8c7c..4fce8b3 100644 (file)
@@ -4,6 +4,7 @@ P = mloop
 FILES=deffile $P0 $P1 $P2 $P3 $P4 $P5 $P6 $P7 $P8 $P9 $Pa $Pb $Pc
 CPP=../../../lib/cpp
 b=../../../lib/int
+FLTRAP=-DFLTRAP
 
 all:   $(INTS) em
 
@@ -11,58 +12,59 @@ em: em.c
        $(CC) -o em -I../../../h em.c
 
 em2_t---:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=0 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=0 >tmp.s
        ./compile -o em2_t--- tmp.s
        rm -f tmp.s
 
 em2_----:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dopfreq=0 -Dlast=0 -Dcount=0 -Dtest=0 -Dflow=0 -Dprof=0 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dopfreq=0 -Dlast=0 -Dcount=0 -Dtest=0 -Dflow=0 -Dprof=0 >tmp.s
        ./compile -o em2_---- tmp.s
        rm -f tmp.s
 
 em2_t-cp:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=1 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=1 >tmp.s
        ./compile -o em2_t-cp tmp.s
        rm -f tmp.s
 
 em2_t-c-:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=0 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=0 >tmp.s
        ./compile -o em2_t-c- tmp.s
        rm -f tmp.s
 
 em2_t--p:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=1 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=1 >tmp.s
        ./compile -o em2_t--p tmp.s
        rm -f tmp.s
 
 em4_t---:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dlword -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=0 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=0 >tmp.s
        ./compile -o em4_t--- tmp.s
        rm -f tmp.s
 
 em4_----:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dlword -Dopfreq=0 -Dlast=0 -Dcount=0 -Dtest=0 -Dflow=0 -Dprof=0 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=0 -Dcount=0 -Dtest=0 -Dflow=0 -Dprof=0 >tmp.s
        ./compile -o em4_---- tmp.s
        rm -f tmp.s
 
 em4_t-cp:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dlword -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=1 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=1 >tmp.s
        ./compile -o em4_t-cp tmp.s
        rm -f tmp.s
 
 em4_t-c-:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dlword -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=0 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=0 >tmp.s
        ./compile -o em4_t-c- tmp.s
        rm -f tmp.s
 
 em4_t--p:      $(FILES) compile
-       cat $(FILES) | $(CPP) -P -Dlword -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=1 >tmp.s
+       cat $(FILES) | $(CPP) -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=1 >tmp.s
        ./compile -o em4_t--p tmp.s
        rm -f tmp.s
 
 compile:       Makefile
                case `ack_sys` in sun*) MACH=sun2;; pmds*) MACH=pmds4;; \
-                                   m68_sysV_0) MACH=mantra;; *) MACH=m68k4;; \
+                                   m68_sysV_0) MACH=mantra;; \
+                                   m68k2) MACH=m68k2;; *) MACH=m68k4;; \
                esac ; echo $$MACH -.m '$$*' > compile; chmod +x compile
 install:       all
                -mkdir $b24 $b44