xref: /freebsd/sbin/dump/Makefile (revision 0640d357f29fb1c0daaaffadd0416c5981413afd)
1#	@(#)Makefile	8.1 (Berkeley) 6/5/93
2#	$Id: Makefile,v 1.7 1998/08/06 21:40:13 markm Exp $
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
19SRCS=	itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c
20BINGRP=	tty
21BINMODE=2555
22MAN8=	dump.8
23MLINKS+=dump.8 rdump.8
24
25.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
26.PATH:	${.CURDIR}/../../crypto/kerberosIV/appl/bsd
27SRCS+=	krcmd.c kcmd.c rcmd_util.c
28LDADD+=	-lkrb -ldes
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=	krb
35.endif
36
37.include <bsd.prog.mk>
38