# Copyright (c) 1987 The Regents of the University of California.
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# by the University of California, Berkeley. The name of the
# University may not be used to endorse or promote products derived
# from this software without specific prior written permission.
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
# @(#)Makefile 5.9 (Berkeley) %G%
# dumpitime.c reads /etc/dumpdates
# dumpoptr.c operator interface
# dumptape.c handles the mag tape and opening/closing
# dumptraverse.c traverses the file system
# DEBUG use local directory to find ddate and dumpdates
# TDEBUG trace out the process forking
PSRCS
= /usr
/include/protocols
/dumprestore.h dump.h dumpmain.c \
dumptraverse.c dumptape.c dumpoptr.c dumpitime.c unctime.c
SRCS
= dump.h dumpitime.c dumpmain.c dumpoptr.c dumprmt.c dumptape.c \
OBJS
= dumpitime.o dumpmain.o dumpoptr.o dumptape.o dumptraverse.o \
ROBJS
= dumpitime.o dumprmain.o dumpoptr.o dumprmt.o dumprtape.o \
${CC} -o
$@
${CFLAGS} ${OBJS}
${CC} -o
$@
${CFLAGS} ${ROBJS}
${CC} -c
-DRDUMP
${CFLAGS} dumpmain.c
-o dumprmain.o
${CC} -c
-DRDUMP
${CFLAGS} dumptape.c
-o dumprtape.o
rm -f
${ROBJS} ${OBJS} rdump dump core
rm -f
${MAN} tags .depend
install -s
-o root
-g tty
-m
6755 rdump
${DESTDIR}/sbin
/rdump
install -s
-o bin
-g tty
-m
2755 dump
${DESTDIR}/sbin
/dump
install -c
-o bin
-g bin
-m
444 ${MAN} ${DESTDIR}/usr
/man
/cat8