1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 07:27:59 -08:00
openbsd-src/usr.bin/mail/Makefile
daniel 0f2746abbd the name aux is a reserved filename on windows
NetBSD renamed this file to support.c in 2001, while FreeBSD chose to
rename this file to util.c in 2009. We go the FreeBSD route and pick
util.c since our implementation is closer to the FreeBSD codebase.

Helps get us closer to being able to check out OpenBSD source code on
Windows as requested by John Carmack.

This issue thoroughly researched by jsg@

ok deraadt@, sthen@, "go ahead" jsg@
2020-12-15 00:50:01 +00:00

18 lines
637 B
Makefile

# $OpenBSD: Makefile,v 1.13 2020/12/15 00:50:01 daniel Exp $
PROG= mail
SRCS= version.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c \
edit.c fio.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 util.c vars.c
SFILES= mail.help mail.tildehelp
EFILES= mail.rc
LINKS= ${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx
distribution:
cd ${.CURDIR}/misc; ${INSTALL} ${INSTALL_COPY} -o root -g wheel \
-m 644 ${EFILES} ${DESTDIR}/etc
cd ${.CURDIR}/misc; ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
-m 444 ${SFILES} ${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>