summaryrefslogtreecommitdiffstats
path: root/sbin/dump/Makefile
blob: 8d12faa6d513f87d7fc84c1b32a0e8bc4d46444d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#	@(#)Makefile	8.1 (Berkeley) 6/5/93
#	$Id: Makefile,v 1.7 1998/08/06 21:40:13 markm Exp $

#	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
BINGRP=	tty
BINMODE=2555
MAN8=	dump.8
MLINKS+=dump.8 rdump.8

.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
.PATH:	${.CURDIR}/../../crypto/kerberosIV/appl/bsd
SRCS+=	krcmd.c kcmd.c rcmd_util.c
LDADD+=	-lkrb -ldes
CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
	-I${.CURDIR}/../../kerberosIV/include \
	-I${.CURDIR}/../../crypto/kerberosIV/include \
	-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
	-I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
DISTRIBUTION=	krb
.endif

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud