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