install correct aliases file
[unix-history] / usr / src / old / dump.4.1 / Makefile
CommitLineData
76797561
DF
1#
2# Copyright (c) 1980 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.1 (Berkeley) %G%
5e19f2d7
BJ
7#
8# dump.h header file
9# dumpitime.c reads /etc/ddate
10# dumpmain.c driver
11# dumpoptr.c operator interface
12# dumptape.c handles the mag tape and opening/closing
13# dumptraverse.c traverses the file system
14# unctime.c undo ctime
e43330ad 15# l3tol.c 3-byte to 4-byte unpacking
5e19f2d7
BJ
16#
17# DEBUG use local directory to find ddate and dumpdates
18# TDEBUG trace out the process forking
19#
20PSRCS = \
21 dump.h dumpmain.c dumptraverse.c dumptape.c dumpoptr.c dumpitime.c
22
23SRCS = \
24 dump.h dumpitime.c \
25 dumpmain.c dumpoptr.c dumptape.c \
778e0301 26 dumptraverse.c unctime.c l3tol.c
5e19f2d7
BJ
27
28OBJS = \
29 dumpitime.o \
30 dumpmain.o dumpoptr.o \
778e0301 31 dumptape.o dumptraverse.o unctime.o l3tol.o
5e19f2d7 32
778e0301 33DFLAGS =
5e19f2d7
BJ
34CFLAGS = -O $(DFLAGS)
35
36dump: $(OBJS)
37 $(CC) $(CFLAGS) $(OBJS) -o dump
38install:
e43330ad 39 install -s dump $(DESTDIR)/etc/dump.4.1
5e19f2d7
BJ
40clean:
41 rm -f *.o dump
42
43lint:
44 lint $(DFLAGS) $(SRCS)
45
46psrcs:
47 echo $(PSRCS)