|
|
1.1 ! root 1: ! 2: # ! 3: # Make file memory management test ! 4: # ! 5: # ! 6: ! 7: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR} ! 8: ! 9: HDRS1 = prvreg.h psl.h \ ! 10: pte.h pcboffset.h \ ! 11: const.h scboffset.h \ ! 12: sptoffset.h trap.h \ ! 13: definitions scblock.s evthandlers.s ! 14: ! 15: LDFLAGS = -T 0xC0000000 ! 16: ! 17: ! 18: SRCS = init.c bio.c cp.c error_hdl.c subs.c \ ! 19: vtest.c ac_prot.c vbit_limit.c mubits.c pv_test.c ucbit.c ! 20: ! 21: TESTS = init.o trap.o bio.o cp.o error_hdl.o subs.o \ ! 22: vtest.o ac_prot.o vbit_limit.o mubits.o ucbit.o pv_test.o ! 23: ! 24: ! 25: ! 26: all : mmtest ! 27: ! 28: mmtest.st : $(TESTS) ! 29: ${LD} -N -x -o mmtest.st $(TESTS) ! 30: ! 31: mmtest : mmtest.st ! 32: cp mmtest.st $$mmtest.st ! 33: strip $$mmtest.st ! 34: dd if=$$mmtest.st of=mmtest skip=1 bs=2080 ! 35: rm -f $$mmtest.st ! 36: # 2080 = 2*1024 + 32 ! 37: ! 38: install: all ! 39: install -c mmtest ${DESTDIR}/d ! 40: ! 41: init.o : init.c $(HDRS1) ! 42: ${CC} -E init.c >init.s ! 43: ${AS} -o init.o init.s ! 44: rm init.s ! 45: ! 46: clean: ! 47: rm -f *.o mmtest.st mmtest ! 48: ! 49: cleansrc: ! 50: ! 51: rm -f *.[csh] definitions makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.