[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / mail

File: [local] / src / usr.bin / mail / Makefile (download)

Revision 1.13, Tue Dec 15 00:50:01 2020 UTC (3 years, 5 months ago) by daniel
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.12: +3 -3 lines

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@

#	$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>