NetBSD/usr.bin/mail/Makefile

29 lines
788 B
Makefile

# $NetBSD: Makefile,v 1.18 2001/10/19 02:46:19 tv Exp $
# @(#)Makefile 8.3 (Berkeley) 4/20/95
.include <bsd.own.mk>
PROG= mail
SRCS= version.c support.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c dotlock.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
EFILES= mail.rc
LINKS= ${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx
MLINKS= mail.1 Mail.1 mail.1 mailx.1
.if ${MKSHARE} != "no"
FILESDIR=/usr/share/misc
FILES= ${.CURDIR}/misc/mail.help ${.CURDIR}/misc/mail.tildehelp
.if make(install)
SUBDIR+= USD.doc
.endif
.endif
distribution:
cd ${.CURDIR}/misc; ${INSTALL} ${INSTPRIV} ${COPY} -o root -g wheel \
-m 644 ${EFILES} ${DESTDIR}/etc
.include <bsd.prog.mk>
.include <bsd.subdir.mk>