ack/mach/mantra/int/Makefile

80 lines
2.7 KiB
Makefile
Raw Normal View History

1986-02-11 11:13:41 +00:00
INTS=em2_t--- em2_---- em2_t-cp em2_t-c- em2_t--p \
em4_t--- em4_---- em4_t-cp em4_t-c- em4_t--p
1984-07-23 11:49:00 +00:00
P = mloop
1987-03-31 09:23:20 +00:00
FILES=deffile $P0 $P1 $P2 $P3 $P4 $P5 $P6 $P7 $P8 $P9 $Pa $Pb $Pc
1986-02-11 11:13:41 +00:00
CPP=../../../lib/cpp
1988-05-06 13:46:55 +00:00
b=../../../lib/em
1988-04-28 15:16:07 +00:00
FLTRAP=
1986-02-11 11:13:41 +00:00
all: $(INTS) em
em: em.c
1987-03-31 09:23:20 +00:00
$(CC) -o em -I../../../h em.c
1986-02-11 11:13:41 +00:00
1988-04-20 17:10:21 +00:00
tmp.s: $(FILES)
cat $(FILES) > tmp.s
1988-04-28 15:16:07 +00:00
em2_t---: tmp.s compile con_float.o
./compile -o em2_t--- -P $(FLTRAP) -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=0 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em2_----: tmp.s compile con_float.o
./compile -o em2_---- -P $(FLTRAP) -Dopfreq=0 -Dlast=0 -Dcount=0 -Dtest=0 -Dflow=0 -Dprof=0 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em2_t-cp: tmp.s compile con_float.o
./compile -o em2_t-cp -P $(FLTRAP) -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=1 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em2_t-c-: tmp.s compile con_float.o
./compile -o em2_t-c- -P $(FLTRAP) -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=0 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em2_t--p: tmp.s compile con_float.o
./compile -o em2_t--p -P $(FLTRAP) -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=1 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em4_t---: tmp.s compile con_float.o
./compile -o em4_t--- -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=0 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em4_----: tmp.s compile con_float.o
./compile -o em4_---- -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=0 -Dcount=0 -Dtest=0 -Dflow=0 -Dprof=0 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em4_t-cp: tmp.s compile con_float.o
./compile -o em4_t-cp -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=1 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em4_t-c-:tmp.s compile con_float.o
./compile -o em4_t-c- -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=1 -Dcount=1 -Dtest=1 -Dflow=0 -Dprof=0 tmp.s con_float.o
1988-04-20 17:10:21 +00:00
1988-04-28 15:16:07 +00:00
em4_t--p: tmp.s compile con_float.o
./compile -o em4_t--p -P $(FLTRAP) -Dlword -Dopfreq=0 -Dlast=1 -Dcount=0 -Dtest=1 -Dflow=0 -Dprof=1 tmp.s con_float.o
1988-08-11 14:57:39 +00:00
con_float.o: con_float.c
case `ack_sys` in m68k2|pmds) \
acc -mm68k4 -c -L -O con_float.c;; \
*) acc -c -L -O con_float.c;; \
esac
1986-02-11 11:13:41 +00:00
1987-03-31 09:23:20 +00:00
compile: Makefile
1988-08-11 14:57:39 +00:00
case `ack_sys` in sun*) MACH=`ack_sys`; AS=-Ras=../../../lib/m68k2/as;; pmds*) MACH=pmds4;; \
m68_sysV_0) MACH=mantra;; \
1988-08-11 14:57:39 +00:00
*) MACH=m68k4;; \
esac ; echo $$MACH $$AS -r.c -.m -fp '$$*' > compile; chmod +x compile
1986-02-11 11:13:41 +00:00
install: all
-mkdir $b24 $b44
ls em2_???? | sed 's:em2_\(.*\):cp & $b24/em_\1:' | sh
ls em4_???? | sed 's:em4_\(.*\):cp & $b44/em_\1:' | sh
cp em ../../../bin/em
1987-03-02 13:03:17 +00:00
cp em.1 ../../../man/em.1
1986-02-11 11:13:41 +00:00
cmp: all
ls em2_???? | sed 's:em2_\(.*\):cmp & $b24/em_\1:' | sh
ls em4_???? | sed 's:em4_\(.*\):cmp & $b44/em_\1:' | sh
1987-03-02 13:03:17 +00:00
-cmp em ../../../bin/em
-cmp em.1 ../../../man/em.1
1984-12-18 13:12:03 +00:00
clean:
1987-03-31 09:23:20 +00:00
-rm -f *.o *.old a.out em tmp.s $(INTS) compile
1984-12-18 13:12:03 +00:00
opr:
make pr | opr
pr:
1986-02-11 11:13:41 +00:00
@pr `pwd`/makefile
@pr `pwd`/deffile `pwd`/$P?