|
|
1.1 root 1: # Copyright (c) 1982 Regents of the University of California
2: #
3: # @(#)Makefile 4.10 (Berkeley) 6/12/83
4: #
5: DESTDIR=
6: CFLAGS= -O
7: FILES= main.c restore.c dirs.c symtab.c tape.c utilities.c
8: OBJS= main.o restore.o dirs.o symtab.o utilities.o
9:
10: all: restore rrestore
11:
12: restore: ${OBJS} tape.o
13: cc ${LDFLAGS} ${CFLAGS} -o restore ${OBJS} tape.o
14:
15: rrestore: ${OBJS} rtape.o dumprmt.o
16: cc ${LDFLAGS} -o rrestore ${OBJS} rtape.o dumprmt.o
17:
18: rtape.o: tape.c
19: cp tape.c rtape.c
20: cc ${CFLAGS} -c -DRRESTORE rtape.c
21: rm -f rtape.c
22:
23: dumprmt.o: ../dump/dumprmt.c
24: cc ${CFLAGS} -c ../dump/dumprmt.c
25:
26: install: rrestore restore
27: install restore ${DESTDIR}/etc/restore
28: install -m 4755 rrestore ${DESTDIR}/etc/rrestore
29:
30: clean:
31: rm -f restore rrestore *.o errs a.out core
32:
33: lint:
34: lint ${FILES}
35:
36: print:
37: @pr /usr/include/dumprestor.h restore.h ${FILES}
38:
39: ${OBJS}: restore.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.