|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1983 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 5.3 (Berkeley) 9/7/85 ! 7: # ! 8: DESTDIR= ! 9: CFLAGS= -O ! 10: FILES= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c ! 11: OBJS= main.o interactive.o restore.o dirs.o symtab.o utilities.o ! 12: ! 13: all: restore rrestore ! 14: ! 15: restore: ${OBJS} tape.o ! 16: cc ${LDFLAGS} ${CFLAGS} -o restore ${OBJS} tape.o ! 17: ! 18: rrestore: ${OBJS} rtape.o dumprmt.o ! 19: cc ${LDFLAGS} -o rrestore ${OBJS} rtape.o dumprmt.o ! 20: ! 21: rtape.o: tape.c ! 22: cp tape.c rtape.c ! 23: cc ${CFLAGS} -c -DRRESTORE rtape.c ! 24: rm -f rtape.c ! 25: ! 26: dumprmt.o: ../dump/dumprmt.c ! 27: cc ${CFLAGS} -c ../dump/dumprmt.c ! 28: ! 29: install: rrestore restore ! 30: install -s restore ${DESTDIR}/etc/restore ! 31: install -s -m 4755 rrestore ${DESTDIR}/etc/rrestore ! 32: ! 33: clean: ! 34: rm -f restore rrestore *.o errs a.out core ! 35: ! 36: lint: ! 37: lint ${FILES} ! 38: ! 39: print: ! 40: @pr /usr/include/protocols/dumprestore.h restore.h ${FILES} ! 41: ! 42: ${OBJS}: restore.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.