1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile 5.12 (Berkeley) 3/7/91
|
|
|
|
# $Id: Makefile,v 1.8 1993/08/01 05:38:14 mycroft Exp $
|
1993-03-22 11:04:00 +03:00
|
|
|
#
|
1993-03-21 12:45:37 +03:00
|
|
|
# dump.h header file
|
|
|
|
# dumpitime.c reads /etc/dumpdates
|
|
|
|
# dumpmain.c driver
|
|
|
|
# dumpoptr.c operator interface
|
|
|
|
# dumptape.c handles the mag tape and opening/closing
|
|
|
|
# dumptraverse.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
|
|
|
|
SRCS= dumpitime.c dumpmain.c dumpoptr.c dumptape.c dumptraverse.c \
|
|
|
|
unctime.c
|
|
|
|
ROBJS= dumpitime.o dumprmain.o dumpoptr.o dumprmt.o dumprtape.o \
|
|
|
|
dumptraverse.o unctime.o
|
|
|
|
BINGRP= tty
|
|
|
|
MAN8= dump.0 rdump.0
|
|
|
|
CLEANFILES=dumprmain.o dumprtape.o dumprmt.o rdump
|
|
|
|
|
|
|
|
all: rdump
|
|
|
|
|
|
|
|
rdump: ${ROBJS} ${LIBC}
|
1993-04-18 22:56:24 +04:00
|
|
|
${CC} ${LDFLAGS} -o ${.TARGET} ${ROBJS} ${LDADD}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
dumprmain.o: dumpmain.o
|
|
|
|
${CC} -c -DRDUMP ${CFLAGS} ${.CURDIR}/dumpmain.c -o ${.TARGET}
|
|
|
|
|
|
|
|
dumprtape.o: dumptape.o
|
|
|
|
${CC} -c -DRDUMP ${CFLAGS} ${.CURDIR}/dumptape.c -o ${.TARGET}
|
|
|
|
|
|
|
|
afterinstall:
|
1993-07-18 23:17:22 +04:00
|
|
|
install ${COPY} ${STRIP} -o root -g ${BINGRP} -m 6555 rdump \
|
1993-03-21 12:45:37 +03:00
|
|
|
${DESTDIR}${BINDIR}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|