]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - bin/dd/Makefile
This commit was generated by cvs2svn to compensate for changes in r156283,
[FreeBSD/FreeBSD.git] / bin / dd / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 5/31/93
2 # $FreeBSD$
3
4 MAINTAINER=     green@FreeBSD.org
5
6 PROG=   dd
7 SRCS=   args.c conv.c conv_tab.c dd.c misc.c position.c
8
9 #
10 # Test the character conversion functions.  We have to be explicit about
11 # which LC_LANG we use because the definition of upper and lower case
12 # depends on it.
13 #
14
15 CLEANFILES=     gen
16
17 test: ${PROG} gen
18 .for conv in ascii ebcdic ibm oldascii oldebcdic oldibm \
19     pareven parnone parodd parset \
20     swab lcase ucase
21         @${ECHO} testing conv=${conv}
22         @./gen | \
23             LC_ALL=en_US.US-ASCII ./dd conv=${conv} 2>/dev/null | \
24             LC_ALL=en_US.US-ASCII hexdump -C | \
25             diff -I FreeBSD - ${.CURDIR}/ref.${conv}
26 .endfor
27         @rm -f gen
28
29 .include <bsd.prog.mk>