1993-07-31 19:17:49 +04:00
|
|
|
# from: @(#)Makefile 5.16 (Berkeley) 6/19/91
|
|
|
|
# $Id: Makefile,v 1.2 1993/07/31 15:19:49 mycroft Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= mail
|
|
|
|
CFLAGS+=-R -DUSE_OLD_TTY
|
|
|
|
SRCS= version.c aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c edit.c fio.c \
|
|
|
|
getname.c head.c v7.local.c lex.c list.c main.c names.c popen.c \
|
|
|
|
quit.c send.c strings.c temp.c tty.c vars.c
|
|
|
|
SFILES= mail.help mail.tildehelp
|
|
|
|
EFILES= mail.rc
|
|
|
|
LINKS= ${BINDIR}/mail ${BINDIR}/Mail
|
|
|
|
MLINKS= mail.1 Mail.1
|
|
|
|
|
|
|
|
beforeinstall:
|
|
|
|
cd ${.CURDIR}/misc; install -c -o ${BINOWN} -g ${BINGRP} \
|
|
|
|
-m 444 ${SFILES} ${DESTDIR}/usr/share/misc
|
|
|
|
cd ${.CURDIR}/misc; install -c -o ${BINOWN} -g ${BINGRP} \
|
|
|
|
-m 444 ${EFILES} ${DESTDIR}/etc
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|