NetBSD/usr.bin/mail/Makefile

31 lines
790 B
Makefile

# $NetBSD: Makefile,v 1.20 2002/03/02 15:29:49 wiz 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
WARNS= 2
.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_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
${EFILES} ${DESTDIR}/etc
.include <bsd.prog.mk>
.include <bsd.subdir.mk>