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.1
11.1Suwe# $NetBSD: Makefile.boot,v 1.1 2006/09/01 21:26:18 uwe 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.1SuweCPPFLAGS=	-DSUPPORT_UFS
211.1SuweCPPFLAGS+=	-DSUPPORT_DOSFS
221.1SuweCPPFLAGS+=	-DDBMONITOR
231.1Suwe#CPPFLAGS+=	-DDEBUG
241.1Suwe
251.1SuweSAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
261.1SuweSAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
271.1Suwe
281.1Suwe.include "../Makefile.bootprogs"
291.1Suwe
301.1SuweLIBLIST=	${LIBSA} ${LIBZ} ${LIBKERN}
311.1Suwe
321.1SuweCLEANFILES+=	${PROG}.sym ${PROG}.map vers.c
331.1Suwe
341.1Suwevers.c: ${VERSIONFILE} ${SOURCES} ${.CURDIR}/../Makefile.boot
351.1Suwe	${HOST_SH} ${S}/conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
361.1Suwe
371.1Suwe${PROG}: ${OBJS} ${LIBLIST}
381.1Suwe	${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \
391.1Suwe		-Map ${PROG}.map -cref ${OBJS} ${LIBLIST}
401.1Suwe	${OBJCOPY} -O binary ${PROG}.sym ${PROG}
411.1Suwe
421.1Suwe.include <bsd.prog.mk>
43

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