blob: fdf1f7b84837ef6e5a724036621ff5502461265c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# $NetBSD: Makefile,v 1.5 2019/01/27 05:16:38 dholland Exp $
.include <bsd.hostinit.mk>
HOSTPROGNAME= ${_TOOL_PREFIX}m68k-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"
|