Home | History | Annotate | Line # | Download | only in arm-elf2aout
      1 #	$NetBSD: Makefile,v 1.1 2018/12/31 13:35:16 christos Exp $
      2 
      3 .include <bsd.hostinit.mk>
      4 
      5 HOSTPROGNAME=	${_TOOL_PREFIX}arm-elf2aout
      6 HOST_SRCDIR=	usr.bin/elf2aout
      7 HOST_CPPFLAGS=	-I${.CURDIR}
      8 
      9 .include <bsd.endian.mk>
     10 
     11 .if   ${TARGET_ENDIANNESS} == "1234"
     12 CPPFLAGS+= -DTARGET_BYTE_ORDER=LITTLE_ENDIAN
     13 .elif ${TARGET_ENDIANNESS} == "4321"
     14 CPPFLAGS+= -DTARGET_BYTE_ORDER=BIG_ENDIAN
     15 .endif
     16 
     17 .include "${.CURDIR}/../Makefile.host"
     18