Annotation of sys/arch/mvme88k/stand/tftpboot/Makefile, Revision 1.1
1.1 ! nbrk 1: # $OpenBSD: Makefile,v 1.3 2006/05/16 22:51:30 miod Exp $
! 2:
! 3: SIZE?= size
! 4: STRIP?= strip
! 5:
! 6: S= ${.CURDIR}/../../../..
! 7: DEFS=
! 8: #DEFS+=-DNETIF_DEBUG
! 9: INCPATH=-I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libbug \
! 10: -I${S} -I${S}/lib/libsa
! 11: CFLAGS+=${DEFS} ${INCPATH} ${COPTS}
! 12: CLEANFILES+=tftpboot tftpboot.bin
! 13:
! 14: .include "${S}/arch/mvme88k/stand/bugcrt/Makefile.inc"
! 15: .include "${S}/arch/mvme88k/stand/libbug/Makefile.inc"
! 16: .include "${S}/arch/mvme88k/stand/libsa/Makefile.inc"
! 17: .include "${S}/arch/mvme88k/stand/libz/Makefile.inc"
! 18:
! 19: SRCS= boot.c conf.c version.c tftpfs.c netdev.c
! 20: OBJS= ${SRCS:S/.c/.o/g}
! 21: LIBS= ${LIBSA} ${LIBBUG} ${LIBZ}
! 22: LDFLAGS+= -s -N -T ${STAGE2_RELOC}
! 23:
! 24: all: tftpboot.bin
! 25:
! 26: tftpboot: ${OBJS} ${SINGLE} ${LIBS}
! 27: ${LD} ${LDFLAGS} -o $@ \
! 28: ${SINGLE} ${OBJS} ${LIBS} `cc -print-libgcc-file-name`
! 29: # @${SIZE} $@
! 30:
! 31: tftpboot.bin: tftpboot
! 32: ${STRIP} tftpboot
! 33: dd ibs=32 skip=1 if=tftpboot of=$@
! 34: # dd ibs=38 skip=1 if=tftpboot of=$@
! 35:
! 36: install:
! 37: ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
! 38: tftpboot.bin ${DESTDIR}${MDEC_DIR}/tftpboot
! 39:
! 40: .include <bsd.prog.mk>
CVSweb