]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/restore/Makefile
Make this part of the 'krb' distribution if it is being built as the
[FreeBSD/FreeBSD.git] / sbin / restore / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/5/93
2
3 PROG=   restore
4 LINKS=  ${BINDIR}/restore ${BINDIR}/rrestore
5 CFLAGS+=-DRRESTORE
6 SRCS=   main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
7         dumprmt.c
8 BINOWN= root
9 BINGRP= tty
10 BINMODE=2555
11 MAN8=   restore.8
12 MLINKS+=restore.8 rrestore.8
13 .PATH:  ${.CURDIR}/../dump
14
15 .if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
16 .PATH:  ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
17 SRCS+=  krcmd.c kcmd.c rcmd_util.c
18 LDADD+= -lkrb -ldes
19 CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
20         -I${.CURDIR}/../../kerberosIV/include \
21         -I${.CURDIR}/../../crypto/kerberosIV/include \
22         -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
23         -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
24 DISTRIBUTION=   krb
25 .endif
26
27 .include <bsd.prog.mk>