Home | History | Annotate | Line # | Download | only in csu
Makefile revision 1.27
      1  1.27     joerg #	$NetBSD: Makefile,v 1.27 2010/08/07 18:01:32 joerg Exp $
      2   1.6       cgd 
      3  1.13  christos .include <bsd.own.mk>
      4  1.13  christos 
      5  1.27     joerg CSU_MACHINE_ARCH?=	${MACHINE_ARCH}
      6  1.27     joerg 
      7  1.27     joerg .if ${CSU_MACHINE_ARCH} == "i386" || ${CSU_MACHINE_ARCH} == "x86_64"
      8  1.27     joerg ARCHDIR:=	${.PARSEDIR}/arch/${CSU_MACHINE_ARCH}
      9  1.27     joerg .PATH:	${ARCHDIR}
     10  1.27     joerg .  include "${ARCHDIR}/Makefile.inc"
     11  1.27     joerg 
     12  1.27     joerg .  include "${.PARSEDIR}/common/Makefile.inc"
     13  1.27     joerg .else
     14  1.27     joerg 
     15  1.27     joerg .  if exists(${CSU_MACHINE_ARCH}_elf/Makefile)
     16  1.25       mrg SUBDIR=	${CSU_MACHINE_ARCH}_elf
     17  1.27     joerg .  elif exists(${CSU_MACHINE_ARCH}/Makefile)
     18  1.27     joerg SUBDIR=	${CSU_MACHINE_ARCH}
     19  1.27     joerg .  elif exists(${MACHINE_CPU}_elf/Makefile)
     20  1.23     enami SUBDIR=	${MACHINE_CPU}_elf
     21  1.27     joerg .  elif exists(${MACHINE_CPU}/Makefile)
     22  1.22    itojun SUBDIR=	${MACHINE_CPU}
     23  1.27     joerg .  else
     24  1.22    itojun .BEGIN:
     25  1.23     enami 	@echo no SUBDIR for ${MACHINE_ARCH}_elf, ${MACHINE_ARCH} nor \
     26  1.23     enami 	    ${MACHINE_CPU}
     27  1.22    itojun 	@false
     28  1.27     joerg .  endif
     29  1.27     joerg 
     30  1.27     joerg .  include <bsd.subdir.mk>
     31  1.13  christos .endif
     32