Makefile revision 1.9
11.9Ssekiya# $NetBSD: Makefile,v 1.9 2005/03/01 00:20:09 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.9Ssekiya ${OBJCOPY} --impure -O ecoff-bigmips \ 151.9Ssekiya -R .pdr -R .mdebug.abi32 -R .comment -R .ident \ 161.9Ssekiya ip2xboot aoutboot 171.3Sthorpej 181.9Ssekiya# XXX Temporary hack to install the ELF version, too. 191.8SsekiyaFILES+= ip2xboot ip3xboot 201.8SsekiyaCLEANFILES+= ip2xboot ip3xboot 211.3Sthorpej 221.8SsekiyaCLEANFILES+= boot.map 231.3Sthorpej 241.1Sthorpej.include "../Makefile.booters" 251.5Spooka 261.8Ssekiyaip3xboot: ${OBJS} ${LIBS} 271.8Ssekiya ${LD} -Map boot.map -x -Ttext ${LOAD_ADDRESS_IP32} ${LDBUG} \ 281.8Ssekiya -e start -o ip3xboot ${OBJS} ${LIBS} 291.8Ssekiya @${STRIP} -s ip3xboot 301.8Ssekiya @${SIZE} ip3xboot 311.8Ssekiya 321.8Ssekiyaip2xboot: ${OBJS} ${LIBS} 331.8Ssekiya ${LD} -Map boot.map -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \ 341.8Ssekiya -e start -o ip2xboot ${OBJS} ${LIBS} 351.8Ssekiya @${STRIP} -s ip2xboot 361.8Ssekiya @${SIZE} ip2xboot 37