Annotation of src/rescue/Makefile, Revision 1.11
1.11 ! tron 1: # $NetBSD: Makefile,v 1.10 2004/08/19 23:12:15 christos Exp $
1.1 lukem 2:
3: .include <bsd.own.mk>
4: .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5:
6: WARNS= 1
7: DBG= -Os
8:
1.8 lukem 9: RESCUEDIR= /rescue
1.1 lukem 10: CRUNCHBIN= rescue
1.8 lukem 11: CRUNCHENV= RESCUEDIR=${RESCUEDIR}
1.6 lukem 12: SMALLPROG= 0
1.1 lukem 13: LISTS= ${.CURDIR}/list
14: TARGETDIR= ${DESTDIR}/rescue
15: PARSELISTENV+= TARGETDIR=${TARGETDIR:Q}
16:
17:
18: .for f in bim edlabel fdisk ldconfig pdisk
19: PROG_${f}!= cd ${NETBSDSRCDIR}/sbin/${f} && ${MAKE} -V PROG
20: .if (${PROG_${f}} != "")
21: LISTS+= ${.CURDIR}/list.${f}
22: .endif
23: .endfor
24:
25: .if (${OBJECT_FMT} == "ELF")
26: PARSELISTENV+= LDD_CMD=ldd_elf
27: .else
28: PARSELISTENV+= LDD_CMD=ldd_aout
29: .endif
1.8 lukem 30:
1.9 tron 31: CLEANFILES+= rescue.unstripped
1.1 lukem 32:
33: .include "${DISTRIBDIR}/common/Makefile.crunch"
34:
35: realall: ${CRUNCHBIN}
36:
37: install: ${CRUNCHBIN}
38: ${PARSELIST} -v mode=install ${LISTS} | ${MAKE} -f - install
39:
40: .include <bsd.prog.mk>
CVSweb <webmaster@jp.NetBSD.org>