Makefile revision 1.1
11.1Ssimonb# $NetBSD: Makefile,v 1.1 1999/03/25 12:10:12 simonb Exp $ 21.1Ssimonb# @(#)Makefile 8.3 (Berkeley) 2/16/94 31.1Ssimonb 41.1SsimonbRELOC_BOOT=80710000 51.1Ssimonb 61.1SsimonbS= ${.CURDIR}/../../../.. 71.1Ssimonb 81.1SsimonbPROG= boot 91.1SsimonbBINDIR= / 101.1SsimonbSRCS= start.S boot.c # bootinfo.c callvec.c conf.c \ 111.1SsimonbNEWVERSWHAT="Secondary Boot" 121.1SsimonbCLEANFILES+=vers.c vers.o 131.1SsimonbCLEANFILES+=${PROG}.map 141.1Ssimonb.PATH: ${.CURDIR}/../lib 151.1Ssimonb 161.1Ssimonb# XXX These aren't build by libkern at the moment - fix libkern? 171.1SsimonbSRCS+= bcmp.c bzero.c 181.1Ssimonb.PATH: $S/lib/libkern 191.1Ssimonb 201.1SsimonbMKMAN= no 211.1SsimonbLDBUG= -T $S/arch/mips/conf/stand.ldscript 221.1Ssimonb 231.1Ssimonb### find out what to use for libsa 241.1SsimonbSA_AS= library 251.1Ssimonb.include "${S}/lib/libsa/Makefile.inc" 261.1SsimonbLIBSA= ${SALIB} 271.1SsimonbSAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no 281.1Ssimonb 291.1Ssimonb### find out what to use for libz 301.1SsimonbZ_AS= library 311.1Ssimonb.include "${S}/lib/libz/Makefile.inc" 321.1SsimonbLIBZ= ${ZLIB} 331.1Ssimonb 341.1Ssimonb### find out what to use for libkern 351.1SsimonbKERN_AS= library 361.1Ssimonb.include "${S}/lib/libkern/Makefile.inc" 371.1SsimonbLIBKERN= ${KERNLIB} 381.1Ssimonb 391.1SsimonbPMAX_STAND_DIR?= $S/arch/pmax/stand 401.1Ssimonb### find out what to use for libpmax 411.1SsimonbPMAXDIR= ${PMAX_STAND_DIR}/lib 421.1Ssimonb.include "${PMAXDIR}/Makefile.inc" 431.1SsimonbLIBPMAX= ${PMAXLIB} 441.1Ssimonb 451.1Ssimonb 461.1Ssimonb#LIBS= ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBPMAX} 471.1SsimonbLIBS= ${LIBPMAX} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBPMAX} 481.1Ssimonb 491.1Ssimonb${PROG}: ${OBJS} ${LIBS} 501.1Ssimonb sh ${.CURDIR}/../lib/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT} 511.1Ssimonb ${COMPILE.c} vers.c 521.1Ssimonb ld -Map ${PROG}.map -N -Ttext ${RELOC_BOOT} ${LDBUG} -e start \ 531.1Ssimonb ${OBJS} vers.o ${LIBS} -o ${PROG} 541.1Ssimonb 551.1Ssimonb.include <bsd.prog.mk> 56