1# @(#)Makefile 8.1 (Berkeley) 6/5/93 2# $FreeBSD$ 3 4PROG= restore 5LINKS= ${BINDIR}/restore ${BINDIR}/rrestore 6CFLAGS+=-DRRESTORE 7CFLAGS+=-I${.CURDIR}/../../libexec/rlogind 8SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \ 9 dumprmt.c 10BINGRP= tty 11BINMODE=2555 12MAN8= restore.8 13MLINKS+=restore.8 rrestore.8 14.PATH: ${.CURDIR}/../dump 15 16.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) 17.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd 18SRCS+= krcmd.c kcmd.c rcmd_util.c 19DPADD+= ${LIBKRB} ${LIBCRYPTO} 20LDADD+= -lkrb -lcrypto 21CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \ 22 -I${.CURDIR}/../../kerberosIV/include \ 23 -I${.CURDIR}/../../crypto/kerberosIV/include \ 24 -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \ 25 -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd 26DISTRIBUTION= krb4 27.endif 28 29.include <bsd.prog.mk> 30