summaryrefslogtreecommitdiff
path: root/usr.bin/mail/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /usr.bin/mail/Makefile
initial import of NetBSD tree
Diffstat (limited to 'usr.bin/mail/Makefile')
-rw-r--r--usr.bin/mail/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.bin/mail/Makefile b/usr.bin/mail/Makefile
new file mode 100644
index 00000000000..c17232028bf
--- /dev/null
+++ b/usr.bin/mail/Makefile
@@ -0,0 +1,24 @@
+# from: @(#)Makefile 8.2 (Berkeley) 1/25/94
+# $Id: Makefile,v 1.1 1995/10/18 08:45:37 deraadt Exp $
+
+PROG= mail
+CFLAGS+=-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 ${BINDIR}/mail ${BINDIR}/mailx
+MLINKS= mail.1 Mail.1 mail.1 mailx.1
+
+beforeinstall:
+ cd ${.CURDIR}/misc; install -c -o ${BINOWN} -g ${BINGRP} \
+ -m 444 ${SFILES} ${DESTDIR}/usr/share/misc
+ cd ${.CURDIR}/misc; install -c -o root -g wheel \
+ -m 644 ${EFILES} ${DESTDIR}/etc
+
+.if make(install)
+SUBDIR+= USD.doc
+.endif
+
+.include <bsd.prog.mk>