sendmail 8.6.11 try #2
This commit is contained in:
parent
aa30924a6a
commit
8c23c56663
|
@ -34,7 +34,7 @@ divert(-1)
|
|||
#
|
||||
|
||||
divert(0)
|
||||
VERSIONID(`@(#)sco32.m4 8.1 (Berkeley) 11/27/93')
|
||||
VERSIONID(`@(#)sco3.2.m4 8.1 (Berkeley) 11/27/93')
|
||||
define(`ALIAS_FILE', /usr/lib/mail/aliases)dnl
|
||||
define(`QUEUE_DIR', /usr/spool/mqueue)dnl
|
||||
define(`STATUS_FILE', /usr/lib/sendmail.st)dnl
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,115 @@
|
|||
#
|
||||
# This makefile is for clipper-based Intergraph systems running CLIX.
|
||||
# It and the defines supporting it in the source tree should be considered
|
||||
# alpha-quality and used at own risk.
|
||||
#
|
||||
# Porting done for CICNet, Inc., on behalf the Michigan State Department
|
||||
# of Natural Resources.
|
||||
#
|
||||
# --Paul Southworth <pauls@cic.net>
|
||||
#
|
||||
# @(#)Makefile.CLIX 8.1 (Berkeley) 4/12/94
|
||||
#
|
||||
|
||||
# make sure the shell constructs below use the right shell
|
||||
SHELL= /bin/sh
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
O= -O
|
||||
|
||||
CC= gcc
|
||||
|
||||
# define the database mechanism used for alias lookups:
|
||||
# -DNDBM -- use new DBM
|
||||
# -DNEWDB -- use new Berkeley DB
|
||||
# -DNIS -- include NIS support
|
||||
# The really old (V7) DBM library is no longer supported.
|
||||
# See READ_ME for a description of how these flags interact.
|
||||
#
|
||||
DBMDEF= -DNDBM
|
||||
|
||||
# environment definitions (e.g., -D_AIX3)
|
||||
ENVDEF= -DCLIX
|
||||
|
||||
# see also conf.h for additional compilation flags
|
||||
|
||||
# include directories
|
||||
INCDIRS= -I/usr/include
|
||||
|
||||
# library directories
|
||||
LIBDIRS=
|
||||
|
||||
# libraries required on your system
|
||||
LIBS= -lnsl -lbsd
|
||||
|
||||
# location of sendmail binary (usually /usr/sbin or /usr/lib)
|
||||
BINDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# location of sendmail.st file (usually /var/log or /usr/lib)
|
||||
STDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
|
||||
HFDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# additional .o files needed
|
||||
OBJADD= getusershell.o
|
||||
|
||||
################### end of user configuration flags ######################
|
||||
|
||||
CFLAGS= -I. $O ${INCDIRS} ${DBMDEF} ${ENVDEF}
|
||||
|
||||
OBJS= alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o \
|
||||
deliver.o domain.o envelope.o err.o headers.o macro.o main.o \
|
||||
map.o mci.o parseaddr.o queue.o readcf.o recipient.o \
|
||||
savemail.o srvrsmtp.o stab.o stats.o sysexits.o \
|
||||
trace.o udb.o usersmtp.o util.o version.o ${OBJADD}
|
||||
|
||||
LINKS= ${DESTDIR}/usr/bin/newaliases ${DESTDIR}/usr/bin/mailq
|
||||
BINOWN= root
|
||||
BINGRP= mail
|
||||
BINMODE=6555
|
||||
INSTALL=cp
|
||||
|
||||
ALL= sendmail # aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail #install-docs
|
||||
|
||||
install-sendmail: sendmail
|
||||
#${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
|
||||
${INSTALL} sendmail ${BINDIR}
|
||||
chmod ${BINMODE} ${BINDIR}/sendmail
|
||||
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
|
||||
#${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
# ${STDIR}/sendmail.st
|
||||
${INSTALL} /dev/null ${STDIR}/sendmail.st
|
||||
#${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
${INSTALL} sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail #aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
${OBJS}: sendmail.h conf.h
|
|
@ -1,6 +1,8 @@
|
|||
#
|
||||
# Tested on DG/UX 5.4.2 by A. Bryan Curnutt <bryan@Stoner.COM>.
|
||||
#
|
||||
# @(#)Makefile.DGUX 8.3 (Berkeley) 4/11/94
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
O= -O
|
||||
|
@ -58,21 +60,26 @@ BINOWN= root
|
|||
BINGRP= bin
|
||||
BINMODE=6555
|
||||
|
||||
ALL= sendmail aliases.0 newaliases.0 sendmail.0
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
nroff -h -mandoc aliases.5 > aliases.0
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
nroff -h -mandoc newaliases.1 > newaliases.0
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
nroff -h -mandoc sendmail.8 > sendmail.0
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
|
@ -84,10 +91,10 @@ install-sendmail: sendmail
|
|||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 newaliases.0 sendmail.0
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 newaliases.0 sendmail.0
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
|
|
|
@ -0,0 +1,123 @@
|
|||
#
|
||||
# This Makefile is designed to work on the old "make" program. It does
|
||||
# not use the obj subdirectory. It also does not install documentation
|
||||
# automatically -- think of it as a quick start for sites that have the
|
||||
# old make program (I recommend that you get and port the new make if you
|
||||
# are going to be doing any signficant work on sendmail).
|
||||
#
|
||||
# This has been tested on DomainOS 10.3.5
|
||||
#
|
||||
# @(#)Makefile.DomainOS 8.5 (Berkeley) 4/12/94
|
||||
#
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
O= -O
|
||||
|
||||
# define the database mechanisms available for map & alias lookups:
|
||||
# -DNDBM -- use new DBM
|
||||
# -DNEWDB -- use new Berkeley DB
|
||||
# -DNDBM -DNEWDB -DYPCOMPAT -- use both plus YP compatility
|
||||
# -DNIS -- include client NIS support
|
||||
# The really old (V7) DBM library is no longer supported.
|
||||
# If YPCOMPAT is defined and /var/yp/Makefile exists, sendmail will build
|
||||
# both the NEWDB and DBM libraries (the DBM just for YP).
|
||||
#
|
||||
|
||||
DBMDEF= -DNDBM
|
||||
|
||||
# environment definitions (e.g., -D_AIX3)
|
||||
ENVDEF=
|
||||
|
||||
# see also conf.h for additional compilation flags
|
||||
|
||||
# include directories
|
||||
INCDIRS=
|
||||
|
||||
# loader options
|
||||
LDOPTS=
|
||||
|
||||
# library directories
|
||||
LIBDIRS=
|
||||
|
||||
# libraries required on your system
|
||||
# You might want to use the BIND 4.9 resolver library here
|
||||
#LIBS= -ldb -ldbm
|
||||
LIBS= -ldbm -lresolv
|
||||
|
||||
# location of sendmail binary (usually /usr/sbin or /usr/lib)
|
||||
BINDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# location of sendmail.st file (usually /var/log or /usr/lib)
|
||||
STDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
|
||||
HFDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# additional .o files needed
|
||||
OBJADD=
|
||||
|
||||
# additional pseudo-sources needed
|
||||
BEFORE= unistd.h dirent.h
|
||||
|
||||
################### end of user configuration flags ######################
|
||||
|
||||
CFLAGS= -I. -A nansi $O ${INCDIRS} ${DBMDEF} ${ENVDEF}
|
||||
|
||||
OBJS= alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o \
|
||||
deliver.o domain.o envelope.o err.o headers.o macro.o main.o \
|
||||
map.o mci.o parseaddr.o queue.o readcf.o recipient.o \
|
||||
savemail.o srvrsmtp.o stab.o stats.o sysexits.o \
|
||||
trace.o udb.o usersmtp.o util.o version.o ${OBJADD}
|
||||
|
||||
LINKS= ${DESTDIR}/usr/ucb/newaliases ${DESTDIR}/usr/ucb/mailq
|
||||
BINOWN= root
|
||||
BINGRP= kmem
|
||||
BINMODE=6555
|
||||
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
unistd.h:
|
||||
cp /dev/null unistd.h
|
||||
|
||||
dirent.h:
|
||||
echo "#include <sys/dir.h>" > dirent.h
|
||||
echo "#define dirent direct" >> dirent.h
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
install-sendmail: sendmail
|
||||
install -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
|
||||
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${STDIR}/sendmail.st
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
${OBJS}: sendmail.h conf.h
|
|
@ -11,6 +11,8 @@
|
|||
# instead. I compiled it with gcc 1.40a. The -lseq is to pick
|
||||
# up getopt.''
|
||||
#
|
||||
# @(#)Makefile.Dynix 8.3 (Berkeley) 4/11/94
|
||||
#
|
||||
|
||||
CC= gcc
|
||||
|
||||
|
@ -70,21 +72,26 @@ BINOWN= root
|
|||
BINGRP= staff # no kmem group,
|
||||
BINMODE=4555 # so not setgid
|
||||
|
||||
ALL= sendmail aliases.0 newaliases.0 sendmail.0
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
nroff -h -mandoc aliases.5 > aliases.0
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
nroff -h -mandoc newaliases.1 > newaliases.0
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
nroff -h -mandoc sendmail.8 > sendmail.0
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
|
@ -96,10 +103,10 @@ install-sendmail: sendmail
|
|||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 newaliases.0 sendmail.0
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 newaliases.0 sendmail.0
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
# @(#)Makefile 8.2 (Berkeley) 8/15/93
|
||||
# @(#)Makefile.FreeBSD 8.1 (Berkeley) 2/26/94
|
||||
|
||||
PROG= sendmail
|
||||
|
||||
|
@ -27,8 +27,9 @@ DPADD=
|
|||
LDADD= $(LIBUTIL)
|
||||
#
|
||||
# FreeBSD 1.0 RELEASE has GNU man and doesn't need preformatted man pages anymore
|
||||
# (assuming you consider a slower "man" command a feature)
|
||||
#
|
||||
MAN1= newaliases.1
|
||||
MAN1= mailq.1 newaliases.1
|
||||
MAN5= aliases.5
|
||||
MAN8= sendmail.8
|
||||
LINKS= /usr/sbin/sendmail /usr/bin/newaliases \
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# old make program (I recommend that you get and port the new make if you
|
||||
# are going to be doing any signficant work on sendmail).
|
||||
#
|
||||
# @(#)Makefile.dist 8.7 (Berkeley) 9/3/93
|
||||
# @(#)Makefile.Mach386 8.3 (Berkeley) 4/11/94
|
||||
#
|
||||
|
||||
CC= gcc
|
||||
|
@ -66,21 +66,26 @@ BINOWN= root
|
|||
BINGRP= kmem
|
||||
BINMODE=6555
|
||||
|
||||
ALL= sendmail aliases.0 newaliases.0 sendmail.0
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
nroff -h -mandoc aliases.5 > aliases.0
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
nroff -h -mandoc newaliases.1 > newaliases.0
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
nroff -h -mandoc sendmail.8 > sendmail.0
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
|
@ -92,10 +97,10 @@ install-sendmail: sendmail
|
|||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 newaliases.0 sendmail.0
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 newaliases.0 sendmail.0
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
|
|
|
@ -0,0 +1,109 @@
|
|||
#
|
||||
# This Makefile is designed to work on the old "make" program. It does
|
||||
# not use the obj subdirectory. It also does not install documentation
|
||||
# automatically -- think of it as a quick start for sites that have the
|
||||
# old make program (I recommend that you get and port the new make if you
|
||||
# are going to be doing any signficant work on sendmail).
|
||||
#
|
||||
# NCR 3000 support from Kevin Darcy <kevin@tech.mis.cfc.com>.
|
||||
#
|
||||
# @(#)Makefile.NCR3000 8.2 (Berkeley) 4/16/94
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
O= -O
|
||||
|
||||
# define the database mechanisms available for map & alias lookups:
|
||||
# -DNDBM -- use new DBM
|
||||
# -DNEWDB -- use new Berkeley DB
|
||||
# -DNIS -- include NIS support
|
||||
# The really old (V7) DBM library is no longer supported.
|
||||
# See READ_ME for a description of how these flags interact.
|
||||
#
|
||||
DBMDEF= -DNDBM
|
||||
|
||||
# environment definitions (e.g., -D_AIX3)
|
||||
ENVDEF= -DNCR3000
|
||||
|
||||
# see also conf.h for additional compilation flags
|
||||
|
||||
# include directories
|
||||
INCDIRS=-I/usr/ucbinclude
|
||||
|
||||
# loader options
|
||||
LDOPTS=
|
||||
|
||||
# library directories
|
||||
LIBDIRS=-L/usr/ucblib
|
||||
|
||||
# libraries required on your system
|
||||
LIBS= -lsocket -lc -lelf -lucb -ldbm -lnet -lnsl
|
||||
|
||||
# location of sendmail binary (usually /usr/sbin or /usr/lib)
|
||||
BINDIR= ${DESTDIR}/usr/ucblib
|
||||
|
||||
# location of sendmail.st file (usually /var/log or /usr/lib)
|
||||
STDIR= ${DESTDIR}/var/ucblib
|
||||
|
||||
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
|
||||
HFDIR= ${DESTDIR}/usr/ucblib
|
||||
|
||||
# additional .o files needed
|
||||
OBJADD=
|
||||
|
||||
################### end of user configuration flags ######################
|
||||
|
||||
CFLAGS= -I. $O ${INCDIRS} ${DBMDEF} ${ENVDEF}
|
||||
|
||||
OBJS= alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o \
|
||||
deliver.o domain.o envelope.o err.o headers.o macro.o main.o \
|
||||
map.o mci.o parseaddr.o queue.o readcf.o recipient.o \
|
||||
savemail.o srvrsmtp.o stab.o stats.o sysexits.o \
|
||||
trace.o udb.o usersmtp.o util.o version.o ${OBJADD}
|
||||
|
||||
LINKS= ${DESTDIR}/usr/ucb/newaliases ${DESTDIR}/usr/ucb/mailq
|
||||
BINOWN= root
|
||||
BINGRP= kmem
|
||||
BINMODE=6555
|
||||
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
INSTALL=install
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
install-sendmail: sendmail
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
|
||||
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${STDIR}/sendmail.st
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
${OBJS}: sendmail.h conf.h
|
|
@ -7,6 +7,8 @@
|
|||
#
|
||||
# For Mips RISC/os 4.52.
|
||||
#
|
||||
# @(#)Makefile.RISCos 8.3 (Berkeley) 4/11/94
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
O= -O
|
||||
|
@ -67,7 +69,7 @@ BINOWN= root
|
|||
BINGRP= kmem
|
||||
BINMODE=6555
|
||||
|
||||
ALL= sendmail aliases.0 newaliases.0 sendmail.0
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
|
@ -81,14 +83,19 @@ dirent.h:
|
|||
echo "#include <sys/dir.h>" > dirent.h
|
||||
echo "#define dirent direct" >> dirent.h
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
nroff -h -mandoc aliases.5 > aliases.0
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
nroff -h -mandoc newaliases.1 > newaliases.0
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
nroff -h -mandoc sendmail.8 > sendmail.0
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
|
@ -100,10 +107,10 @@ install-sendmail: sendmail
|
|||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 newaliases.0 sendmail.0
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 newaliases.0 sendmail.0
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#
|
||||
# This has been tested on SCO.
|
||||
#
|
||||
# @(#)Makefile.SCO 8.4 (Berkeley) 4/12/94
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
O= -O
|
||||
|
@ -44,7 +46,7 @@ STDIR= ${DESTDIR}/usr/lib
|
|||
HFDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# additional .o files needed
|
||||
OBJADD= fsync.o
|
||||
OBJADD=
|
||||
|
||||
################### end of user configuration flags ######################
|
||||
|
||||
|
@ -61,21 +63,26 @@ BINOWN= root
|
|||
BINGRP= kmem
|
||||
BINMODE=6555
|
||||
|
||||
ALL= sendmail aliases.0 newaliases.0 sendmail.0
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
nroff -h -mandoc aliases.5 > aliases.0
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
nroff -h -mandoc newaliases.1 > newaliases.0
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
nroff -h -mandoc sendmail.8 > sendmail.0
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
|
@ -87,10 +94,10 @@ install-sendmail: sendmail
|
|||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 newaliases.0 sendmail.0
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 newaliases.0 sendmail.0
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
# <kim@grendel.lut.fi> -- I haven't tested this myself. It may
|
||||
# work on other SVR4 ports.
|
||||
#
|
||||
# @(#)Makefile.SVR4 8.3 (Berkeley) 4/11/94
|
||||
#
|
||||
|
||||
# make sure the shell constructs below use the right shell
|
||||
SHELL= /bin/sh
|
||||
|
@ -70,21 +72,26 @@ BINGRP= mail
|
|||
BINMODE=6555
|
||||
INSTALL=/usr/ucb/install
|
||||
|
||||
ALL= sendmail aliases.0 newaliases.0 sendmail.0
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
nroff -h -mandoc aliases.5 > aliases.0
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
nroff -h -mandoc newaliases.1 > newaliases.0
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
nroff -h -mandoc sendmail.8 > sendmail.0
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
|
@ -96,10 +103,10 @@ install-sendmail: sendmail
|
|||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 newaliases.0 sendmail.0
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 newaliases.0 sendmail.0
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
|
|
|
@ -0,0 +1,113 @@
|
|||
#
|
||||
# This Makefile is designed to work on the old "make" program. It does
|
||||
# not use the obj subdirectory. It also does not install documentation
|
||||
# automatically -- think of it as a quick start for sites that have the
|
||||
# old make program (I recommend that you get and port the new make if you
|
||||
# are going to be doing any signficant work on sendmail).
|
||||
#
|
||||
# You may find you need to find versions of some routines
|
||||
# such as strcasecmp in order to link this on SunOS 4.0.3.
|
||||
#
|
||||
# @(#)Makefile.SunOS.4.0.3 8.3 (Berkeley) 4/11/94
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
O= -O
|
||||
|
||||
# define the database mechanisms available for map & alias lookups:
|
||||
# -DNDBM -- use new DBM
|
||||
# -DNEWDB -- use new Berkeley DB
|
||||
# -DNIS -- include NIS support
|
||||
# The really old (V7) DBM library is no longer supported.
|
||||
# See READ_ME for a description of how these flags interact.
|
||||
#
|
||||
DBMDEF= -DNDBM -DNEWDB -DNIS
|
||||
|
||||
# environment definitions (e.g., -D_AIX3)
|
||||
ENVDEF= -DSUNOS403
|
||||
|
||||
# see also conf.h for additional compilation flags
|
||||
|
||||
# include directories
|
||||
INCDIRS=-I/usr/sww/include/db
|
||||
|
||||
# loader options
|
||||
LDOPTS= -Bstatic
|
||||
|
||||
# library directories
|
||||
LIBDIRS=-L/usr/sww/lib
|
||||
|
||||
# libraries required on your system
|
||||
LIBS= -ldb -ldbm -lresolv
|
||||
|
||||
# location of sendmail binary (usually /usr/sbin or /usr/lib)
|
||||
BINDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# location of sendmail.st file (usually /var/log or /usr/lib)
|
||||
STDIR= ${DESTDIR}/etc
|
||||
|
||||
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
|
||||
HFDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# additional .o files needed
|
||||
OBJADD=
|
||||
|
||||
BEFORE= stdlib.h stddef.h
|
||||
|
||||
################### end of user configuration flags ######################
|
||||
|
||||
CFLAGS= -I. $O ${INCDIRS} ${DBMDEF} ${ENVDEF}
|
||||
|
||||
OBJS= alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o \
|
||||
deliver.o domain.o envelope.o err.o headers.o macro.o main.o \
|
||||
map.o mci.o parseaddr.o queue.o readcf.o recipient.o \
|
||||
savemail.o srvrsmtp.o stab.o stats.o sysexits.o \
|
||||
trace.o udb.o usersmtp.o util.o version.o ${OBJADD}
|
||||
|
||||
LINKS= ${DESTDIR}/usr/ucb/newaliases ${DESTDIR}/usr/ucb/mailq
|
||||
BINOWN= root
|
||||
BINGRP= kmem
|
||||
BINMODE=6555
|
||||
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
stddef.h stdlib.h:
|
||||
cp /dev/null $@
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
install-sendmail: sendmail
|
||||
install -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
|
||||
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${STDIR}/sendmail.st
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
${OBJS}: sendmail.h conf.h
|
|
@ -0,0 +1,115 @@
|
|||
#
|
||||
# This Makefile is designed to work on the old "make" program. It does
|
||||
# not use the obj subdirectory. It also does not install documentation
|
||||
# automatically -- think of it as a quick start for sites that have the
|
||||
# old make program (I recommend that you get and port the new make if you
|
||||
# are going to be doing any signficant work on sendmail).
|
||||
#
|
||||
# This has been tested on Solaris 2.1 and 2.2.
|
||||
#
|
||||
# @(#)Makefile.Solaris 8.5 (Berkeley) 4/12/94
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
# warning: do not use -O with gcc
|
||||
O=
|
||||
|
||||
CC= gcc
|
||||
|
||||
# define the database mechanism used for alias lookups:
|
||||
# -DNDBM -- use new DBM
|
||||
# -DNEWDB -- use new Berkeley DB
|
||||
# -DNIS -- include NIS support
|
||||
# The really old (V7) DBM library is no longer supported.
|
||||
# See READ_ME for a description of how these flags interact.
|
||||
#
|
||||
DBMDEF= -DNDBM -DNIS
|
||||
|
||||
# environment definitions (e.g., -D_AIX3)
|
||||
# include -DSOLARIS_2_3 for version 2.3 and higher
|
||||
ENVDEF= -DSOLARIS
|
||||
|
||||
# see also conf.h for additional compilation flags
|
||||
|
||||
# include directories
|
||||
INCDIRS=-I/usr/sww/include/db
|
||||
|
||||
# library directories
|
||||
LIBDIRS=-L/usr/sww/lib
|
||||
|
||||
# libraries required on your system
|
||||
LIBS= -lresolv -lsocket -lnsl -lelf
|
||||
|
||||
# location of sendmail binary (usually /usr/sbin or /usr/lib)
|
||||
BINDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# location of sendmail.st file (usually /var/log or /usr/lib)
|
||||
STDIR= ${DESTDIR}/var/log
|
||||
|
||||
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
|
||||
HFDIR= ${DESTDIR}/etc/mail
|
||||
|
||||
# additional .o files needed
|
||||
OBJADD=
|
||||
|
||||
# things to be made before compilation begins
|
||||
BEFORE= sysexits.h
|
||||
|
||||
################### end of user configuration flags ######################
|
||||
|
||||
CFLAGS= -I. $O ${INCDIRS} ${DBMDEF} ${ENVDEF}
|
||||
|
||||
OBJS= alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o \
|
||||
deliver.o domain.o envelope.o err.o headers.o macro.o main.o \
|
||||
map.o mci.o parseaddr.o queue.o readcf.o recipient.o \
|
||||
savemail.o srvrsmtp.o stab.o stats.o sysexits.o \
|
||||
trace.o udb.o usersmtp.o util.o version.o ${OBJADD}
|
||||
|
||||
LINKS= ${DESTDIR}/usr/ucb/newaliases ${DESTDIR}/usr/ucb/mailq
|
||||
BINOWN= root
|
||||
BINGRP= sys
|
||||
BINMODE=6555
|
||||
INSTALL=/usr/ucb/install
|
||||
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
sysexits.h: /usr/ucbinclude/sysexits.h
|
||||
ln -s /usr/ucbinclude/sysexits.h
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
install-sendmail: sendmail
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
|
||||
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${STDIR}/sendmail.st
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
${OBJS}: sendmail.h conf.h
|
|
@ -0,0 +1,115 @@
|
|||
#
|
||||
# This Makefile is designed to work on the old "make" program. It does
|
||||
# not use the obj subdirectory. It also does not install documentation
|
||||
# automatically -- think of it as a quick start for sites that have the
|
||||
# old make program (I recommend that you get and port the new make if you
|
||||
# are going to be doing any signficant work on sendmail).
|
||||
#
|
||||
# This has been tested on Solaris 2.1 and 2.2.
|
||||
#
|
||||
# @(#)Makefile.Solaris 8.5 (Berkeley) 4/12/94
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
# warning: do not use -O with gcc
|
||||
O=
|
||||
|
||||
CC= gcc
|
||||
|
||||
# define the database mechanism used for alias lookups:
|
||||
# -DNDBM -- use new DBM
|
||||
# -DNEWDB -- use new Berkeley DB
|
||||
# -DNIS -- include NIS support
|
||||
# The really old (V7) DBM library is no longer supported.
|
||||
# See READ_ME for a description of how these flags interact.
|
||||
#
|
||||
DBMDEF= -DNDBM -DNIS
|
||||
|
||||
# environment definitions (e.g., -D_AIX3)
|
||||
# include -DSOLARIS_2_3 for version 2.3 and higher
|
||||
ENVDEF= -DSOLARIS
|
||||
|
||||
# see also conf.h for additional compilation flags
|
||||
|
||||
# include directories
|
||||
INCDIRS=-I/usr/sww/include/db
|
||||
|
||||
# library directories
|
||||
LIBDIRS=-L/usr/sww/lib
|
||||
|
||||
# libraries required on your system
|
||||
LIBS= -lresolv -lsocket -lnsl -lelf
|
||||
|
||||
# location of sendmail binary (usually /usr/sbin or /usr/lib)
|
||||
BINDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# location of sendmail.st file (usually /var/log or /usr/lib)
|
||||
STDIR= ${DESTDIR}/var/log
|
||||
|
||||
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
|
||||
HFDIR= ${DESTDIR}/etc/mail
|
||||
|
||||
# additional .o files needed
|
||||
OBJADD=
|
||||
|
||||
# things to be made before compilation begins
|
||||
BEFORE= sysexits.h
|
||||
|
||||
################### end of user configuration flags ######################
|
||||
|
||||
CFLAGS= -I. $O ${INCDIRS} ${DBMDEF} ${ENVDEF}
|
||||
|
||||
OBJS= alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o \
|
||||
deliver.o domain.o envelope.o err.o headers.o macro.o main.o \
|
||||
map.o mci.o parseaddr.o queue.o readcf.o recipient.o \
|
||||
savemail.o srvrsmtp.o stab.o stats.o sysexits.o \
|
||||
trace.o udb.o usersmtp.o util.o version.o ${OBJADD}
|
||||
|
||||
LINKS= ${DESTDIR}/usr/ucb/newaliases ${DESTDIR}/usr/ucb/mailq
|
||||
BINOWN= root
|
||||
BINGRP= sys
|
||||
BINMODE=6555
|
||||
INSTALL=/usr/ucb/install
|
||||
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
sysexits.h: /usr/ucbinclude/sysexits.h
|
||||
ln -s /usr/ucbinclude/sysexits.h
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
install-sendmail: sendmail
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
|
||||
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${STDIR}/sendmail.st
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
${OBJS}: sendmail.h conf.h
|
|
@ -0,0 +1,115 @@
|
|||
#
|
||||
# This Makefile is designed to work on the old "make" program. It does
|
||||
# not use the obj subdirectory. It also does not install documentation
|
||||
# automatically -- think of it as a quick start for sites that have the
|
||||
# old make program (I recommend that you get and port the new make if you
|
||||
# are going to be doing any signficant work on sendmail).
|
||||
#
|
||||
# This has been tested on Solaris 2.3.
|
||||
#
|
||||
# @(#)Makefile.SunOS.5.x 8.5 (Berkeley) 4/12/94
|
||||
#
|
||||
|
||||
# use O=-O (usual) or O=-g (debugging)
|
||||
# warning: do not use -O with gcc
|
||||
O=
|
||||
|
||||
CC= gcc
|
||||
|
||||
# define the database mechanism used for alias lookups:
|
||||
# -DNDBM -- use new DBM
|
||||
# -DNEWDB -- use new Berkeley DB
|
||||
# -DNIS -- include NIS support
|
||||
# The really old (V7) DBM library is no longer supported.
|
||||
# See READ_ME for a description of how these flags interact.
|
||||
#
|
||||
DBMDEF= -DNDBM -DNIS
|
||||
|
||||
# environment definitions (e.g., -D_AIX3)
|
||||
# include -DSOLARIS_2_3 for version 2.3 and higher
|
||||
ENVDEF= -DSOLARIS_2_3
|
||||
|
||||
# see also conf.h for additional compilation flags
|
||||
|
||||
# include directories
|
||||
INCDIRS=-I/usr/sww/include/db
|
||||
|
||||
# library directories
|
||||
LIBDIRS=-L/usr/sww/lib
|
||||
|
||||
# libraries required on your system
|
||||
LIBS= -lresolv -lsocket -lnsl -lelf
|
||||
|
||||
# location of sendmail binary (usually /usr/sbin or /usr/lib)
|
||||
BINDIR= ${DESTDIR}/usr/lib
|
||||
|
||||
# location of sendmail.st file (usually /var/log or /usr/lib)
|
||||
STDIR= ${DESTDIR}/var/log
|
||||
|
||||
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
|
||||
HFDIR= ${DESTDIR}/etc/mail
|
||||
|
||||
# additional .o files needed
|
||||
OBJADD=
|
||||
|
||||
# things to be made before compilation begins
|
||||
BEFORE= sysexits.h
|
||||
|
||||
################### end of user configuration flags ######################
|
||||
|
||||
CFLAGS= -I. $O ${INCDIRS} ${DBMDEF} ${ENVDEF}
|
||||
|
||||
OBJS= alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o \
|
||||
deliver.o domain.o envelope.o err.o headers.o macro.o main.o \
|
||||
map.o mci.o parseaddr.o queue.o readcf.o recipient.o \
|
||||
savemail.o srvrsmtp.o stab.o stats.o sysexits.o \
|
||||
trace.o udb.o usersmtp.o util.o version.o ${OBJADD}
|
||||
|
||||
LINKS= ${DESTDIR}/usr/ucb/newaliases ${DESTDIR}/usr/ucb/mailq
|
||||
BINOWN= root
|
||||
BINGRP= sys
|
||||
BINMODE=6555
|
||||
INSTALL=/usr/ucb/install
|
||||
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
sendmail: ${BEFORE} ${OBJS}
|
||||
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
|
||||
|
||||
sysexits.h: /usr/ucbinclude/sysexits.h
|
||||
ln -s /usr/ucbinclude/sysexits.h
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
install-sendmail: sendmail
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
|
||||
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${STDIR}/sendmail.st
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
${OBJS}: sendmail.h conf.h
|
|
@ -5,7 +5,7 @@
|
|||
# old make program (I recommend that you get and port the new make if you
|
||||
# are going to be doing any signficant work on sendmail).
|
||||
#
|
||||
# @(#)Makefile.dist 8.7 (Berkeley) 9/3/93
|
||||
# @(#)Makefile.Titan 8.3 (Berkeley) 4/11/94
|
||||
#
|
||||
|
||||
# put the compiler in BSD mode
|
||||
|
@ -70,7 +70,7 @@ BINOWN= root
|
|||
BINGRP= kmem
|
||||
BINMODE=6555
|
||||
|
||||
ALL= sendmail aliases.0 newaliases.0 sendmail.0
|
||||
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
|
@ -80,14 +80,19 @@ sendmail: ${BEFORE} ${OBJS}
|
|||
stddef.h stdlib.h:
|
||||
cp /dev/null $@
|
||||
|
||||
NROFF= nroff -h
|
||||
|
||||
aliases.0: aliases.5
|
||||
nroff -h -mandoc aliases.5 > aliases.0
|
||||
${NROFF} -mandoc aliases.5 > aliases.0
|
||||
|
||||
mailq.0: mailq.1
|
||||
${NROFF} -mandoc mailq.1 > mailq.0
|
||||
|
||||
newaliases.0: newaliases.1
|
||||
nroff -h -mandoc newaliases.1 > newaliases.0
|
||||
${NROFF} -mandoc newaliases.1 > newaliases.0
|
||||
|
||||
sendmail.0: sendmail.8
|
||||
nroff -h -mandoc sendmail.8 > sendmail.0
|
||||
${NROFF} -mandoc sendmail.8 > sendmail.0
|
||||
|
||||
install: install-sendmail install-docs
|
||||
|
||||
|
@ -99,10 +104,10 @@ install-sendmail: sendmail
|
|||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
|
||||
|
||||
# doesn't actually install them -- you may want to install pre-nroff versions
|
||||
install-docs: aliases.0 newaliases.0 sendmail.0
|
||||
install-docs: aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS} sendmail aliases.0 newaliases.0 sendmail.0
|
||||
rm -f ${OBJS} sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
|
||||
|
||||
# dependencies
|
||||
# gross overkill, and yet still not quite enough....
|
||||
|
|
Loading…
Reference in New Issue