1 # $NetBSD: Makefile,v 1.4 2019/01/27 02:08:50 pgoyette Exp $ 2 3 .include <bsd.hostinit.mk> 4 5 .include <bsd.hostinit.mk> 6 7 HOSTPROGNAME= ${_TOOL_PREFIX}m68k-elf2aout 8 HOST_SRCDIR= usr.bin/elf2aout 9 HOST_CPPFLAGS= -I${.CURDIR} 10 11 .include <bsd.endian.mk> 12 13 .if ${TARGET_ENDIANNESS} == "1234" 14 CPPFLAGS+= -DTARGET_BYTE_ORDER=LITTLE_ENDIAN 15 .elif ${TARGET_ENDIANNESS} == "4321" 16 CPPFLAGS+= -DTARGET_BYTE_ORDER=BIG_ENDIAN 17 .endif 18 19 .include "${.CURDIR}/../Makefile.host" 20