Home | History | Annotate | Line # | Download | only in bootblock
Makefile.inc revision 1.2.8.1
      1  1.2.8.1  nathanw #	$NetBSD: Makefile.inc,v 1.2.8.1 2002/01/08 00:22:59 nathanw Exp $
      2      1.1       is 
      3      1.1       is BINDIR=		/usr/mdec
      4      1.1       is 
      5  1.2.8.1  nathanw .include <bsd.own.mk>
      6  1.2.8.1  nathanw 
      7  1.2.8.1  nathanw .if ${OBJECT_FMT} == "ELF"
      8  1.2.8.1  nathanw ### Figure out what to use for elf2bb
      9  1.2.8.1  nathanw ELF2BBDIR=	${.CURDIR}/../elf2bb
     10  1.2.8.1  nathanw 
     11  1.2.8.1  nathanw .if exists(${ELF2BBDIR}/obj.${MACHINE})
     12  1.2.8.1  nathanw ELF2BBOBJDIR=	${ELF2BBDIR}/obj.${MACHINE}
     13  1.2.8.1  nathanw .elif exists(${ELF2BBDIR}/obj)
     14  1.2.8.1  nathanw ELF2BBOBJDIR=	${ELF2BBDIR}/obj
     15  1.2.8.1  nathanw .else
     16  1.2.8.1  nathanw ELF2BBOBJDIR=	${ELF2BBDIR}
     17  1.2.8.1  nathanw .endif
     18  1.2.8.1  nathanw RELOC2BB=	${ELF2BBOBJDIR}/elf2bb
     19  1.2.8.1  nathanw 
     20  1.2.8.1  nathanw ${RELOC2BB}:
     21  1.2.8.1  nathanw 	@cd ${ELF2BBDIR} && ${MAKE} depend && ${MAKE}
     22  1.2.8.1  nathanw 
     23  1.2.8.1  nathanw .else
     24      1.1       is ### Figure out what to use for aout2bb
     25      1.1       is AOUT2BBDIR=	${.CURDIR}/../aout2bb
     26      1.1       is 
     27      1.1       is .if exists(${AOUT2BBDIR}/obj.${MACHINE})
     28      1.1       is AOUT2BBOBJDIR=	${AOUT2BBDIR}/obj.${MACHINE}
     29      1.1       is .elif exists(${AOUT2BBDIR}/obj)
     30      1.1       is AOUT2BBOBJDIR=	${AOUT2BBDIR}/obj
     31      1.1       is .else
     32      1.1       is AOUT2BBOBJDIR=	${AOUT2BBDIR}
     33      1.1       is .endif
     34  1.2.8.1  nathanw RELOC2BB=	${AOUT2BBOBJDIR}/aout2bb
     35      1.1       is 
     36  1.2.8.1  nathanw ${RELOC2BB}:
     37      1.2    jhawk 	@cd ${AOUT2BBDIR} && ${MAKE} depend && ${MAKE}
     38  1.2.8.1  nathanw .endif
     39      1.1       is 
     40      1.1       is ### Figure out what to use for txlt
     41      1.1       is TXLTDIR=	${.CURDIR}/../txlt
     42      1.1       is 
     43      1.1       is .if exists(${TXLTDIR}/obj.${MACHINE})
     44      1.1       is TXLTOBJDIR=	${TXLTDIR}/obj.${MACHINE}
     45      1.1       is .elif exists(${TXLTDIR}/obj)
     46      1.1       is TXLTOBJDIR=	${TXLTDIR}/obj
     47      1.1       is .else
     48      1.1       is TXLTOBJDIR=	${TXLTDIR}
     49      1.1       is .endif
     50      1.1       is TXLT=		${TXLTOBJDIR}/txlt
     51      1.1       is 
     52      1.1       is ${TXLT}:
     53      1.2    jhawk 	@cd ${TXLTDIR} && ${MAKE} depend && ${MAKE}
     54