Home | History | Annotate | Line # | Download | only in boot
Makefile revision 1.5.2.2
      1 #	$NetBSD: Makefile,v 1.5.2.2 2004/09/18 14:39:54 skrll Exp $
      2 
      3 PROG=	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 #
      8 STRIPFLAG=
      9 
     10 SRCS=	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.
     17 FILES+=		ip2xboot ip3xboot
     18 CLEANFILES+=	ip2xboot ip3xboot
     19 
     20 CLEANFILES+=	boot.map
     21 
     22 .include "../Makefile.booters"
     23 
     24 ip3xboot: ${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 
     30 ip2xboot: ${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