# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)Makefile 5.3 (Berkeley) 1/11/86
OBJS
= version.o aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o \
getname.o head.o v7.local.o
lex.o list.o main.o \
names.o optim.o popen.o quit.o send.o strings.o temp.o tty.o \
SRCS
= aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c config.c edit.c fio.c \
getname.c head.c v7.local.c
lex.c list.c main.c \
names.c optim.c popen.c quit.c send.c strings.c temp.c tty.c vars.c \
HDRS
= rcv.h configdefs.h def.h glob.h v7.local.h local.h
# Special massaging of C files for sharing of strings
${CC} -E
${CFLAGS} $*.c |
${XSTR} -c
-
@
$(CC
) -o Mail
$(OBJS
) $(LIBES
)
install -s Mail
${DESTDIR}/usr
/ucb
/Mail
cp misc
/Mail.
* ${DESTDIR}/usr
/lib
install -s fmt
${DESTDIR}/usr
/ucb
/fmt
cd
${DESTDIR}/usr
/ucb
; rm -f mail
; ln Mail mail
rm -f Mail a.out fmt x.c xs.c
tags core xhead.c
$(CC
) $(CFLAGS
) fmt.o xhead.o
-o fmt
$(CC
) $(CFLAGS
) -c xhead.c
$(CC
) -R
-c
$(CFLAGS
) cmdtab.c
@
$(VPRINT
) Makefile rcv.h def.h glob.h local.h v7.local.h
$(SRCS
) fmt.c
@wc rcv.h def.h glob.h local.h v7.local.h
$(SRCS
)
@grep
-c \
; rcv.h def.h glob.h local.h v7.local.h
$(SRCS
)