1# Copyright (c) 1982 Regents of the University of California 2# 3# @(#)Makefile 4.5 (Berkeley) 12/02/82 4# 5DESTDIR= 6CFLAGS= -O 7 8all: rrestor restor 9 10restor: restor.c 11 cc ${LDFLAGS} ${CFLAGS} -o restor restor.c 12 13rrestor: dumprmt.o rrestor.o 14 cc ${LDFLAGS} -o rrestor dumprmt.o rrestor.o -ljobs 15 16rrestor.o: restor.c 17 cc ${CFLAGS} -c -DRRESTOR restor.c 18 mv restor.o rrestor.o 19 20install: rrestor restor 21 install -m 4755 rrestor ${DESTDIR}/etc/rrestor 22 install restor ${DESTDIR}/etc/restor 23 24clean: 25 rm -f restor rrestor *.o errs 26