Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/stand/bootblock This is a copy of Makefile.inc
details: https://anonhg.NetBSD.org/src/rev/e6686968153b
branches: trunk
changeset: 521220:e6686968153b
user: aymeric <aymeric%NetBSD.org@localhost>
date: Sat Jan 26 15:01:17 2002 +0000
description:
This is a copy of Makefile.inc
Makefile.inc is going to disappear because we don't want txlt, aout2bb and
elf2bb directories to include this stuff; it is only required by bootblocks.
diffstat:
sys/arch/amiga/stand/bootblock/Makefile.booters | 53 +++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
diffs (57 lines):
diff -r 88007db20599 -r e6686968153b sys/arch/amiga/stand/bootblock/Makefile.booters
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/amiga/stand/bootblock/Makefile.booters Sat Jan 26 15:01:17 2002 +0000
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile.booters,v 1.1 2002/01/26 15:01:17 aymeric Exp $
+
+BINDIR= /usr/mdec
+
+.include <bsd.own.mk>
+
+.if ${OBJECT_FMT} == "ELF"
+### Figure out what to use for elf2bb
+ELF2BBDIR= ${.CURDIR}/../elf2bb
+
+.if exists(${ELF2BBDIR}/obj.${MACHINE})
+ELF2BBOBJDIR= ${ELF2BBDIR}/obj.${MACHINE}
+.elif exists(${ELF2BBDIR}/obj)
+ELF2BBOBJDIR= ${ELF2BBDIR}/obj
+.else
+ELF2BBOBJDIR= ${ELF2BBDIR}
+.endif
+RELOC2BB= ${ELF2BBOBJDIR}/elf2bb
+
+${RELOC2BB}:
+ @cd ${ELF2BBDIR} && ${MAKE} depend && ${MAKE}
+
+.else
+### Figure out what to use for aout2bb
+AOUT2BBDIR= ${.CURDIR}/../aout2bb
+
+.if exists(${AOUT2BBDIR}/obj.${MACHINE})
+AOUT2BBOBJDIR= ${AOUT2BBDIR}/obj.${MACHINE}
+.elif exists(${AOUT2BBDIR}/obj)
+AOUT2BBOBJDIR= ${AOUT2BBDIR}/obj
+.else
+AOUT2BBOBJDIR= ${AOUT2BBDIR}
+.endif
+RELOC2BB= ${AOUT2BBOBJDIR}/aout2bb
+
+${RELOC2BB}:
+ @cd ${AOUT2BBDIR} && ${MAKE} depend && ${MAKE}
+.endif
+
+### Figure out what to use for txlt
+TXLTDIR= ${.CURDIR}/../txlt
+
+.if exists(${TXLTDIR}/obj.${MACHINE})
+TXLTOBJDIR= ${TXLTDIR}/obj.${MACHINE}
+.elif exists(${TXLTDIR}/obj)
+TXLTOBJDIR= ${TXLTDIR}/obj
+.else
+TXLTOBJDIR= ${TXLTDIR}
+.endif
+TXLT= ${TXLTOBJDIR}/txlt
+
+${TXLT}:
+ @cd ${TXLTDIR} && ${MAKE} depend && ${MAKE}
Home |
Main Index |
Thread Index |
Old Index