NetBSD/usr.bin/mail/Makefile

29 lines
782 B
Makefile

# $NetBSD: Makefile,v 1.19 2002/02/09 09:15:10 lukem 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_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
${EFILES} ${DESTDIR}/etc
.include <bsd.prog.mk>
.include <bsd.subdir.mk>