Annotation of sys/arch/hp300/stand/uboot/Makefile, Revision 1.1.1.1
1.1 nbrk 1: # $OpenBSD: Makefile,v 1.5 2006/08/17 06:31:10 miod Exp $
2:
3: PROG= uboot
4:
5: NOMAN=
6:
7: .include "${.CURDIR}/../Makefile.inc"
8:
9: CFLAGS+=-I${.CURDIR}/../include \
10: -I${.CURDIR}/../libsa -I${.CURDIR}/../.. -I${.CURDIR}/../../.. \
11: -I${.CURDIR}/../../../..
12:
13: AFLAGS= -x assembler-with-cpp -traditional-cpp -I${.CURDIR}/../include \
14: -I${.CURDIR}/../libsa -I${.CURDIR}/../.. -I${.CURDIR}/../../.. \
15: -I${.CURDIR}/../../../..
16:
17: SRCS= srt0.S uboot.c tgets.c netio.c clock.c conf.c prf.c
18:
19: LIBS= ${LIBCOMMON} ${LIBSAZ} ${LIBZ} ${LIBKERN}
20:
21: CLEANFILES+= uboot.lif
22:
23: uboot.lif: uboot
24: ${MKBOOT_PROG} uboot $@
25:
26: uboot: ${OBJS} ${LIBS}
27: ${LD} -N -T ${RELOC} -e begin ${OBJS} ${LIBS} \
28: `${CC} -print-libgcc-file-name` -o $@
29: @size $@
30: @echo $@ total size should not exceed 1044480 bytes
31:
32: install: uboot.lif ${MKBOOT_PROG}
33: ${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} \
34: ${DESTDIR}/usr/mdec/rbootd
35: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 uboot.lif \
36: ${DESTDIR}/usr/mdec
37: rm -f ${DESTDIR}/usr/mdec/hdboot
38: ln ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/usr/mdec/hdboot
39: rm -f ${DESTDIR}/usr/mdec/boothd
40: ln ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/usr/mdec/boothd
41: rm -f ${DESTDIR}/usr/mdec/sdboot
42: ln ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/usr/mdec/sdboot
43: rm -f ${DESTDIR}/usr/mdec/bootsd
44: ln ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/usr/mdec/bootsd
45: rm -f ${DESTDIR}/usr/mdec/ctboot
46: ln ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/usr/mdec/ctboot
47: rm -f ${DESTDIR}/usr/mdec/bootct
48: ln ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/usr/mdec/bootct
49: rm -f ${DESTDIR}/usr/mdec/rbootd/SYS_UBOOT
50: ln ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/usr/mdec/rbootd/SYS_UBOOT
51:
52: .include <bsd.prog.mk>
CVSweb