NetBSD/tools/arm-elf2aout/Makefile

18 lines
425 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/12/31 13:35:16 christos Exp $
.include <bsd.hostinit.mk>
HOSTPROGNAME= ${_TOOL_PREFIX}arm-elf2aout
HOST_SRCDIR= usr.bin/elf2aout
HOST_CPPFLAGS= -I${.CURDIR}
.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234"
CPPFLAGS+= -DTARGET_BYTE_ORDER=LITTLE_ENDIAN
.elif ${TARGET_ENDIANNESS} == "4321"
CPPFLAGS+= -DTARGET_BYTE_ORDER=BIG_ENDIAN
.endif
.include "${.CURDIR}/../Makefile.host"