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