Makefile revision 1.1
11.1Scgd# $Id: Makefile,v 1.1 1995/02/13 23:08:05 cgd Exp $ 21.1Scgd# 31.1Scgd# BSD Boot blocks for the Alpha 41.1Scgd# 51.1Scgd# XXX should generate a primary boot block, too... 61.1Scgd 71.1ScgdDESTDIR= 81.1ScgdINCPATH=-I../../../.. -I. 91.1Scgd 101.1Scgd# Boot relocation address 111.1ScgdRELOC1= 20020000 121.1Scgd# Low memory test program relocation address 131.1Scgd#RELOC2= 20004000 141.1Scgd# High memory test program relocation address 151.1ScgdRELOC2= fffffc0000230000 161.1Scgd 171.1Scgd# Compiler and assembler flags used to generate boot blocks. 181.1Scgd# 191.1ScgdDEFS= -DSMALL -DSTANDALONE 201.1ScgdAFLAGS+=-DASSEMBLER ${INCPATH} 211.1ScgdCFLAGS= -mno-fp-regs ${INCPATH} ${DEFS} 221.1Scgd 231.1ScgdLIBS= libsa/libsa.a -lc 241.1ScgdSRCS= boot.c disk.c conf.c prom.c test.c 251.1Scgd 261.1Scgdall: boot 271.1Scgd 281.1Scgdlibsa/libsa.a:: 291.1Scgd cd libsa; make 301.1Scgd 311.1Scgd# This boot is supposed to be installed in this way: 321.1Scgd# cp boot <true_root_of_disk>/boot 331.1ScgdBOBJS= boot.o conf.o disk.o prom.o prom_disp.o prom_swpal.o vers.o 341.1Scgdboot: start.o ${BOBJS} ${LIBS} 351.1Scgd ${LD} -Ttext ${RELOC1} -N \ 361.1Scgd -e start -o ${.TARGET} start.o ${BOBJS} ${LIBS} 371.1Scgd 381.1Scgd# This boot is supposed to be installed in this way: 391.1Scgd# cp test_boot <true_root_of_disk>/test_boot 401.1Scgd# 411.1Scgd# It is used presumably in this way: 421.1Scgd# boot -fi "test_boot" dka300 431.1ScgdTOBJS= prom.o prom_disp.o prom_swpal.o test.o 441.1Scgdtest_boot: start.o ${TOBJS} ${LIBS} 451.1Scgd ${LD} -T ${RELOC2} -N -e start -o ${.TARGET} start.o ${TOBJS} ${LIBS} 461.1Scgd 471.1Scgdclean cleandir: 481.1Scgd rm -f .depend *.o *.exe *.i errs make.out core* vers.c 491.1Scgd rm -f a.out boot test_boot 501.1Scgd cd libsa && make cleandir 511.1Scgd 521.1Scgdinstall: 531.1Scgd install -c -o root -g wheel -m 444 boot ${DESTDIR}/ 541.1Scgd 551.1Scgddepend: ${SRCS} 561.1Scgd mkdep -p ${INCPATH} ${DEFS} ${SRCS} 571.1Scgd cd libsa && make depend 581.1Scgd 591.1Scgdnewvers: 601.1Scgd sh newvers.sh 611.1Scgd 621.1Scgdvers.c: newvers 63