added extra doignore argument to send() calls
[unix-history] / usr / src / usr.bin / mail / Makefile.11
CommitLineData
273045c8
KS
1#
2# Unix version 7.
3#
4# Sccs Id = "@(#)Makefile.11 1.1 %G%";
5#
6
7CFLAGS=-O -DV7
8XSTR=/usr/ucb/xstr
9DESTDIR=/usr/src
10CTAGS=/usr/ucb/ctags -w
11VPRINT=/usr/ucb/print
12CGRAF=/ja/rigel/rigel/bin/cgraf
13CGRAPH=/ja/rigel/rigel/bin/cgraph
14NMKINDEX=/ja/rigel/rigel/bin/nmkindex
15DIRTCLOD=/ja/rigel/rigel/bin/dirtclod
16LIBES=
17ED=-ed
18AS=-as
19RM=-rm
20OBJS=version.o aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o \
21 config.o edit.o fio.o \
22 getname.o head.o v7.local.o lock.o lex.o list.o main.o \
23 names.o optim.o popen.o quit.o send.o strings.o temp.o tty.o \
24 vars.o sigretro.o
25
26SRCS=aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c config.c edit.c fio.c \
27 getname.c head.c v7.local.c lock.c lex.c list.c main.c \
28 names.c optim.c popen.c quit.c send.c strings.c temp.c tty.c vars.c \
29 version.c sigretro.c
30
31HDRS=rcv.h configdefs.h def.h glob.h v7.local.h local.h sigretro.h
32
33S = $(SRCS) $(HDRS)
34
35Mail: $S $(OBJS)
36 $(RM) -f Mail
37 @echo Loading ...
38 @$(CC) -i -o Mail $(OBJS) $(LIBES)
39 @size Mail
40
41mail.g: $(SRCS)
42 $(CGRAF) $(SRCS) > mail.g
43
44install:
45 install -s Mail ${DESTDIR}/usr/ucb
46 cp Mail.help* ${DESTDIR}/usr/lib
47 cd ${DESTDIR}/usr/ucb; rm -f mail; ln Mail mail
48
49$S:
50 sccs get $@;
51
52srcs: $S
53
54tags: $(SRCS)
55 ${CTAGS} $(SRCS);
56
57clean:
58 $(RM) -f *.o
59 rm -f Mail a.out fmt x.c xs.c tags core
60 cp /dev/null strings
61
62lint:
63 lint $(CFLAGS) $(SRCS)
64
65fmt: fmt.c head.c
66 $(CC) fmt.c head.c -o fmt
67 $(RM) fmt.o head.o
68 size fmt
69
70print: $S fmt.c
71 $(CGRAPH) > mail.g;
72 $(NMKINDEX) > mail.i;
73 $(DIRTCLOD) -x mail.i -p mail.g > mail.x
74 @$(VPRINT) makefile mail.x rcv.h def.h glob.h local.h v7.local.h \
75 $(SRCS) fmt.c;
76
77wc:
78 @wc rcv.h def.h glob.h local.h v7.local.h $(SRCS)
79
80sc:
81 @grep -c \; rcv.h def.h glob.h local.h v7.local.h $(SRCS)