summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-03-31 17:51:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-03-31 17:51:25 +0000
commitd4cb3121161d7721cc1383fb6dd937d46509afea (patch)
treeb710b64fc65413df76e8b640ddb68716d364ba64 /distrib
parent8efc9916e0b040c19353f371e42c964916944c19 (diff)
Make a -DSMALL version of date(1) for the media
Diffstat (limited to 'distrib')
-rw-r--r--distrib/special/Makefile4
-rw-r--r--distrib/special/date/Makefile9
2 files changed, 11 insertions, 2 deletions
diff --git a/distrib/special/Makefile b/distrib/special/Makefile
index 88de4f011b7..c7707951d11 100644
--- a/distrib/special/Makefile
+++ b/distrib/special/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.21 2009/10/28 05:17:55 deraadt Exp $
+# $OpenBSD: Makefile,v 1.22 2010/03/31 17:51:24 deraadt Exp $
SUBDIR= libstubs \
- ccdconfig dd dhclient dmesg ed ftp grep gzip ifconfig init \
+ ccdconfig date dd dhclient dmesg ed ftp grep gzip ifconfig init \
kbd less more mt newfs pppd restore rsh sha256 sysctl
install:
diff --git a/distrib/special/date/Makefile b/distrib/special/date/Makefile
new file mode 100644
index 00000000000..c8ec3651357
--- /dev/null
+++ b/distrib/special/date/Makefile
@@ -0,0 +1,9 @@
+# $OpenBSD: Makefile,v 1.1 2010/03/31 17:51:24 deraadt Exp $
+
+PROG= date
+
+SRCS= date.c
+CFLAGS+=-DSMALL
+.PATH: ${.CURDIR}/../../../bin/date
+
+.include <bsd.prog.mk>