Home | History | Annotate | Line # | Download | only in restore
Makefile revision 1.9
      1 #	from: @(#)Makefile	5.10 (Berkeley) 5/11/90
      2 #	$Id: Makefile,v 1.9 1993/11/14 15:36:05 cgd Exp $
      3 
      4 PROG=	restore
      5 SRCS=	main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c
      6 ROBJS=	main.o interactive.o restore.o dirs.o symtab.o rtape.o utilities.o \
      7 	dumprmt.o
      8 MAN8=	restore.0 rrestore.0
      9 .PATH:	${.CURDIR}/../dump
     10 CLEANFILES+=dumprmt.o rtape.o rrestore
     11 
     12 all: rrestore
     13 
     14 rtape.o: tape.c ${LIBC}
     15 	${CC} ${CFLAGS} -c -DRRESTORE ${.CURDIR}/tape.c -o ${.TARGET}
     16 
     17 afterinstall:
     18 	install ${COPY} ${STRIP} -o root -g ${BINGRP} -m 4755 rrestore \
     19 	    ${DESTDIR}${BINDIR}
     20 
     21 .include <bsd.prog.mk>
     22 
     23 rrestore: ${LIBCRT0} ${ROBJS} ${LIBC} ${DPADD}
     24 	${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${ROBJS} ${LDADD}
     25