NetBSD/usr.sbin/sendmail/mail.local/Makefile.dist
1996-11-18 04:29:19 +00:00

37 lines
783 B
Makefile

# @(#)Makefile.dist 8.3 (Berkeley) 9/25/96
BINDIR= ${DESTDIR}/usr/lib
BINOWN= root
BINMODE=4555
# For Solaris, uncomment one of the CC= lines and the LIBS= line
#CC= cc -Xc
#CC= gcc
#LIBS= -lsocket -lnsl
# Which *roff program has -mandoc support
NROFF= groff -Tascii
#NROFF= nroff -h
MANDOC= -mandoc
ALL= mail.local mail.local.0
all: ${ALL}
mail.local: mail.local.c
${CC} -O -o mail.local mail.local.c ${LIBS}
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
install -s -o ${BINOWN} -m ${BINMODE} mail.local ${BINDIR}
# doesn't actually install them -- you may want to install pre-nroff versions
install-docs: mail.local.0
clean:
rm -f mail.local core a.out mail.local.0