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