Commit | Line | Data |
---|---|---|
5cd16d99 KM |
1 | # Copyright (c) 1982 Regents of the University of California |
2 | # | |
106df965 | 3 | # @(#)Makefile 4.5 (Berkeley) %G% |
5cd16d99 | 4 | # |
2d096f0c KM |
5 | DESTDIR= |
6 | CFLAGS= -O | |
5cd16d99 KM |
7 | |
8 | all: rrestor restor | |
9 | ||
141d2aed | 10 | restor: restor.c |
2d096f0c | 11 | cc ${LDFLAGS} ${CFLAGS} -o restor restor.c |
141d2aed | 12 | |
0e68864a | 13 | rrestor: dumprmt.o rrestor.o |
2d096f0c | 14 | cc ${LDFLAGS} -o rrestor dumprmt.o rrestor.o -ljobs |
5cd16d99 | 15 | |
5cd16d99 | 16 | rrestor.o: restor.c |
2d096f0c | 17 | cc ${CFLAGS} -c -DRRESTOR restor.c |
5cd16d99 KM |
18 | mv restor.o rrestor.o |
19 | ||
5cd16d99 | 20 | install: rrestor restor |
106df965 | 21 | install -m 4755 rrestor ${DESTDIR}/etc/rrestor |
2d096f0c | 22 | install restor ${DESTDIR}/etc/restor |
5cd16d99 KM |
23 | |
24 | clean: | |
25 | rm -f restor rrestor *.o errs |