xref: /freebsd/sbin/dump/Makefile (revision 71b3ac84e182cd9147daea5ae05566b9d1817af8)
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
20WARNS=	0
21SRCS=	itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c
22MAN=	dump.8
23MLINKS+=dump.8 rdump.8
24
25.if defined(MAKE_KERBEROS4) && !defined(NO_OPENSSL) && !defined(NOCRYPT)
26.PATH:	${.CURDIR}/../../crypto/kerberosIV/appl/bsd
27SRCS+=	krcmd.c kcmd.c rcmd_util.c
28DPADD=	${LIBKRB} ${LIBCRYPTO}
29LDADD+=	-lkrb -lcrypto
30CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
31	-I${.CURDIR}/../../kerberosIV/include \
32	-I${.CURDIR}/../../crypto/kerberosIV/include \
33	-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
34	-I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
35DISTRIBUTION=	krb4
36.endif
37
38.include <bsd.prog.mk>
39