fixed errno for bad unit to be F_ERUNIT. DLW
[unix-history] / usr / src / sbin / dump / Makefile
CommitLineData
78ee183d 1# sccsid = "@(#)Makefile 1.2 (Berkeley) %G%"
5e19f2d7
BJ
2#
3# dump.h header file
4# dumpitime.c reads /etc/ddate
5# dumpmain.c driver
6# dumpoptr.c operator interface
7# dumptape.c handles the mag tape and opening/closing
8# dumptraverse.c traverses the file system
9# unctime.c undo ctime
10#
11# DEBUG use local directory to find ddate and dumpdates
12# TDEBUG trace out the process forking
13#
14PSRCS = \
15 dump.h dumpmain.c dumptraverse.c dumptape.c dumpoptr.c dumpitime.c
16
17SRCS = \
18 dump.h dumpitime.c \
19 dumpmain.c dumpoptr.c dumptape.c \
20 dumptraverse.c unctime.c
21
22OBJS = \
23 dumpitime.o \
24 dumpmain.o dumpoptr.o \
25 dumptape.o dumptraverse.o unctime.o
26
27DFLAGS = -DERNIE
28CFLAGS = -O $(DFLAGS)
29
30dump: $(OBJS)
31 $(CC) $(CFLAGS) $(OBJS) -o dump
32install:
78ee183d 33 install -s dump $(DESTDIR)/etc
5e19f2d7
BJ
34clean:
35 rm -f *.o dump
36
37lint:
38 lint $(DFLAGS) $(SRCS)
39
40psrcs:
41 echo $(PSRCS)