summaryrefslogtreecommitdiff
path: root/usr.sbin/ctm/mkCTM/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ctm/mkCTM/Makefile')
-rw-r--r--usr.sbin/ctm/mkCTM/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.sbin/ctm/mkCTM/Makefile b/usr.sbin/ctm/mkCTM/Makefile
new file mode 100644
index 00000000000..9e052a94b7e
--- /dev/null
+++ b/usr.sbin/ctm/mkCTM/Makefile
@@ -0,0 +1,24 @@
+
+PROG= mkctm
+SRCS= mkctm.c
+LDADD= -lmd
+CFLAGS= -g -Wall
+
+test: mkctm
+ rm -f tst.out*
+ time ./mkctm -v -v /3c/210src /a/r1/usr/src \
+ 2>a | md5 -p > /a/tst.out
+ ls -l /a/tst.out
+ gzip -9 -v /a/tst.out
+ ls -l /a/tst.out.gz
+ # cd /usr/src/release && ctm -c -v -v ${.CURDIR}/tst.out
+
+test1: mkctm
+ rm -f tst.out*
+ time ./mkctm -v -v /3c/210src /home/ncvs/src \
+ 2> b | md5 -p > /a/tst2.out
+ ls -l /a/tst2.out
+ gzip -9 -v /a/tst2.out
+ ls -l /a/tst2.out.gz
+
+.include <bsd.prog.mk>