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.8
11.8Ssekiya#	$NetBSD: Makefile,v 1.8 2003/11/13 12:42:18 sekiya Exp $
21.1Sthorpej
31.8SsekiyaPROG=	aoutboot
41.1Sthorpej
51.4Srafal# Don't strip the ECOFF'ed version on install -- strip gets confused by that,
61.4Srafal# and it's already stripped since it's a copy of the stripped ELF one.
71.4Srafal#
81.4SrafalSTRIPFLAG=
91.4Srafal
101.6SsekiyaSRCS=	start.S boot.c bootinfo.c conf.c devopen.c putchar.c getchar.c \
111.6Ssekiya	getopt.c disk.c
121.1Sthorpej
131.8Ssekiya${PROG}: ip2xboot ip3xboot
141.8Ssekiya	${ELF2ECOFF} ip2xboot aoutboot
151.3Sthorpej
161.3Sthorpej# XXX Temporary hack to install the ELF verision, too.
171.8SsekiyaFILES+=		ip2xboot ip3xboot
181.8SsekiyaCLEANFILES+=	ip2xboot ip3xboot
191.3Sthorpej
201.8SsekiyaCLEANFILES+=	boot.map
211.3Sthorpej
221.1Sthorpej.include "../Makefile.booters"
231.5Spooka
241.8Ssekiyaip3xboot: ${OBJS} ${LIBS}
251.8Ssekiya	${LD} -Map boot.map -x -Ttext ${LOAD_ADDRESS_IP32} ${LDBUG} \
261.8Ssekiya	    -e start -o ip3xboot ${OBJS} ${LIBS}
271.8Ssekiya	@${STRIP} -s ip3xboot
281.8Ssekiya	@${SIZE} ip3xboot
291.8Ssekiya
301.8Ssekiyaip2xboot: ${OBJS} ${LIBS}
311.8Ssekiya	${LD} -Map boot.map -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \
321.8Ssekiya	    -e start -o ip2xboot ${OBJS} ${LIBS}
331.8Ssekiya	@${STRIP} -s ip2xboot
341.8Ssekiya	@${SIZE} ip2xboot
35

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