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.3
11.3Stsutsui# $NetBSD: Makefile.boot,v 1.3 2009/04/22 17:13:36 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.3StsutsuiCPPFLAGS+=	-DSUPPORT_USTARFS
241.1SuweCPPFLAGS+=	-DDBMONITOR
251.1Suwe#CPPFLAGS+=	-DDEBUG
261.1Suwe
271.1SuweSAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
281.1SuweSAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
291.1Suwe
301.1Suwe.include "../Makefile.bootprogs"
311.1Suwe
321.1SuweLIBLIST=	${LIBSA} ${LIBZ} ${LIBKERN}
331.1Suwe
341.1SuweCLEANFILES+=	${PROG}.sym ${PROG}.map vers.c
351.1Suwe
361.1Suwevers.c: ${VERSIONFILE} ${SOURCES} ${.CURDIR}/../Makefile.boot
371.1Suwe	${HOST_SH} ${S}/conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
381.1Suwe
391.1Suwe${PROG}: ${OBJS} ${LIBLIST}
401.1Suwe	${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \
411.1Suwe		-Map ${PROG}.map -cref ${OBJS} ${LIBLIST}
421.1Suwe	${OBJCOPY} -O binary ${PROG}.sym ${PROG}
431.1Suwe
441.1Suwe.include <bsd.prog.mk>
45

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