Commit | Line | Data |
---|---|---|
5cd16d99 KM |
1 | # Copyright (c) 1982 Regents of the University of California |
2 | # | |
141d2aed | 3 | # @(#)Makefile 4.2 (Berkeley) %G% |
5cd16d99 KM |
4 | # |
5 | NETSER= /usr/src/ucb/netser | |
6 | ||
7 | OBJS= dumprmt.o ${NETSER}/rcmd.o | |
8 | CFLAGS= | |
9 | ||
10 | all: rrestor restor | |
11 | ||
141d2aed SL |
12 | restor: restor.c |
13 | cc -o restor restor.c | |
14 | ||
5cd16d99 KM |
15 | rrestor: ${OBJS} rrestor.o |
16 | cc -o rrestor ${OBJS} rrestor.o -ljobs | |
17 | ||
5cd16d99 KM |
18 | rrestor.o: restor.c |
19 | cc -c -DRRESTOR restor.c | |
20 | mv restor.o rrestor.o | |
21 | ||
5cd16d99 KM |
22 | install: rrestor restor |
23 | cp rrestor /etc | |
24 | cp restor /etc | |
25 | ||
26 | clean: | |
27 | rm -f restor rrestor *.o errs |