minix/usr.sbin/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

63 lines
972 B
Makefile

# $NetBSD: Makefile,v 1.266 2012/08/08 14:13:46 christos Exp $
# from: @(#)Makefile 5.20 (Berkeley) 6/12/93
.include <bsd.own.mk>
SUBDIR= \
chroot \
installboot \
mtree \
pwd_mkdb postinstall \
rdate user \
vipw \
zic
# LSC MINIX Specific
SUBDIR+= mkfs.mfs \
mkproto
.if !defined(__MINIX)
.if ${MKMAKEMANDB} != "no"
SUBDIR+= makemandb
.endif
.endif # !defined(__MINIX)
.if (${MKYP} != "no")
SUBDIR+= rpc.yppasswdd ypbind yppoll ypserv ypset
.endif
.if (${MKRUMP} != "no")
SUBDIR+= puffs
.endif
.if ${TOOLCHAIN_MISSING} != "no"
SUBDIR+= mdsetimage
.endif
.if (${MKINET6} != "no")
SUBDIR+=faithd ifmcstat ndp rip6query rtsold
.endif
.if (${USE_INET6} != "no")
SUBDIR+=mld6query route6d rtadvd traceroute6
.endif
.if !defined(__MINIX)
# ATM PVC
SUBDIR+=pvcsif pvctxctl
.endif
.if (${MKCRYPTO} != "no")
SUBDIR+= racoon racoonctl
.endif
# NPF
.if (${MKNPF} != "no")
SUBDIR+=npf
.endif
# PF
.if (${MKPF} != "no")
SUBDIR+=pf
.endif
.include <bsd.subdir.mk>