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