1# $NetBSD: Makefile,v 1.8 2003/11/13 12:42:18 sekiya Exp $ 2 3PROG= aoutboot 4 5# Don't strip the ECOFF'ed version on install -- strip gets confused by that, 6# and it's already stripped since it's a copy of the stripped ELF one. 7# 8STRIPFLAG= 9 10SRCS= start.S boot.c bootinfo.c conf.c devopen.c putchar.c getchar.c \ 11 getopt.c disk.c 12 13${PROG}: ip2xboot ip3xboot 14 ${ELF2ECOFF} ip2xboot aoutboot 15 16# XXX Temporary hack to install the ELF verision, too. 17FILES+= ip2xboot ip3xboot 18CLEANFILES+= ip2xboot ip3xboot 19 20CLEANFILES+= boot.map 21 22.include "../Makefile.booters" 23 24ip3xboot: ${OBJS} ${LIBS} 25 ${LD} -Map boot.map -x -Ttext ${LOAD_ADDRESS_IP32} ${LDBUG} \ 26 -e start -o ip3xboot ${OBJS} ${LIBS} 27 @${STRIP} -s ip3xboot 28 @${SIZE} ip3xboot 29 30ip2xboot: ${OBJS} ${LIBS} 31 ${LD} -Map boot.map -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \ 32 -e start -o ip2xboot ${OBJS} ${LIBS} 33 @${STRIP} -s ip2xboot 34 @${SIZE} ip2xboot 35