Commit | Line | Data |
---|---|---|
b45e25c0 | 1 | # sccsid = "@(#)Makefile 1.4 (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 | # | |
14 | PSRCS = \ | |
b45e25c0 KM |
15 | ../../h/dumprestor.h dump.h \ |
16 | dumpmain.c dumptraverse.c dumptape.c dumpoptr.c dumpitime.c unctime.c | |
5e19f2d7 BJ |
17 | |
18 | SRCS = \ | |
19 | dump.h dumpitime.c \ | |
20 | dumpmain.c dumpoptr.c dumptape.c \ | |
21 | dumptraverse.c unctime.c | |
22 | ||
23 | OBJS = \ | |
24 | dumpitime.o \ | |
25 | dumpmain.o dumpoptr.o \ | |
26 | dumptape.o dumptraverse.o unctime.o | |
27 | ||
9e92a7e9 | 28 | DFLAGS = |
b45e25c0 | 29 | CFLAGS = -O -DKERNEL $(DFLAGS) |
5e19f2d7 BJ |
30 | |
31 | dump: $(OBJS) | |
32 | $(CC) $(CFLAGS) $(OBJS) -o dump | |
b45e25c0 | 33 | |
5e19f2d7 | 34 | install: |
78ee183d | 35 | install -s dump $(DESTDIR)/etc |
b45e25c0 | 36 | |
5e19f2d7 BJ |
37 | clean: |
38 | rm -f *.o dump | |
39 | ||
40 | lint: | |
41 | lint $(DFLAGS) $(SRCS) | |
42 | ||
b45e25c0 KM |
43 | print: |
44 | pr $(PSRCS) | lpr | |
45 | ||
46 | $(OBJS): dump.h ../../h/param.h ../../h/stat.h ../../h/fs.h | |
47 | $(OBJS): ../../h/inode.h ../../h/dumprestor.h |