1# @(#)Makefile 8.1 (Berkeley) 6/5/93 2# $FreeBSD$ 3 4# dump.h header file 5# itime.c reads /etc/dumpdates 6# main.c driver 7# optr.c operator interface 8# dumprmt.c handles remote tape via rmt(8) 9# tape.c handles the mag tape and opening/closing 10# traverse.c traverses the file system 11# unctime.c undo ctime 12# 13# DEBUG use local directory to find ddate and dumpdates 14# TDEBUG trace out the process forking 15 16PROG= dump 17LINKS= ${BINDIR}/dump ${BINDIR}/rdump 18CFLAGS+=-DRDUMP 19CFLAGS+=-I${.CURDIR}/../../libexec/rlogind 20SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c 21MAN= dump.8 22MLINKS+=dump.8 rdump.8 23 24.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) 25.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd 26SRCS+= krcmd.c kcmd.c rcmd_util.c 27DPADD= ${LIBKRB} ${LIBCRYPTO} 28LDADD+= -lkrb -lcrypto 29CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \ 30 -I${.CURDIR}/../../kerberosIV/include \ 31 -I${.CURDIR}/../../crypto/kerberosIV/include \ 32 -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \ 33 -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd 34DISTRIBUTION= krb4 35.endif 36 37.include <bsd.prog.mk> 38