xref: /dflybsd-src/usr.bin/mail/Makefile (revision bf31779ebd1f71a97f4d80b3b4755ef7dc3be8a4)
1984263bcSMatthew Dillon#	@(#)Makefile	8.2 (Berkeley) 1/25/94
2984263bcSMatthew Dillon# $FreeBSD: src/usr.bin/mail/Makefile,v 1.5.6.4 2002/08/07 16:32:01 ru Exp $
3984263bcSMatthew Dillon
4984263bcSMatthew DillonPROG=	mail
5937f07e0SSascha WildnerSRCS=	version.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c edit.c fio.c \
6984263bcSMatthew Dillon	getname.c head.c v7.local.c lex.c list.c main.c names.c popen.c \
7937f07e0SSascha Wildner	quit.c send.c strings.c temp.c tty.c util.c vars.c
8*bf31779eSzrj.if !defined(NO_SHARE)
9984263bcSMatthew DillonFILES=	mail.help mail.tildehelp
10*bf31779eSzrj.endif
11984263bcSMatthew DillonFILESDIR=	${SHAREDIR}/misc
12984263bcSMatthew DillonEFILES=	mail.rc
13984263bcSMatthew DillonLINKS=	${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx
14984263bcSMatthew DillonMLINKS=	mail.1 Mail.1 mail.1 mailx.1
15058e90e2SSascha WildnerWARNS?=	2
16984263bcSMatthew Dillon
17984263bcSMatthew Dillon.PATH: ${.CURDIR}/misc
18984263bcSMatthew Dillon
19984263bcSMatthew Dillonetc-mailrc:
20984263bcSMatthew Dillon	cd ${.CURDIR}/misc; ${INSTALL} -o root -g wheel \
21984263bcSMatthew Dillon	    -m 644 ${EFILES} ${DESTDIR}/etc
22984263bcSMatthew Dillon
23984263bcSMatthew Dillon.include <bsd.prog.mk>
24