Cross Reference: Makefile
xref: /src/sys/arch/sgimips/stand/boot/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/sgimips/stand/boot/
Makefile revision 1.3
11.3Sthorpej#	$NetBSD: Makefile,v 1.3 2001/11/22 00:58:08 thorpej Exp $
21.1Sthorpej
31.1SthorpejPROG=	boot
41.1Sthorpej
51.2SthorpejSRCS=	start.S boot.c bootinfo.c conf.c devopen.c putchar.c getchar.c disk.c
61.1Sthorpej
71.3Sthorpej${PROG}: ${PROG}.elf
81.3Sthorpej	${OBJCOPY} -O ecoff-bigmips ${PROG}.elf ${PROG}
91.3Sthorpej	@${SIZE} ${PROG}
101.3Sthorpej
111.3Sthorpej# XXX Temporary hack to install the ELF verision, too.
121.3SthorpejFILES+=		${PROG}.elf
131.3SthorpejCLEANFILES+=	${PROG}.elf
141.3Sthorpej
151.3SthorpejCLEANFILES+=	${PROG}.map
161.3Sthorpej
171.1Sthorpej.include "../Makefile.booters"
181.3Sthorpej
191.3Sthorpej${PROG}.elf: ${OBJS} ${LIBS}
201.3Sthorpej	${LD} -Map ${PROG}.map -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \
211.3Sthorpej	    -e start -o ${PROG}.elf ${OBJS} ${LIBS}
221.3Sthorpej	@${STRIP} -s ${PROG}.elf
231.3Sthorpej	@${SIZE} ${PROG}.elf
24

Indexes created Mon Dec 29 14:09:30 GMT 2025