Makefile revision 1.6
11.6Ssekiya# $NetBSD: Makefile,v 1.6 2003/11/11 06:30:39 sekiya Exp $ 21.1Sthorpej 31.1SthorpejPROG= boot 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.5Spooka${PROG}: ${PROG}.elf ${PROG}.ip32 141.4Srafal ${ELF2ECOFF} ${PROG}.elf ${PROG} 151.3Sthorpej @${SIZE} ${PROG} 161.3Sthorpej 171.3Sthorpej# XXX Temporary hack to install the ELF verision, too. 181.5SpookaFILES+= ${PROG}.elf ${PROG}.ip32 191.5SpookaCLEANFILES+= ${PROG}.elf ${PROG}.ip32 201.3Sthorpej 211.3SthorpejCLEANFILES+= ${PROG}.map 221.3Sthorpej 231.1Sthorpej.include "../Makefile.booters" 241.5Spooka 251.5Spooka${PROG}.ip32: ${OBJS} ${LIBS} 261.5Spooka ${LD} -Map ${PROG}.map -x -Ttext ${LOAD_ADDRESS_IP32} ${LDBUG} \ 271.5Spooka -e start -o ${PROG}.ip32 ${OBJS} ${LIBS} 281.5Spooka @${STRIP} -s ${PROG}.ip32 291.5Spooka @${SIZE} ${PROG}.ip32 301.3Sthorpej 311.3Sthorpej${PROG}.elf: ${OBJS} ${LIBS} 321.3Sthorpej ${LD} -Map ${PROG}.map -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \ 331.3Sthorpej -e start -o ${PROG}.elf ${OBJS} ${LIBS} 341.3Sthorpej @${STRIP} -s ${PROG}.elf 351.3Sthorpej @${SIZE} ${PROG}.elf 36