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

37 lines
783 B
Makefile
Raw Normal View History

1996-11-18 07:29:19 +03:00
# @(#)Makefile.dist 8.3 (Berkeley) 9/25/96
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
#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}
1996-01-22 13:52:39 +03:00
mail.local: mail.local.c
1996-11-18 07:29:19 +03:00
${CC} -O -o mail.local 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