File:  [MW Coherent from dump] / coherent / d / bin / dump / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

# /usr/src/cmd/dump/Makefile 2/20/91

CFLAGS = -O
#DESTDIR= /interim/bin/
DESTDIR= /bin386/bin/

EXE=\
	dump\
	dumpdate\
	dumpdir\
	restor

OBJ=\
	dump.o\
	dump.o\
	dump.o\
	dump.o\
	dump.o

# Primary target.
all:	$(EXE)
	: all done

# Executables.
dump:	dump.o discbuf.o
	$(CC) $(CFLAGS) -o $(DESTDIR)$@ $<
	su root chown bin $(DESTDIR)$@
	su root chgrp bin $(DESTDIR)$@
	su root chmod 511 $(DESTDIR)$@

dumpdate: dumpdate.o
	$(CC) $(CFLAGS) -o $(DESTDIR)$@ $<
	su root chown bin $(DESTDIR)$@
	su root chgrp bin $(DESTDIR)$@
	su root chmod 511 $(DESTDIR)$@

dumpdir: dumpdir.o
	$(CC) $(CFLAGS) -o $(DESTDIR)$@ $<
	su root chown bin $(DESTDIR)$@
	su root chgrp bin $(DESTDIR)$@
	su root chmod 511 $(DESTDIR)$@

restor:	restor.o discbuf.o
	$(CC) $(CFLAGS) -o $(DESTDIR)$@ $<
	su root chown bin $(DESTDIR)$@
	su root chgrp bin $(DESTDIR)$@
	su root chmod 511 $(DESTDIR)$@

# Secondary targets.
discbuf.o:	discbuf.h discbuf.c
dumpdate.o:	dumptape.h dumpdate.c
dumpdir.o:	dumptape.h dumpdir.c
dump.o:		dumptape.h discbuf.h dump.c
restor.o:	dumptape.h discbuf.h restor.c

# Etc.
clean:
	rm $(OBJ)

# end of /usr/src/cmd/dump/Makefile

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.