Commit | Line | Data |
---|---|---|
e188db8f | 1 | # @(#)Makefile 5.11 (Berkeley) %G% |
5cd16d99 | 2 | |
f15273bc KB |
3 | PROG= restore |
4 | SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c | |
5 | ROBJS= main.o interactive.o restore.o dirs.o symtab.o rtape.o utilities.o \ | |
6 | dumprmt.o | |
7 | MAN8= restore.0 rrestore.0 | |
8 | .PATH: ${.CURDIR}/../dump | |
9 | CLEANFILES+=dumprmt.o rtape.o rrestore | |
5cd16d99 | 10 | |
f15273bc | 11 | all: rrestore |
141d2aed | 12 | |
d2748719 | 13 | rrestore: ${ROBJS} ${LIBC} |
f15273bc | 14 | ${CC} ${CFLAGS} -o ${.TARGET} ${ROBJS} |
5cd16d99 | 15 | |
f15273bc KB |
16 | rtape.o: tape.c ${LIBC} |
17 | ${CC} ${CFLAGS} -c -DRRESTORE ${.CURDIR}/tape.c -o ${.TARGET} | |
ae1066e0 | 18 | |
f15273bc KB |
19 | afterinstall: |
20 | install ${STRIP} -o root -g ${BINGRP} -m 4755 rrestore \ | |
21 | ${DESTDIR}${BINDIR} | |
66da2b0f | 22 | |
f15273bc | 23 | .include <bsd.prog.mk> |