386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Fri, 8 Mar 1991 01:55:56 +0000 (17:55 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Fri, 8 Mar 1991 01:55:56 +0000 (17:55 -0800)
Work on file usr/src/sbin/dump/Makefile

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/src/sbin/dump/Makefile [new file with mode: 0644]

diff --git a/usr/src/sbin/dump/Makefile b/usr/src/sbin/dump/Makefile
new file mode 100644 (file)
index 0000000..1f7c162
--- /dev/null
@@ -0,0 +1,38 @@
+#      @(#)Makefile    5.12 (Berkeley) 3/7/91
+
+#      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}
+       ${CC} -o ${.TARGET} ${CFLAGS} ${ROBJS}
+
+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:
+       install ${STRIP} -o root -g ${BINGRP} -m 6555 rdump \
+           ${DESTDIR}${BINDIR}
+
+.include <bsd.prog.mk>