xref: /freebsd/sbin/dump/Makefile (revision f499a396213810b9b6e9e8a2435e53f1380df8ad)
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
21BINGRP=	tty
22BINMODE=2555
23MAN8=	dump.8
24MLINKS+=dump.8 rdump.8
25
26.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
27.PATH:	${.CURDIR}/../../crypto/kerberosIV/appl/bsd
28SRCS+=	krcmd.c kcmd.c rcmd_util.c
29DPADD=	${LIBKRB} ${LIBCRYPTO}
30LDADD+=	-lkrb -lcrypto
31CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
32	-I${.CURDIR}/../../kerberosIV/include \
33	-I${.CURDIR}/../../crypto/kerberosIV/include \
34	-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
35	-I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
36DISTRIBUTION=	krb4
37.endif
38
39.include <bsd.prog.mk>
40