Replaces commands/hexdump as well as commands/od. No Minix-specific changes were needed. test/testsh2.sh was modified to match the spacing used in the output of the NetBSD od command. Change-Id: I65ee1d30e8cdd546097462df7c38c2d38f3e891d
18 lines
406 B
Makefile
18 lines
406 B
Makefile
# $NetBSD: Makefile,v 1.14 2011/08/14 13:45:34 christos Exp $
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
PROG= hexdump
|
|
SRCS= conv.c display.c hexdump.c hexsyntax.c odsyntax.c parse.c
|
|
MAN= hexdump.1 od.1
|
|
|
|
.ifndef HOSTPROG
|
|
LDADD+=-lutil
|
|
DPADD+=${LIBUTIL}
|
|
|
|
LINKS= ${BINDIR}/hexdump ${BINDIR}/od
|
|
.endif
|
|
|
|
COPTS.conv.c += -Wno-format-nonliteral
|
|
COPTS.display.c += -Wno-format-nonliteral
|
|
|
|
.include <bsd.prog.mk>
|