head	1.4;
access;
symbols
	RELENG_5_0_0_RELEASE:1.3
	RELENG_5_0:1.3.0.2
	RELENG_5_0_BP:1.3;
locks; strict;
comment	@# @;


1.4
date	2002.12.30.10.01.26;	author obrien;	state dead;
branches;
next	1.3;

1.3
date	2002.07.11.18.06.09;	author bde;	state Exp;
branches;
next	1.2;

1.2
date	2002.05.25.13.43.16;	author ru;	state Exp;
branches;
next	1.1;

1.1
date	2002.04.22.04.08.01;	author jake;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Move elf2aout back to /usr/bin -- it is a general development tool, not
a sysadmin tool.
@
text
@# $FreeBSD: src/usr.sbin/elf2aout/Makefile,v 1.3 2002/07/11 18:06:09 bde Exp $

PROG=	elf2aout
CFLAGS+=-I${.CURDIR}/../crunch/crunchide
WARNS?=	5
NO_WERROR?=
NOMAN=

.include <bsd.prog.mk>
@


1.3
log
@Set NO_WERROR to ignore the following warning which is emitted on
alphas:
    .../elf2aout.c:130: warning: cast increases required alignment of
    target type
The warning is about casting ((char *)e + phoff) to a struct pointer,
where e is aligned but phoff might be garbage, so I think the warning
should be emitted on most machines (even on i386's, alignment checking
might be on) and the correct fix would involve validation phoff before
using it.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.2
log
@Make it work for a different endianness binary.
(This version is still limited to ELF64.)

Reviewed by:	jake
@
text
@d6 1
@


1.1
log
@Add a Makefile for this.
@
text
@d4 2
@

