NetBSD/usr.sbin/sendmail/mail.local/Makefile.dist

41 lines
950 B
Makefile
Raw Normal View History

1998-01-09 11:03:16 +03:00
# $NetBSD: Makefile.dist,v 1.2 1998/01/09 08:10:37 perry Exp $
#
1997-07-13 23:03:32 +04:00
# @(#)Makefile.dist 8.4 (Berkeley) 2/19/97
1996-01-22 13:52:39 +03:00
BINDIR= ${DESTDIR}/usr/lib
BINOWN= root
BINMODE=4555
1996-11-18 07:29:19 +03:00
# For Solaris, uncomment one of the CC= lines and the LIBS= line
1997-07-13 23:03:32 +04:00
# Also, if you're running 2.6 or later, uncomment the ENVDEF= line
1996-11-18 07:29:19 +03:00
#CC= cc -Xc
#CC= gcc
#LIBS= -lsocket -lnsl
1997-07-13 23:03:32 +04:00
#ENVDEF= -DSOLARIS=20600
1996-11-18 07:29:19 +03:00
# Which *roff program has -mandoc support
NROFF= groff -Tascii
#NROFF= nroff -h
MANDOC= -mandoc
ALL= mail.local mail.local.0
all: ${ALL}
1996-01-22 13:52:39 +03:00
mail.local: mail.local.c
1997-07-13 23:03:32 +04:00
${CC} -O -o mail.local ${ENVDEF} mail.local.c ${LIBS}
1996-01-22 13:52:39 +03:00
1996-11-18 07:29:19 +03:00
mail.local.0: mail.local.8
${NROFF} ${MANDOC} mail.local.8 > mail.local.0
install: install-mail.local install-docs
install-mail.local: mail.local
1996-01-22 13:52:39 +03:00
install -s -o ${BINOWN} -m ${BINMODE} mail.local ${BINDIR}
1996-11-18 07:29:19 +03:00
# doesn't actually install them -- you may want to install pre-nroff versions
install-docs: mail.local.0
1996-01-22 13:52:39 +03:00
clean:
1996-11-18 07:29:19 +03:00
rm -f mail.local core a.out mail.local.0