Cross Reference: Makefile.boot
xref: /src/sys/arch/landisk/stand/boot/Makefile.boot
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/landisk/stand/boot/
Makefile.boot revision 1.2
11.2Stsutsui# $NetBSD: Makefile.boot,v 1.2 2009/04/21 15:17:58 tsutsui Exp $
21.1Suwe
31.1SuwePROG?=		boot
41.1Suwe
51.1SuweNEWVERSWHAT?=	"Boot"
61.1SuweVERSIONFILE?=	${.CURDIR}/../version
71.1Suwe
81.1SuweSRCS=	boot.S boot2.c bootinfo.c conf.c devopen.c monitor.c
91.1SuweSRCS+=	delay.c getsecs.c
101.1SuweSRCS+=	bios.S
111.1SuweSRCS+=	biosdisk.c biosdisk_ll.c
121.1SuweSRCS+=	scifcons.c cons.c prf.c
131.1Suwe.if !make(depend)
141.1SuweSRCS+=	vers.c
151.1Suwe.endif
161.1Suwe
171.1SuweLDFLAGS+=	-e boot_start
181.1Suwe
191.1SuweCFLAGS=
201.2StsutsuiCPPFLAGS=	-DSUPPORT_FFSv1
211.2StsutsuiCPPFLAGS+=	-DSUPPORT_FFSv2
221.1SuweCPPFLAGS+=	-DSUPPORT_DOSFS
231.1SuweCPPFLAGS+=	-DDBMONITOR
241.1Suwe#CPPFLAGS+=	-DDEBUG
251.1Suwe
261.1SuweSAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
271.1SuweSAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
281.1Suwe
291.1Suwe.include "../Makefile.bootprogs"
301.1Suwe
311.1SuweLIBLIST=	${LIBSA} ${LIBZ} ${LIBKERN}
321.1Suwe
331.1SuweCLEANFILES+=	${PROG}.sym ${PROG}.map vers.c
341.1Suwe
351.1Suwevers.c: ${VERSIONFILE} ${SOURCES} ${.CURDIR}/../Makefile.boot
361.1Suwe	${HOST_SH} ${S}/conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
371.1Suwe
381.1Suwe${PROG}: ${OBJS} ${LIBLIST}
391.1Suwe	${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \
401.1Suwe		-Map ${PROG}.map -cref ${OBJS} ${LIBLIST}
411.1Suwe	${OBJCOPY} -O binary ${PROG}.sym ${PROG}
421.1Suwe
431.1Suwe.include <bsd.prog.mk>
44

Indexes created Mon Nov 10 17:20:41 GMT 2025