projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restore keywords
[unix-history]
/
usr
/
src
/
sbin
/
restore
/
Makefile
diff --git
a/usr/src/sbin/restore/Makefile
b/usr/src/sbin/restore/Makefile
index
a204682
..
414aa0e
100644
(file)
--- a/
usr/src/sbin/restore/Makefile
+++ b/
usr/src/sbin/restore/Makefile
@@
-1,11
+1,14
@@
-# Copyright (c) 1982 Regents of the University of California
#
#
-# @(#)Makefile 4.9 (Berkeley) %G%
+# Copyright (c) 1983 Regents of the University of California.
+# All rights reserved. The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+# @(#)Makefile 5.3 (Berkeley) %G%
#
DESTDIR=
CFLAGS= -O
#
DESTDIR=
CFLAGS= -O
-FILES= main.c restore.c dirs.c symtab.c tape.c utilities.c
-OBJS= main.o restore.o dirs.o symtab.o utilities.o
+FILES= main.c
interactive.c
restore.c dirs.c symtab.c tape.c utilities.c
+OBJS= main.o
interactive.o
restore.o dirs.o symtab.o utilities.o
all: restore rrestore
all: restore rrestore
@@
-13,22
+16,27
@@
restore: ${OBJS} tape.o
cc ${LDFLAGS} ${CFLAGS} -o restore ${OBJS} tape.o
rrestore: ${OBJS} rtape.o dumprmt.o
cc ${LDFLAGS} ${CFLAGS} -o restore ${OBJS} tape.o
rrestore: ${OBJS} rtape.o dumprmt.o
- cc ${LDFLAGS} -o rrestore ${OBJS} rtape.o dumprmt.o
-ljobs
+ cc ${LDFLAGS} -o rrestore ${OBJS} rtape.o dumprmt.o
-rtape.o: rtape.c
+rtape.o: tape.c
+ cp tape.c rtape.c
cc ${CFLAGS} -c -DRRESTORE rtape.c
cc ${CFLAGS} -c -DRRESTORE rtape.c
+ rm -f rtape.c
+
+dumprmt.o: ../dump/dumprmt.c
+ cc ${CFLAGS} -c ../dump/dumprmt.c
install: rrestore restore
install: rrestore restore
- install restore ${DESTDIR}/etc/restore
- install -m 4755 rrestore ${DESTDIR}/etc/rrestore
+ install
-s
restore ${DESTDIR}/etc/restore
+ install -
s -
m 4755 rrestore ${DESTDIR}/etc/rrestore
clean:
clean:
- rm -f restore rrestore *.o errs
+ rm -f restore rrestore *.o errs
a.out core
lint:
lint ${FILES}
print:
lint:
lint ${FILES}
print:
- @pr /usr/include/
dumprestor
.h restore.h ${FILES}
+ @pr /usr/include/
protocols/dumprestore
.h restore.h ${FILES}
${OBJS}: restore.h
${OBJS}: restore.h