Deleted Added
full compact
Makefile (82556) Makefile (87325)
1# @(#)Makefile 8.1 (Berkeley) 6/5/93
1# @(#)Makefile 8.1 (Berkeley) 6/5/93
2# $FreeBSD: head/sbin/restore/Makefile 82556 2001-08-30 09:18:55Z ru $
2# $FreeBSD: head/sbin/restore/Makefile 87325 2001-12-04 02:19:58Z obrien $
3
4PROG= restore
5LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
6CFLAGS+=-DRRESTORE
7CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
3
4PROG= restore
5LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
6CFLAGS+=-DRRESTORE
7CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
8WARNS= 0
8SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
9 dumprmt.c
10MAN= restore.8
11MLINKS+=restore.8 rrestore.8
12.PATH: ${.CURDIR}/../dump
13
14.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
15.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
16SRCS+= krcmd.c kcmd.c rcmd_util.c
17DPADD+= ${LIBKRB} ${LIBCRYPTO}
18LDADD+= -lkrb -lcrypto
19CFLAGS+=-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
24DISTRIBUTION= krb4
25.endif
26
27.include <bsd.prog.mk>
9SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
10 dumprmt.c
11MAN= restore.8
12MLINKS+=restore.8 rrestore.8
13.PATH: ${.CURDIR}/../dump
14
15.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
16.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
17SRCS+= krcmd.c kcmd.c rcmd_util.c
18DPADD+= ${LIBKRB} ${LIBCRYPTO}
19LDADD+= -lkrb -lcrypto
20CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
21 -I${.CURDIR}/../../kerberosIV/include \
22 -I${.CURDIR}/../../crypto/kerberosIV/include \
23 -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
24 -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
25DISTRIBUTION= krb4
26.endif
27
28.include <bsd.prog.mk>