minix/usr.sbin/rdate/Makefile
Thomas Cort 8357e3a442 Importing usr.sbin/rdate
Import the NetBSD rdate command and remove the Minix rdate command.
The default behaviour for both is the same. The NetBSD version adds
options to just display the time, adjust the time using adjtime(),
and set the time without printing the time.

Porting Notes:
 - Compiles cleanly out of the box without any warnings
 - Path changes from /usr/bin/rdate to /usr/sbin/rdate
 - checked pkgsrc for any usages of rdate (none found)
 - checked src for any usages of rdate (none found)

Testing:
 - all command line options work (tested with time.nist.gov server)
 - Native and cross build OK

Change-Id: I613449763891a896527f337999c006a970c3924c
2013-04-08 08:37:04 +02:00

9 lines
143 B
Makefile

# $NetBSD: Makefile,v 1.7 2009/04/22 15:23:07 lukem Exp $
PROG= rdate
DPADD+= ${LIBUTIL}
LDADD+= -lutil
MAN= rdate.8
.include <bsd.prog.mk>