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


#
#	Make file for demand paging 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

TESTS =  init.o bio.o cp.o subs.o trap.o \
 	 dmp.o dmp0.o dmp1.o dmp2.o dmp3.o dmp4.o dmp5.o dmp6.o

SRCS =  init.x bio.c cp.c subs.c \
	 dmp.c dmp0.c dmp1.c dmp2.c dmp3.c dmp4.c dmp5.c \
	 dmp6.c

all     : demand

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

demand :	demand.st
	cp demand.st $$demand.st
	strip $$demand.st
	dd if=$$demand.st of=demand skip=1 bs=2080
	rm -f $$demand.st

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

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

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

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.