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