d226ef144b
options one would normally expect to set the realm, enable encryption, and whatnot, but this actually is able to contact the remote server, so at least it's a start. (As a bonus, the stripped static binary is unquestionably exportable.)
33 lines
805 B
Makefile
33 lines
805 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
|
|
# dump.h header file
|
|
# itime.c reads /etc/dumpdates
|
|
# main.c driver
|
|
# optr.c operator interface
|
|
# dumprmt.c handles remote tape via rmt(8)
|
|
# tape.c handles the mag tape and opening/closing
|
|
# traverse.c traverses the file system
|
|
# unctime.c undo ctime
|
|
#
|
|
# DEBUG use local directory to find ddate and dumpdates
|
|
# TDEBUG trace out the process forking
|
|
|
|
PROG= dump
|
|
LINKS= ${BINDIR}/dump ${BINDIR}/rdump
|
|
CFLAGS+=-DRDUMP
|
|
SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c
|
|
BINOWN= root
|
|
BINGRP= tty
|
|
BINMODE=2555
|
|
MAN8= dump.8
|
|
MLINKS+=dump.8 rdump.8
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
|
|
.PATH: ${.CURDIR}/../../usr.bin/rlogin
|
|
SRCS+= krcmd.c kcmd.c
|
|
LDADD+= -lkrb -ldes
|
|
CFLAGS+=-DKERBEROS
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|