Cross Reference: Makefile
xref: /src/tools/arm-elf2aout/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tools/arm-elf2aout/
11.1Schristos#	$NetBSD: Makefile,v 1.1 2018/12/31 13:35:16 christos Exp $
21.1Schristos
31.1Schristos.include <bsd.hostinit.mk>
41.1Schristos
51.1SchristosHOSTPROGNAME=	${_TOOL_PREFIX}arm-elf2aout
61.1SchristosHOST_SRCDIR=	usr.bin/elf2aout
71.1SchristosHOST_CPPFLAGS=	-I${.CURDIR}
81.1Schristos
91.1Schristos.include <bsd.endian.mk>
101.1Schristos
111.1Schristos.if   ${TARGET_ENDIANNESS} == "1234"
121.1SchristosCPPFLAGS+= -DTARGET_BYTE_ORDER=LITTLE_ENDIAN
131.1Schristos.elif ${TARGET_ENDIANNESS} == "4321"
141.1SchristosCPPFLAGS+= -DTARGET_BYTE_ORDER=BIG_ENDIAN
151.1Schristos.endif
161.1Schristos
171.1Schristos.include "${.CURDIR}/../Makefile.host"
18

Indexes created Tue Dec 23 18:09:29 GMT 2025