File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / d / memman / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b


#
#	Make file memory management test
#
#

MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}

HDRS1 = prvreg.h psl.h	\
 	pte.h pcboffset.h \
 	const.h scboffset.h \
 	sptoffset.h trap.h \
 	definitions scblock.s evthandlers.s

LDFLAGS =  -T 0xC0000000


SRCS =  init.c bio.c cp.c error_hdl.c subs.c \
	 vtest.c ac_prot.c vbit_limit.c mubits.c pv_test.c ucbit.c

TESTS =  init.o trap.o bio.o cp.o error_hdl.o subs.o \
	 vtest.o ac_prot.o vbit_limit.o mubits.o ucbit.o pv_test.o



all :	mmtest 

mmtest.st :  $(TESTS)
	   ${LD} -N -x -o mmtest.st $(TESTS) 

mmtest :	mmtest.st
	cp mmtest.st $$mmtest.st
	strip $$mmtest.st
	dd if=$$mmtest.st of=mmtest skip=1 bs=2080
	rm -f $$mmtest.st
#	   2080 = 2*1024 + 32

install: all
	install -c mmtest ${DESTDIR}/d

init.o   : init.c $(HDRS1)
	   ${CC} -E init.c >init.s
	   ${AS} -o init.o init.s
	   rm init.s

clean:
	rm -f *.o mmtest.st mmtest

cleansrc:

	rm -f *.[csh] definitions makefile

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.