Home | History | Annotate | Line # | Download | only in restore
Makefile revision 1.1
      1 #	@(#)Makefile	5.10 (Berkeley) 5/11/90
      2 
      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
     10 
     11 all: rrestore
     12 
     13 rrestore: ${ROBJS} ${LIBC}
     14 	${CC} ${CFLAGS} -o ${.TARGET} ${ROBJS}
     15 
     16 rtape.o: tape.c ${LIBC}
     17 	${CC} ${CFLAGS} -c -DRRESTORE ${.CURDIR}/tape.c -o ${.TARGET}
     18 
     19 afterinstall:
     20 	install ${STRIP} -o root -g ${BINGRP} -m 4755 rrestore \
     21 	    ${DESTDIR}${BINDIR}
     22 
     23 .include <bsd.prog.mk>
     24