|
|
Power 6/32 Unix version 1.21
#
# HDRS included files
#
# SRCS source files
#
DESTDIR=
AS=/bin/as
CC=/bin/cc
LCC=/bin/cc
LD=/bin/ld
INCLDIR=${DESTDIR}/usr/include
LIBDIR=${DESTDIR}/lib
ULIBDIR=${DESTDIR}/usr/lib
HDRS1 = prvreg.h psl.h pte.h pcboffset.h const.h scboffset.h \
sptoffset.h trap.h
LD_FLG = -T 0
.SUFFIXES:
.SUFFIXES: .x .s .o .c .lst
.x.o:
cat $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp | $(AS) -o $*.o
.s.o:
cat INCLUDE $*.s | $(AS) -o $*.o
.c.o:
$(CC) -c $*.c
SYS = init.o sys.o buser.o bio.o cp.o
PROC0 = tape.o tm_ex.o vioc.o v_ex.o vddc.o vddc_ex.o
LISTS = init.lst sys.lst buser.lst bio.lst cp.lst tape.lst tm_ex.lst vioc.lst v_ex.lst vddc.lst vddc_ex.lst
TESTS = $(SYS) $(PROC0)
all : pits
pits.st : $(TESTS)
ld $(LD_FLG) -N -x -o pits.st $(TESTS)
pits : pits.st
cp pits.st $$pits.st
dd if=$$pits.st of=pits skip=1 bs=2080
rm -rf $$pits.st
clean:
rm -f *.o *.lst *.sf *.sp *.st pits
cleansrc:
rm -f *.[csh] *.def init.x definitions INCLUDE makefile
install: all
install -c pits $(DESTDIR)/d/pits
#End of makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.