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