xref: /csrg-svn/old/dump.4.1/Makefile (revision 22034)
11420Sroot#
2*22034Sdist# Copyright (c) 1980 Regents of the University of California.
3*22034Sdist# All rights reserved.  The Berkeley software License Agreement
4*22034Sdist# specifies the terms and conditions for redistribution.
5*22034Sdist#
6*22034Sdist#	@(#)Makefile	5.1 (Berkeley) 06/05/85
7*22034Sdist#
81420Sroot#	dump.h			header file
91420Sroot#	dumpitime.c		reads /etc/ddate
101420Sroot#	dumpmain.c		driver
111420Sroot#	dumpoptr.c		operator interface
121420Sroot#	dumptape.c		handles the mag tape and opening/closing
131420Sroot#	dumptraverse.c		traverses the file system
141420Sroot#	unctime.c		undo ctime
1512083Smckusick#	l3tol.c			3-byte to 4-byte unpacking
161420Sroot#
171420Sroot#	DEBUG			use local directory to find ddate and dumpdates
181420Sroot#	TDEBUG			trace out the process forking
191420Sroot#
201420SrootPSRCS = \
211420Sroot	dump.h dumpmain.c dumptraverse.c dumptape.c dumpoptr.c dumpitime.c
221420Sroot
231420SrootSRCS =  \
241420Sroot	dump.h dumpitime.c \
251420Sroot	dumpmain.c dumpoptr.c dumptape.c \
2612081Smckusick	dumptraverse.c unctime.c l3tol.c
271420Sroot
281420SrootOBJS = \
291420Sroot	dumpitime.o \
301420Sroot	dumpmain.o dumpoptr.o \
3112081Smckusick	dumptape.o dumptraverse.o unctime.o l3tol.o
321420Sroot
3312081SmckusickDFLAGS =
341420SrootCFLAGS = -O $(DFLAGS)
351420Sroot
361420Srootdump:	$(OBJS)
371420Sroot	$(CC) $(CFLAGS) $(OBJS) -o dump
381420Srootinstall:
3912083Smckusick	install -s dump $(DESTDIR)/etc/dump.4.1
401420Srootclean:
411420Sroot	rm -f *.o dump
421420Sroot
431420Srootlint:
441420Sroot	lint $(DFLAGS) $(SRCS)
451420Sroot
461420Srootpsrcs:
471420Sroot	echo $(PSRCS)
48