1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Remove useless (for us) Makefiles. There were already other "Makefile.dist"

files missing, so these shouldn't hurt.  If somebody wanted to use sendmail
8.7 on their machine, they should use a clean dist anyway, not this one.

Submitted by: wollman
This commit is contained in:
Peter Wemm 1996-02-22 19:58:32 +00:00
parent 32e3ec14af
commit e7f6729d6c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14192
56 changed files with 0 additions and 6351 deletions

View File

@ -1,43 +0,0 @@
# @(#)Makefile.386BSD 8.3 (Berkeley) 9/13/95
PROG= sendmail
# define the database format to use for aliases et al. Can be -DNEWDB (for
# the new BSD database package -- this is preferred) or -DNDBM for the NDBM
# database package. The old putrescent V7 DBM package is no longer
# supported.
# You can define both NEWDB and NDBM during a transition period; old
# databases are read, but the new format will be used on any rebuilds. On
# really gnarly systems, you can set this to null; it will crawl like a high
# spiral snail, but it will work.
DBMDEF= -DNEWDB
CFLAGS+=-I${.CURDIR} ${DBMDEF} -DMIME
SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
util.c version.c
DPADD=
LDADD= $(LIBUTIL)
MAN1= newaliases.0 mailq.0
MAN5= aliases.0
MAN8= sendmail.0
LINKS= /usr/sbin/sendmail /usr/bin/newaliases \
/usr/sbin/sendmail /usr/bin/mailq
INSTALL=install
BINDIR= /usr/sbin
BINOWN= root
BINGRP= kmem
BINMODE=6555
beforeinstall:
# ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
# ${DESTDIR}/etc/sendmail.fc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>

View File

@ -1,113 +0,0 @@
#
# 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).
#
# @(#)Makefile.A-UX 8.12 (Berkeley) 9/13/95
#
# Tested on A/UX 3.1.
#
# 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.
# If you are running A/UX prior to 3.1, delete -DNEWDB
DBMDEF= -DNDBM -DNEWDB
# environment definitions (e.g., -D_AIX3)
ENVDEF= -D_POSIX_SOURCE
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# loader options
LDOPTS=
# library directories
LIBDIRS=
# libraries required on your system
# If you are running A/UX prior to 3.1, delete -ldb
LIBS= -ldbm -ldb -lposix -lmalloc
# 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=
################### 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= sys
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,116 +0,0 @@
#
# 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 AIX 3.1.5 and 3.2.3e.
#
# @(#)Makefile.AIX 8.10 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
# you can use -O3 on AIX 3.2.4 or greater ONLY!
O= -g
# 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 -DNEWDB -DNIS
#
# If you did not install the NEWDB on your AIX platform, use:
#DBMDEF=-DNDBM
# environment definitions (e.g., -D_AIX3)
ENVDEF= -D_AIX3
# see also conf.h for additional compilation flags
# include directories
#INCDIRS=-I/usr/sww/include
# library directories
#LIBDIRS=-L/usr/sww/lib
# libraries required on your system -- add -ls if you define USEGETCONFATTR
LIBS= -ldbm -ldb
#
# If you did not install the NEWDB on your AIX platform, use:
#LIBS= -ldbm
# location of sendmail binary (usually /usr/sbin or /usr/lib)
BINDIR= ${DESTDIR}/usr/sbin
# 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=
################### 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 mime.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/sbin/newaliases ${DESTDIR}/usr/sbin/mailq
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= system
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${STDIR}/sendmail.st
${INSTALL} -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
depend:

View File

@ -1,109 +0,0 @@
#
# 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 Altos System V.
#
# @(#)Makefile.Altos 8.4 (Berkeley) 9/13/95
#
# 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=
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DALTOS_SYS_V
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lsocket -lrpc
# 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=
################### 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,37 +0,0 @@
#
# This Makefile is for BSDI boxes running BSD-OS (formerly BSD-386).
#
# @(#)Makefile.BSD-OS 8.4 (Berkeley) 9/13/95
#
PROG= sendmail
DBMDEF= -DNEWDB
CFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO
SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
util.c version.c
DPADD= ${LIBUTIL} ${LIBKVM}
LDADD= -lutil -lkvm
MAN1= mailq.0 newaliases.0
MAN5= aliases.0
MAN8= sendmail.0
LINKS= /usr/sbin/sendmail /usr/bin/newaliases \
/usr/sbin/sendmail /usr/bin/mailq
INSTALL=install
BINDIR= /usr/sbin
BINOWN= root
BINGRP= kmem
BINMODE=6555
beforeinstall:
# ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
# ${DESTDIR}/etc/sendmail.fc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>

View File

@ -1,128 +0,0 @@
#
# 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 is based on work from Jim Oldroyd -- I believe he was
# using a fairly old Mt Xinu port.
#
# It should also work on UMIPS-BSD from MIPS, if you still have
# any lying around.
#
# @(#)Makefile.BSD43 8.8 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# 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= -DoldBSD43
# see also conf.h for additional compilation flags
# include directories
#INCDIRS=-I/usr/sww/include
# library directories
#LIBDIRS=-L/usr/sww/lib
# libraries required on your system
LIBS= -ldbm -lresolv -ll
# 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 stddef.h stdlib.h dirent.h sys/time.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 mime.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
INSTALL=install
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
unistd.h stddef.h stdlib.h sys/time.h:
cp /dev/null $@
sys/time.h: sys
sys:
mkdir sys
dirent.h:
echo "#include <sys/dir.h>" > dirent.h
echo "#define dirent direct" >> dirent.h
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,119 +0,0 @@
#
# 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.5 (Berkeley) 9/13/95
#
# 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 mime.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
INSTALL=cp
BINOWN= root
BINGRP= mail
BINMODE=6555
ALL= sendmail # aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,114 +0,0 @@
#
# 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 -- which is fine since there is no nroff under CSOS.
#
# Contributed by Scott Bolte <scott@craycos.com>.
#
# @(#)Makefile.CSOS 8.6 (Berkeley) 9/13/95
#
# 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.
#
# Contact CCC for new db support. If all goes well, it should be
# available soon.
#
DBMDEF=
# environment definitions (e.g., -D_AIX3)
ENVDEF=
# see also conf.h for additional compilation flags
# include directories
#INCDIRS=-I/usr/sww/include
# loader options
LDOPTS=
# library directories
#LIBDIRS=-L/usr/sww/lib
# libraries required on your system
#LIBS= -ldb -ldbm
LIBS= -lnet
# 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=
################### 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 mime.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
INSTALL=cpset
BINOWN= root
BINGRP= kmem
BINMODE=6555
SHELL= /bin/sh
ALL= sendmail
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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-sendmail: sendmail
${INSTALL} sendmail ${BINDIR} ${BINMODE} ${BINOWN} ${BINGRP}
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
${INSTALL} /dev/null ${STDIR}/sendmail.st 644 ${BINOWN} ${BINGRP}
${INSTALL} sendmail.hf ${HFDIR} 444 ${BINOWN} ${BINGRP}
# 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
depend:

View File

@ -1,110 +0,0 @@
#
# 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 CxOS 11.0 beta 1 and 10.x.
#
# @(#)Makefile.ConvexOS 8.9 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -g -D__STDC__ -d non_int_bit_field
# 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 -DYPCOMPAT -DNIS
# environment definitions (e.g., -D_AIX3)
ENVDEF=
# see also conf.h for additional compilation flags
# include directories
#INCDIRS=-I/usr/sww/include
# library directories
#LIBDIRS=-L/usr/sww/lib
# libraries required on your system
LIBS=
# 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=
################### 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,117 +0,0 @@
#
# 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).
#
# Based on a Makefile for Dell SVR4 Issue 2.2 from Kimmo Suominen
# <kim@grendel.lut.fi> -- I haven't tested this myself. It may
# work on other SVR4 ports.
#
# @(#)Makefile.Dell 8.7 (Berkeley) 9/13/95
#
# make sure the shell constructs below use the right shell
SHELL= /bin/sh
# use O=-O (usual) or O=-g (debugging)
O= -O2
CC= gcc
#DESTDIR=/usr/local/sendmail
# 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= -DNEWDB -DNDBM
# environment definitions (e.g., -D_AIX3)
ENVDEF= -D__svr4__
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -ldb -ldbm -lresolv -lsocket -lnsl -lelf
# 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}/usr/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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= mail
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,128 +0,0 @@
#
# 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.10 (Berkeley) 10/29/95
#
#
# 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
LIBS= -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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,118 +0,0 @@
#
# Tested on Dynix 3.2.0.
#
# From Jim Davis <jdavis@cs.arizona.edu>.
#
# ``There is no strtol in libc (well there is in the 'att universe'
# libc, but I couldn't figure out how to link that in), so I
# got the Chris Torek strtol.c from bsd-sources on uunet and
# compiled that. There is no native ndbm either; I couldn't
# get db 1.72 to pass it's regression test, so I used gdbm-1.7
# instead. I compiled it with gcc 1.40a. The -lseq is to pick
# up getopt.''
#
# @(#)Makefile.Dynix 8.7 (Berkeley) 9/13/95
#
CC= gcc
# use O=-O (usual) or O=-g (debugging)
O= -O -g
# 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=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# loader options
LDOPTS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lseq -lgdbm
# 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=strtol.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 mime.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
INSTALL=install
BINOWN= root
BINGRP= staff # no kmem group,
BINMODE=4555 # so not setgid
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,132 +0,0 @@
#
# 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 NEC EWS-UX/V 4.2
#
# @(#)Makefile.EWS-UX_V 8.5 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# make sure that /usr/abiccs/bin/cc is used (do not use /usr/ucb/cc).
#CC= /bin/cc -KOlimit=900
CC= /usr/abiccs/bin/cc -KOlimit=900
# 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)
ENVDEF= -Dnec_ews_svr4
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= ndbm.o -lsocket -lnsl -lelf -lresolv # -l44bsd # with NDBM
#LIBS= -lsocket -lnsl -lelf -ldb -lresolv # -l44bsd # with NEWDB
# 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}/var/ucblib
# additional .o files needed
OBJADD=
# things to be made before compilation begins
BEFORE= sysexits.h ndbm.h ndbm.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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
echo '#ifndef _LOCAL_SYSEXITS_H_' > sysexits.h;
echo '#define _LOCAL_SYSEXITS_H_' >> sysexits.h;
cat /usr/abiccs/ucbinclude/sysexits.h >> sysexits.h;
echo '#endif /* _LOCAL_SYSEXITS_H_ */' >> sysexits.h;
# ln -s /usr/abiccs/ucbinclude/sysexits.h .
ndbm.h:
ln -s /usr/abiccs/ucbinclude/ndbm.h .
ndbm.o:
ar x /usr/abiccs/ucblib/libucb.a ndbm.o
# ar x /usr/ucblib/libucb.a ndbm.o
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,50 +0,0 @@
#
# Makefile for FreeBSD
#
# @(#)Makefile.FreeBSD 8.4 (Berkeley) 9/13/95
PROG= sendmail
# define the database format to use for aliases et al. Can be -DNEWDB (for
# the new BSD database package -- this is preferred) or -DNDBM for the NDBM
# database package. The old putrescent V7 DBM package is no longer
# supported.
# You can define both NEWDB and NDBM during a transition period; old
# databases are read, but the new format will be used on any rebuilds. On
# really gnarly systems, you can set this to null; it will crawl like a high
# spiral snail, but it will work.
DBMDEF= -DNEWDB
CFLAGS+=-I${.CURDIR} ${DBMDEF}
SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
util.c version.c
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= mailq.1 newaliases.1
MAN5= aliases.5
MAN8= sendmail.8
LINKS= /usr/sbin/sendmail /usr/bin/newaliases \
/usr/sbin/sendmail /usr/bin/mailq
INSTALL=install
BINDIR= /usr/sbin
BINOWN= root
BINGRP= kmem
BINMODE=6555
beforeinstall:
# ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
# ${DESTDIR}/etc/sendmail.fc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>

View File

@ -1,114 +0,0 @@
#
# 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 HP-UX 9.05 on 7xx series and HP-UX 9.04
# on 8xx series.
#
# @(#)Makefile.HP-UX 8.14 (Berkeley) 11/1/95
#
CC= cc -Aa -D_HPUX_SOURCE
# use O=-O (usual) or O=-g (debugging)
# +O is OK on 7xx, and 300xx at 9.0
O= +O1
# 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 -DNEWDB -DNIS
# environment definitions (e.g., -D_AIX3)
ENVDEF=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -lresolv if you are not running BIND 4.9.x
LIBS= -ldb -lndbm -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=
################### 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= mail
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
cpset sendmail ${BINDIR} ${BINMODE} ${BINOWN} ${BINGRP}
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
cpset /dev/null ${STDIR}/sendmail.st 644 ${BINOWN} ${BINGRP}
cpset sendmail.hf ${HFDIR} 444 ${BINOWN} ${BINGRP}
# 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
depend:

View File

@ -1,114 +0,0 @@
#
# 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 HP-UX 10.x. Changes for 10.0 contributed
# by John Beck of Hewlett-Packard.
#
# @(#)Makefile.HP-UX.10.x 8.8 (Berkeley) 11/1/95
#
CC= cc -Aa -D_HPUX_SOURCE
# use O=-O (usual) or O=-g (debugging)
# +O is OK on 7xx, and 300xx at 9.0
O= +O3
# 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 -DNEWDB -DNIS
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DV4FS
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -lresolv if you are not running BIND 4.9.x
LIBS= -ldb -lndbm -lresolv
# location of sendmail binary (usually /usr/sbin or /usr/lib)
BINDIR= ${DESTDIR}/usr/sbin
# location of sendmail.st file (usually /var/log or /usr/lib)
STDIR= ${DESTDIR}/etc/mail
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
HFDIR= ${DESTDIR}/usr/share/lib
# 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= mail
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
cpset sendmail ${BINDIR} ${BINMODE} ${BINOWN} ${BINGRP}
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
cpset /dev/null ${STDIR}/sendmail.st 644 ${BINOWN} ${BINGRP}
cpset sendmail.hf ${HFDIR} 444 ${BINOWN} ${BINGRP}
# 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
depend:

View File

@ -1,113 +0,0 @@
#
# 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 IRIX 4.0.4.
#
# @(#)Makefile.IRIX 8.10 (Berkeley) 9/13/95
#
SHELL= /bin/sh
# use O=-O (usual) or O=-g (debugging)
O= -O
CC=gcc
# define the database mechanisms available for map & alias lookups:
# -DNDBM -- use new DBM
# -DNEWDB -- use new Berkeley DB (requires -ldb)
# -DNIS -- include NIS support (requires -lsun)
# 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)
ENVDEF= -DIRIX
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lmld -lmalloc -lsun
# 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=
################### 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 mime.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/bsd/newaliases ${DESTDIR}/usr/bsd/mailq
INSTALL=install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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} -u ${BINOWN} -g ${BINGRP} -m ${BINMODE} -f ${BINDIR} sendmail
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
cp /dev/null ${STDIR}/sendmail.st
chmod 644 ${STDIR}/sendmail.st
chown ${BINOWN} ${STDIR}/sendmail.st
chgrp ${BINGRP} ${STDIR}/sendmail.st
${INSTALL} -u ${BINOWN} -g ${BINGRP} -m 444 -f ${HFDIR} sendmail.hf
# 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
depend:

View File

@ -1,115 +0,0 @@
#
# 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).
#
# Tested on IRIX 5.3 by Kari E. Hurtta <Kari.Hurtta@fmi.fi>.
#
# @(#)Makefile.IRIX.5.x 8.7 (Berkeley) 9/26/95
#
SHELL= /bin/sh
# 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 (requires -ldb)
# -DNIS -- include NIS support (requires -lsun)
# The really old (V7) DBM library is no longer supported.
# See READ_ME for a description of how these flags interact.
#
# N.B.: Include -D__BIT_TYPES_DEFINED__ if you use -DNEWDB!
#
DBMDEF= -DNDBM -DNIS
#DBMDEF= -DNDBM -DNIS -DNEWDB -D__BIT_TYPES_DEFINED__
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DIRIX5
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lmld -lmalloc -lsun
# 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
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
HFDIR= ${DESTDIR}/usr/lib
# 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 mime.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/bsd/newaliases ${DESTDIR}/usr/bsd/mailq
INSTALL=install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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} -u ${BINOWN} -g ${BINGRP} -m ${BINMODE} -f ${BINDIR} sendmail
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
cp /dev/null ${STDIR}/sendmail.st
chmod 644 ${STDIR}/sendmail.st
chown ${BINOWN} ${STDIR}/sendmail.st
chgrp ${BINGRP} ${STDIR}/sendmail.st
${INSTALL} -u ${BINOWN} -g ${BINGRP} -m 444 -f ${HFDIR} sendmail.hf
# 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
depend:

View File

@ -1,114 +0,0 @@
#
# 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 IRIX64 6.0.
# Changes from Mark R. Levinson <ml@cvdev.rochester.edu>.
#
# @(#)Makefile.IRIX64 8.4 (Berkeley) 9/13/95
#
SHELL= /bin/sh
# use O=-O (usual) or O=-g (debugging)
O= -O
CC=gcc
# define the database mechanisms available for map & alias lookups:
# -DNDBM -- use new DBM
# -DNEWDB -- use new Berkeley DB (requires -ldb)
# -DNIS -- include NIS support (requires -lsun)
# 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= -DIRIX64
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lelf -lmalloc
# 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=
################### 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 mime.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/bsd/newaliases ${DESTDIR}/usr/bsd/mailq
INSTALL=install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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} -u ${BINOWN} -g ${BINGRP} -m ${BINMODE} -f ${BINDIR} sendmail
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
cp /dev/null ${STDIR}/sendmail.st
chmod 644 ${STDIR}/sendmail.st
chown ${BINOWN} ${STDIR}/sendmail.st
chgrp ${BINGRP} ${STDIR}/sendmail.st
${INSTALL} -u ${BINOWN} -g ${BINGRP} -m 444 -f ${HFDIR} sendmail.hf
# 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
depend:

View File

@ -1,108 +0,0 @@
#
# Makefile for ISC (SunSoft) UNIX.
#
# Contributed by J.J. Bailey <jjb@jagware.bcc.com>
#
# @(#)Makefile.ISC 8.8 (Berkeley) 9/13/95
#
# 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 -DNIS
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DISC_UNIX -D_POSIX_SOURCE -D_SYSV3
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/local/include
# loader options
LDOPTS=
# library directories
LIBDIRS=-L/usr/local/lib
# libraries required on your system
LIBS= -lyp -lrpc -lndbm -linet -lcposix
# 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/spool/log
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
HFDIR= ${DESTDIR}/usr/lib
# 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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,112 +0,0 @@
#
# 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 KSR OS 1.2.2. Contributed by Todd C. Miller
# <Todd.Miller@cs.colorado.edu>
#
# @(#)Makefile.KSR 8.2 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# 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 -DNEWDB -DNIS
# environment definitions (e.g., -D_AIX3)
ENVDEF=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib -L/usr/shlib -L/usr/lib
# libraries required on your system
# delete -lresolv if you are not running BIND 4.9.x
LIBS= -ldbm -ldb -lresolv
# location of sendmail binary (usually /usr/sbin or /usr/lib)
BINDIR= ${DESTDIR}/usr/sbin
# location of sendmail.st file (usually /var/log or /usr/lib)
STDIR= ${DESTDIR}/var/adm/sendmail
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
HFDIR= ${DESTDIR}/usr/share/lib
# 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 mime.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= ${BINDIR}/newaliases ${BINDIR}/mailq
INSTALL=installbsd
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${LDADD} ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
cp /dev/null ${STDIR}/sendmail.st
chmod 644 ${STDIR}/sendmail.st
chown ${BINOWN}.${BINGRP} ${STDIR}/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
rm -f /usr/sbin/smtpd
# 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

View File

@ -1,147 +0,0 @@
#
# 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).
#
# @(#)Makefile.LUNA 8.5 (Berkeley) 9/13/95
#
# 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=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# loader options
LDOPTS=
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
LIBS=
# 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= dirent.h stddef.h stdlib.h unistd.h limits.h time.h sys/time.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 mime.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
INSTALL=install
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}
dirent.h:
echo "#include <sys/dir.h>" > dirent.h
echo "#define dirent direct" >> dirent.h
stddef.h unistd.h limits.h:
if [ -f /usr/include/$@ ]; then \
ln -s /usr/include/$@ .; \
else \
cp /dev/null $@; \
fi
stdlib.h:
if [ -f /usr/include/stdlib.h ]; then \
ln -s /usr/include/stdlib.h .; \
else \
if [ -f /usr/include/libc.h ]; then \
ln -s /usr/include/libc.h stdlib.h; \
else \
cp /dev/null stdlib.h; \
fi; \
fi
# just for UNIOS-B
time.h:
echo "#ifndef _LOCAL_TIME_H_" > time.h
echo "#define _LOCAL_TIME_H_" >> time.h
cat /usr/include/time.h >> time.h
echo "#endif" >> time.h
sys/time.h:
-mkdir sys
echo "#ifndef _LOCAL_SYS_TIME_H_" > sys/time.h
echo "#define _LOCAL_SYS_TIME_H_" >> sys/time.h
cat /usr/include/sys/time.h >> sys/time.h
echo "#endif" >> sys/time.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
depend:

View File

@ -1,134 +0,0 @@
#
# 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 Linux 0.99p10.
#
# Linux doesn't really have standard places to install things, so this
# Makefile is likely to require a lot of customization. Read it over
# carefully before proceeding.
#
# If you don't want to install the Berkeley db package, remove -DNEWDB
# from DBMDEF and -ldb from LIBS (but please consider installing it; see
# the READ_ME file for details).
#
# This assumes libc 4.7.0 or later. If you have an earlier version of
# the library, you may need to add -lbsd to LIBS *or* add -DHASSNPRINTF=0
# to ENVDEF. If you are running libc < 4.4.4, you must use -DHASSNPRINTF=0
# (or upgrade your libc -- an even better idea!).
#
# @(#)Makefile.Linux 8.15 (Berkeley) 9/26/95
#
# 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
# environment definitions (e.g., -D_AIX3)
ENVDEF=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/local/include
# library directories
LIBDIRS=-L/usr/local/lib
# libraries required on your system
LIBS= -lgdbm -ldb
# location of sendmail binary (usually /usr/sbin or /usr/lib)
BINDIR= ${DESTDIR}/usr/sbin
# 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=
# additional pseudo-sources needed
BEFORE=
################### 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${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
NROFF= groff -Tascii
MANDOC= -mandoc
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
cp /dev/null ${STDIR}/sendmail.st
chmod 644 ${STDIR}/sendmail.st
chown ${BINOWN} ${STDIR}/sendmail.st
chgrp ${BINGRP} ${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
depend:

View File

@ -1,112 +0,0 @@
#
# 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).
#
# @(#)Makefile.Mach386 8.7 (Berkeley) 9/13/95
#
CC= gcc
# 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=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# loader options
LDOPTS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -ldbm
# 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=
################### 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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,113 +0,0 @@
#
# 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>
# and Tom Moore <tmoore@fievel.DaytonOH.NCR.COM>.
#
# @(#)Makefile.NCR3000 8.11 (Berkeley) 9/13/95
#
# 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/include -I/usr/ucbinclude
# loader options
LDOPTS=
# library directories
LIBDIRS=-L/usr/ucblib
# libraries required on your system
LIBS= -lnsl -lnet -lsocket -lelf -lc -lucb
# 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 mime.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
INSTALL=/usr/ucb/install
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= /usr/ucb/nroff -h
#NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,110 +0,0 @@
#
# 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).
#
# @(#)Makefile.NEWS-OS.4.x 8.4 (Berkeley) 9/13/95
#
# 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=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# loader options
LDOPTS=
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
LIBS= -lmld
# 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=
################### 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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,133 +0,0 @@
#
# 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 NEWS-OS 6.0.3
#
# @(#)Makefile.NEWS-OS.6.x 8.5 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O=
# make sure that /bin/cc is used (do not use /usr/ucb/cc).
CC= /bin/cc
# 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)
# define SYSLOG_BUFSIZE=256 if you have a problem on syslog buffer size
# define SPT_TYPE=SPT_NONE if you are using NEWS-OS 6.0.1
ENVDEF= -DSYSLOG_BUFSIZE=256 # -DSPT_TYPE=SPT_NONE
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
# -lndbm can be used instead of ndbm.o with NEWS-OS 6.1 or later
LIBS= ndbm.o -lelf -lsocket -lnsl -lresolv # -l44bsd # with NDBM
#LIBS= -lelf -lsocket -lnsl -ldb -lresolv # -l44bsd # with NEWDB
# 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=
# things to be made before compilation begins
BEFORE= sysexits.h ndbm.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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
ln -s /usr/ucbinclude/sysexits.h .
ndbm.o:
if [ ! -f /usr/include/ndbm.h ]; then \
ln -s /usr/ucbinclude/ndbm.h .; \
fi; \
if [ -f /usr/lib/libndbm.a ]; then \
ar x /usr/lib/libndbm.a ndbm.o; \
else \
ar x /usr/ucblib/libucb.a ndbm.o; \
fi;
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,128 +0,0 @@
#
# 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 NEXTSTEP 3.3.
#
# @(#)Makefile.NEXTSTEP 8.4 (Berkeley) 9/14/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# NEXTSTEP 3.1 and 3.2 only support m68k and i386
ARCH= -arch m68k -arch i386 -arch hppa -arch sparc
#ARCH= -arch m68k -arch i386
COPTS= -Wno-precomp -pipe
# 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 -DNIS -DNETINFO
#DBMDEF= -DNDBM -DNEWDB -DNIS -DNETINFO
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DNeXT
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/local/include
# library directories
LIBDIRS=-L/usr/local/lib
# libraries required on your system
LIBS= -ldbm
#LIBS= -ldbm -ldb
# 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/sendmail
# 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. $O ${INCDIRS} ${DBMDEF} ${ENVDEF} ${COPTS} ${ARCH}
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 mime.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
INSTALL=install
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} ${ARCH} -o sendmail ${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
NROFF= groff -Tascii
MANDOC= -mandoc
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} -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
cp /dev/null ${STDIR}/sendmail.st
chown ${BINOWN}.${BINGRP} ${STDIR}/sendmail.st
chmod 644 ${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
depend:

View File

@ -1,122 +0,0 @@
#
# 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 NeXT 2.1.
#
# @(#)Makefile.NeXT 8.10 (Berkeley) 9/13/95
#
# 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 -DNIS -DNETINFO
#DBMDEF= -DNDBM -DNEWDB -DNIS -DNETINFO
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DNeXT
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/local/include
# library directories
LIBDIRS=-L/usr/local/lib
# libraries required on your system
LIBS= -ldbm
#LIBS= -ldbm -ldb
# 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/sendmail
# 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. $O ${INCDIRS} ${DBMDEF} ${ENVDEF} ${COPTS}
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 mime.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
INSTALL=install
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${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
NROFF= groff -Tascii
MANDOC= -mandoc
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} -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} sendmail ${BINDIR}
for i in ${LINKS}; do rm -f $$i; ln -s ${BINDIR}/sendmail $$i; done
cp /dev/null ${STDIR}/sendmail.st
chown ${BINOWN}.${BINGRP} ${STDIR}/sendmail.st
chmod 644 ${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
depend:

View File

@ -1,47 +0,0 @@
#
# NetBSD Makefile
#
# @(#)Makefile.NetBSD 8.3 (Berkeley) 9/13/95
# @Id: Makefile.NetBSD,v 1.3 1994/02/01 05:33:44 glass Exp $
#
PROG= sendmail
# define the database format to use for aliases et al. Can be -DNEWDB (for
# the new BSD database package -- this is preferred) or -DNDBM for the NDBM
# database package. The old putrescent V7 DBM package is no longer
# supported.
# You can define both NEWDB and NDBM during a transition period; old
# databases are read, but the new format will be used on any rebuilds. On
# really gnarly systems, you can set this to null; it will crawl like a high
# spiral snail, but it will work.
DBMDEF= -DNEWDB -DNIS
#nasty warning about gcc 2.4.x caused bugs
CFLAGS=-I${.CURDIR} ${DBMDEF} -DNETISO
#CFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO
SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
util.c version.c
MAN1= mailq.0 newaliases.0
MAN5= aliases.0
MAN8= sendmail.0
LINKS= /usr/sbin/sendmail /usr/bin/newaliases \
/usr/sbin/sendmail /usr/bin/mailq
INSTALL=install
BINDIR= /usr/sbin
BINOWN= root
BINMODE=4555
beforeinstall:
# ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
# ${DESTDIR}/etc/sendmail.fc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>

View File

@ -1,116 +0,0 @@
#
# 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).
#
# Tandem Support from Rick McCarty <mccarty@mpd.tandem.com>.
# (I don't think this actually compiles cleanly -- I had trouble
# integrating Rick's changes. EPA 6/94)
#
# @(#)Makefile.NonStop-UX 8.6 (Berkeley) 9/13/95
#
# 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= -DNonStop_UX_BXX -D_SVID
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/include -I/usr/ucbinclude
# library directories
LIBDIRS=-L/usr/ucblib
# libraries required on your system
LIBS= -lresolv -lsocket -lnsl -lelf -lucb
# 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}/usr/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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= mail
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,118 +0,0 @@
#
# 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 OSF/1 1.3
#
# @(#)Makefile.OSF1 8.9 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# native compiler requires -Olimit to optimize properly
CC= cc -Olimit 1000
# 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 -DNEWDB -DNIS
# environment definitions (e.g., -D_AIX3)
ENVDEF=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib -L/usr/shlib -L/usr/lib
# libraries required on your system
# delete -lresolv if you are not running BIND 4.9.x
LIBS= -ldbm -ldb -lresolv
# location of sendmail binary (usually /usr/sbin or /usr/lib)
BINDIR= ${DESTDIR}/usr/sbin
# location of sendmail.st file (usually /var/log or /usr/lib)
STDIR= ${DESTDIR}/var/adm/sendmail
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
HFDIR= ${DESTDIR}/usr/share/lib
# additional .o files needed
OBJADD=
# additional link flags
#LDADD= -non_shared
################### 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 mime.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= ${BINDIR}/newaliases ${BINDIR}/mailq
INSTALL=installbsd
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${LDADD} ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
cp /dev/null ${STDIR}/sendmail.st
chmod 644 ${STDIR}/sendmail.st
chown ${BINOWN}.${BINGRP} ${STDIR}/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
rm -f /usr/sbin/smtpd
# 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
depend:

View File

@ -1,117 +0,0 @@
#
# 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).
#
# For Sequent DYNIX/ptx.
#
# From Tim "Pinball Wizard" Wright <timw@sequent.com>.
#
# @(#)Makefile.PTX 8.8 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -g
# 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=
# see also conf.h for additional compilation flags
# include directories
#INCDIRS=-I/usr/sww/include
INCDIRS=
# loader options
LDOPTS=
# library directories
#LIBDIRS=-L/usr/sww/lib
LIBDIRS=
# libraries required on your system
#LIBS= -ldb -ldbm
LIBS= -lsocket -linet -lnsl -lseq
# 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=
################### 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: $& ${BEFORE} ${OBJS}
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,114 +0,0 @@
#
# 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 OSF/1 1.3
#
# @(#)Makefile.Paragon 8.5 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# 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=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib -L/usr/shlib -L/usr/lib
# libraries required on your system
LIBS= -ldbm
# location of sendmail binary (usually /usr/sbin or /usr/lib)
BINDIR= ${DESTDIR}/usr/sbin
# location of sendmail.st file (usually /var/log or /usr/lib)
STDIR= ${DESTDIR}/var/adm/sendmail
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
HFDIR= ${DESTDIR}/usr/share/lib
# additional .o files needed
OBJADD=
# additional link flags
#LDADD= -non_shared
################### 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 mime.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= ${BINDIR}/newaliases ${BINDIR}/mailq
INSTALL=installbsd
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${LDADD} ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
cp /dev/null ${STDIR}/sendmail.st
chmod 644 ${STDIR}/sendmail.st
chown ${BINOWN}.${BINGRP} ${STDIR}/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 sendmail.hf ${HFDIR}
rm -f /usr/sbin/smtpd
# 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
depend:

View File

@ -1,122 +0,0 @@
#
# 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).
#
# For Mips RISC/os 4.52.
#
# @(#)Makefile.RISCos 8.11 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# be sure we are compiling in BSD mode
CC= cc -systype bsd43 -Olimit 900
# 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= -DRISCOS
# see also conf.h for additional compilation flags
# include directories
#INCDIRS=-I/usr/sww/include
# library directories
#LIBDIRS=-L/usr/sww/lib
# libraries required on your system
LIBS= -lmld
# 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=
# additional pseudo-sources needed
BEFORE= stdlib.h dirent.h unistd.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 mime.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
INSTALL=/usr/bsd43/bin/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
stdlib.h unistd.h stddef.h:
cp /dev/null $@
dirent.h:
echo "#include <sys/dir.h>" > dirent.h
echo "#define dirent direct" >> dirent.h
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,109 +0,0 @@
#
# 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 SCO.
#
# @(#)Makefile.SCO 8.8 (Berkeley) 9/13/95
#
# 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=
# environment definitions (e.g., -D_AIX3)
ENVDEF= -D_SCO_unix_
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lsocket
# 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=
################### 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,109 +0,0 @@
#
# 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).
#
# Tested on SCO rel 4.2 by Marian Durkovic <marian@svf.stuba.sk>.
#
# @(#)Makefile.SCO.3.2v4.2 8.2 (Berkeley) 9/13/95
#
# 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= -D_SCO_unix_4_2
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lsocket -lndbm
# 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=
################### 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= kmem
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,117 +0,0 @@
#
# 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).
#
# Based on a Makefile for Dell SVR4 Issue 2.2 from Kimmo Suominen
# <kim@grendel.lut.fi> -- I haven't tested this myself. It may
# work on other SVR4 ports.
#
# @(#)Makefile.SVR4 8.7 (Berkeley) 9/13/95
#
# 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
#DESTDIR=/usr/local/sendmail
# 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= -DNEWDB -DNDBM
# environment definitions (e.g., -D_AIX3)
ENVDEF= -D__svr4__
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -ldb -ldbm -lresolv -lsocket -lnsl -lelf
# 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}/usr/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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= mail
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,124 +0,0 @@
#
# 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 significant work on sendmail).
#
# This has been tested on Solaris 2.1 and 2.2. If you are compiling
# for Solaris 2.3, use Makefile.SunOS.5.x.
#
# @(#)Makefile.Solaris 8.15 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
# warning: do not use -O with versions of gcc prior to 2.6
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 -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
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= -lresolv -l44bsd -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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
if [ -r /usr/ucbinclude/sysexits.h ]; \
then \
ln -s /usr/ucbinclude/sysexits.h; \
fi
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,116 +0,0 @@
#
# 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 SunOS 4.1.[12].
# For SunOS 4.0.3, add -DSUNOS403 to the ENVDEF macro, and
# create empty files stdlib.h and stddef.h in your
# compile directory.
#
# @(#)Makefile.SunOS 8.9 (Berkeley) 9/30/95
#
# 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)
# need to add -DSUNOS403 if you are on a SunOS 4.0.3 system
ENVDEF=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# loader options
LDOPTS= -Bstatic
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
LIBS= -ldb -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=
################### 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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,118 +0,0 @@
#
# 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 significant 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 8.10 (Berkeley) 9/30/95
#
# 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
# loader options
LDOPTS= -Bstatic
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
LIBS= -ldb -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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,124 +0,0 @@
#
# 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 significant work on sendmail).
#
# This has been tested on Solaris 2.1 and 2.2. If you are compiling
# for Solaris 2.3, use Makefile.SunOS.5.x.
#
# @(#)Makefile.Solaris 8.15 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
# warning: do not use -O with versions of gcc prior to 2.6
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 -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
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= -lresolv -l44bsd -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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
if [ -r /usr/ucbinclude/sysexits.h ]; \
then \
ln -s /usr/ucbinclude/sysexits.h; \
fi
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,124 +0,0 @@
#
# 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 significant work on sendmail).
#
# This has been tested on Solaris 2.1 and 2.2. If you are compiling
# for Solaris 2.3, use Makefile.SunOS.5.x.
#
# @(#)Makefile.Solaris 8.15 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
# warning: do not use -O with versions of gcc prior to 2.6
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 -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
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= -lresolv -l44bsd -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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
if [ -r /usr/ucbinclude/sysexits.h ]; \
then \
ln -s /usr/ucbinclude/sysexits.h; \
fi
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,122 +0,0 @@
#
# 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.3 8.16 (Berkeley) 10/20/95
#
# use O=-O (usual) or O=-g (debugging)
# warning: do not use -O with versions of gcc prior to 2.6
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 -DNIS -DNISPLUS
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DSOLARIS=203
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= -lresolv -l44bsd -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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
if [ -r /usr/ucbinclude/sysexits.h ]; \
then \
ln -s /usr/ucbinclude/sysexits.h; \
fi
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,122 +0,0 @@
#
# 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.4.
#
# @(#)Makefile.SunOS.5.4 8.17 (Berkeley) 10/20/95
#
# use O=-O (usual) or O=-g (debugging)
# warning: do not use -O with versions of gcc prior to 2.6
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 -DNIS -DNISPLUS
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DSOLARIS=204
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= -lresolv -l44bsd -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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
if [ -r /usr/include/sysexits.h ]; \
then \
ln -s /usr/include/sysexits.h; \
fi
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,122 +0,0 @@
#
# 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.5.
#
# @(#)Makefile.SunOS.5.5 8.5 (Berkeley) 10/20/95
#
# use O=-O (usual) or O=-g (debugging)
# warning: do not use -O with versions of gcc prior to 2.6
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 -DNIS -DNISPLUS
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DSOLARIS=205
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= -lresolv -l44bsd -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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
if [ -r /usr/include/sysexits.h ]; \
then \
ln -s /usr/include/sysexits.h; \
fi
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,119 +0,0 @@
#
# 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).
#
# @(#)Makefile.Titan 8.7 (Berkeley) 9/13/95
#
# put the compiler in BSD mode
CC= cc -43
# 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=
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# loader options
LDOPTS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -ldbm
# 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}/usr/share/misc
# additional .o files needed
OBJADD=
# additional pseudo-sources needed
BEFORE= stddef.h stdlib.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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,117 +0,0 @@
#
# 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 Ultrix 4.2A and 4.3A.
#
# @(#)Makefile.ULTRIX 8.11 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# native compiler requires -Olimit to optimize properly
CC= cc -Olimit 900
# 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)
# On Ultrix 4.4 and later, you can set IDENTPROTO=1.
ENVDEF= -DIDENTPROTO=0
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# loader options
LDOPTS=
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
# delete -lresolv and -l44bsd if you are not running BIND 4.9.x
LIBS= -ldb -lresolv -l44bsd
# 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}/usr/lib
# 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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,119 +0,0 @@
#
# 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 Encore UMAX V
#
# @(#)Makefile.UMAX 8.7 (Berkeley) 9/13/95
#
# 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= -DNIS
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DUMAXV
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# loader options
LDOPTS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lyp -lrpc
# 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}/usr/lib
# additional .o files needed
OBJADD=
# things to do before compilation
BEFORE= stddef.h
stddef.h:
echo "#define _STDDEF_H" > stddef.h
chmod 444 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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,117 +0,0 @@
#
# 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).
#
# Should work with UNICOS 8.0. Note that you must also acquire
# gdbm, as UNICOS does not have ndbm, and I had no luck at all
# getting the Berkeley DB package to compile.
# Douglas K. Rand, University of North Dakota
# rand@aero.und.nodak.edu
#
# @(#)Makefile.UNICOS 8.4 (Berkeley) 9/13/95
#
# make sure the shell constructs below use the right shell
SHELL= /bin/sh
# use O=-O (usual) or O=-g (debugging)
O= -O
# 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= -DUNICOS
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/local/include
# library directories
LIBDIRS=-L/usr/local/lib
# libraries required on your system
LIBS=-lgdbm
# 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/mail
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
HFDIR= ${DESTDIR}/etc/mail
# 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 mime.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
INSTALL=install
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,118 +0,0 @@
#
# 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).
#
# UnixWare 1.1 Makefile from John Warburton <jwarb@SACBH.com.au>.
#
# For UnixWare 2.x, use -DUNIXWARE2 in ENVDEF in place of -DUNIXWARE.
#
# @(#)Makefile.UNIX_SV.4.x.i386 8.6 (Berkeley) 9/26/95
#
# 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
#DESTDIR=/usr/local/sendmail
# 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= -DNEWDB -DNDBM
# environment definitions (e.g., -D_AIX3)
ENVDEF= -D__svr4__ -DUNIXWARE
#ENVDEF= -D__svr4__ -DUNIXWARE2
# see also conf.h for additional compilation flags
# include directories
INCDIRS=
# library directories
LIBDIRS=
# libraries required on your system
LIBS= -lc -ldbm -lresolv -lsocket -lnsl -lgen -lelf
# 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}/usr/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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= mail
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,129 +0,0 @@
#
# 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 NEC UX4800.
# Contributed by Kazuhisa Shimizu <shimizu@lang.csd.nes.nec.co.jp>.
#
# @(#)Makefile.UX4800 8.3 (Berkeley) 9/13/95
#
# use O=-O (usual) or O=-g (debugging)
O= -O
# make sure that /usr/abiccs/bin/cc is used (do not use /usr/ucb/cc).
#CC= /bin/cc -KOlimit=900
CC= /usr/abiccs/bin/cc -KOlimit=900
# 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 # without NEWDB
#DBMDEF= -DNEWDB -DNDBM -DNIS # with NEWDB
# environment definitions (e.g., -D_AIX3)
ENVDEF= -DHASSNPRINTF=1
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/local/include
# library directories
LIBDIRS=-L/usr/local/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= -lsocket -lnsl -lelf -lresolv # -l44bsd # without NEWDB
#LIBS= -lsocket -lnsl -lelf -ldb -lresolv # -l44bsd # with NEWDB
# 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}/var/ucblib
# additional .o files needed
OBJADD=
# things to be made before compilation begins
BEFORE= sysexits.h ndbm.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 mime.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
INSTALL=/usr/ucb/install
BINOWN= root
BINGRP= sys
BINMODE=6555
ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${OBJS} ${LIBDIRS} ${LIBS}
sysexits.h:
echo '#ifndef _LOCAL_SYSEXITS_H_' > sysexits.h;
echo '#define _LOCAL_SYSEXITS_H_' >> sysexits.h;
cat /usr/abiccs/ucbinclude/sysexits.h >> sysexits.h;
echo '#endif /* _LOCAL_SYSEXITS_H_ */' >> sysexits.h;
ndbm.h:
sed 's/void/char/' /usr/abiccs/include/ndbm.h > ndbm.h
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,130 +0,0 @@
#
# 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).
#
# Contributed by Diego R. Lopez <drlopez@cica.es>. Based on
# Makefile.SVR4. I haven't tested this myself. It may
# work on other SVR4 ports.
#
# @(#)Makefile.UXPDS 8.2 (Berkeley) 11/13/95
#
# make sure the shell constructs below use the right shell
SHELL= /bin/sh
# use O=-O (usual) or O=-g (debugging)
O= -O
#DESTDIR=/usr/local/sendmail
# 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)
ENVDEF= -DUXPDS
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/include -I/usr/ucbinclude
# library directories
LIBDIRS=-L/usr/ucblib
# libraries required on your system
LIBS= -ldbm -lresolv -lsocket -lnsl -lelf -lucb
# 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}/usr/ucblib
# location of sendmail.hf file (usually /usr/share/misc or /usr/lib)
HFDIR= ${DESTDIR}/usr/ucblib
# location and mode for man pages
MAN1= /usr/share/man/bsd_man/cat1
MAN4= /usr/share/man/bsd_man/cat4
MANMODE=444
# additional .o files needed
OBJADD=
# things to be made before compilation begins
BEFORE=
################### 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 mime.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= mail
BINMODE=6555
INSTALL=/usr/ucb/install
ALL= sendmail man-pages
all: ${ALL}
man-pages: aliases.0 mailq.0 newaliases.0 sendmail.0
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}
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
cp aliases.0 ${MAN4}/aliases.4
chmod ${MANMODE} ${MAN4}/aliases.4
cp mailq.0 ${MAN1}/mailq.1m
chmod ${MANMODE} ${MAN1}/mailq.1m
cp newaliases.0 ${MAN1}/newaliases.1m
chmod ${MANMODE} ${MAN1}/newaliases.1m
cp sendmail.0 ${MAN1}/sendmail.1m
chmod ${MANMODE} ${MAN1}/sendmail.1m
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

View File

@ -1,41 +0,0 @@
# @(#)Makefile.Utah 8.3 (Berkeley) 9/13/95
PROG= sendmail
# define the database format to use for aliases et al. Can be -DNEWDB (for
# the new BSD database package -- this is preferred) or -DNDBM for the NDBM
# database package. The old putrescent V7 DBM package is no longer
# supported.
# You can define both NEWDB and NDBM during a transition period; old
# databases are read, but the new format will be used on any rebuilds. On
# really gnarly systems, you can set this to null; it will crawl like a high
# spiral snail, but it will work.
DBMDEF= -DNEWDB -DNDBM -DOLD_NEWDB
CFLAGS+=-I${.CURDIR} ${DBMDEF} -Dsetpgid=setpgrp
SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
mci.c mci.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
util.c version.c
DPADD= ${LIBDBM} ${LIBCOMPAT}
LDADD=
MAN1= mailq.0 newaliases.0
MAN5= aliases.0
MAN8= sendmail.0
LINKS= ${DESTDIR}/usr/sbin/sendmail ${DESTDIR}/usr/bin/newaliases \
${DESTDIR}/usr/sbin/sendmail ${DESTDIR}/usr/bin/mailq
INSTALL=install
BINDIR= /usr/sbin
BINOWN= root
BINGRP= kmem
BINMODE=6555
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>

View File

@ -1,108 +0,0 @@
#
# Tested on DG/UX 5.4.2 by A. Bryan Curnutt <bryan@Stoner.COM>.
# Updated for DG/UX 5.4.3 by Mark T. Robinson <mtr@ornl.gov>.
#
# @(#)Makefile.dgux 8.9 (Berkeley) 9/13/95
#
# 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 -DNIS
# environment definitions (e.g., -D_AIX3)
# use DGUX_5_4_2 for versions prior to 5.4.3.
ENVDEF=-DDGUX
# see also conf.h for additional compilation flags
# include directories
INCDIRS=-I/usr/sww/include
# loader options
LDOPTS=
# library directories
LIBDIRS=-L/usr/sww/lib
# libraries required on your system
LIBS= -ldbm
# location of sendmail binary (usually /usr/sbin or /usr/lib)
BINDIR= ${DESTDIR}/usr/bin
# 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}/etc
# 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 mime.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
INSTALL=install
BINOWN= root
BINGRP= bin
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
NROFF= groff -Tascii
MANDOC= -mandoc
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
depend:

View File

@ -1,189 +0,0 @@
# 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).
#
# Makefile for an Amdahl 5890 running UTS System V 2.1.5 (SVr3)
# By Janet Jackson <janet@dialix.oz.au> 1994-11-24
# This has been tested on (uname -a output) uts bsuts systemV 2.1.5 5890
#
# @(#)Makefile.uts.systemV 8.4 (Berkeley) 6/20/95
#
# Sendmail 8 on UTS requires BIND 4.9's include files and lib44bsd and
# libresolv libraries. The BIND version on UTS is much too old.
#
BINDPATH=../../../bind
# use O=-O (usual) or O=-g (debugging)
O= -g
# 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.
#
# Getting NIS working on UTS is possible (I did it!) but awkward.
# And forget it unless you're behind some sort of a firewall.
#
DBMDEF= -DNIS -DNDBM
# environment definitions (e.g., -D_AIX3)
ENVDEF= -D_UTS
# see also conf.h for additional compilation flags
# include directories
# To find new BIND header files. This path assumes we are using "makesendmail".
INCDIRS=-I${BINDPATH}/include -I${BINDPATH}/compat/include
# loader options
LDOPTS=
# library directories
# To find new libresolv.a. This path assumes we are using "makesendmail".
LIBDIRS=-L${BINDPATH}/res -L${BINDPATH}/compat/lib
# libraries required on your system
LIBS= -lyp -lrpc -lresolv -l44bsd -lbsd -lsocket -la
# 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=
# things to do before compilation
BEFORE= stddef.h
################### end of user configuration flags ######################
CFLAGS= -eft -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 mime.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/lib/newaliases ${DESTDIR}/usr/lib/mailq
BINOWN= root
BINGRP= mail
BINMODE=6555
#ALL= sendmail aliases.0 mailq.0 newaliases.0 sendmail.0
ALL= sendmail
all: ${ALL}
sendmail: ${BEFORE} ${OBJS}
${CC} -o sendmail ${LDOPTS} ${OBJS} ${LIBDIRS} ${LIBS}
stddef.h:
echo "#include <sys/types.h>" > stddef.h
#NROFF= nroff -h
NROFF= groff -Tascii
MANDOC= -mandoc
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
# new target to save original sendmail files before installation
save-orig:
if [ -f ${BINDIR}/sendmail.orig ]; then \
echo "Error: original already saved" 1>&2; \
exit 1; \
else \
/bin/mv ${BINDIR}/sendmail ${BINDIR}/sendmail.orig; \
for i in ${LINKS}; do \
if [ -h $$i ]; then \
/bin/mv $$i $$i.orig; \
fi; \
done; \
if [ -f ${STDIR}/sendmail.st ]; then \
/bin/mv ${STDIR}/sendmail.st ${STDIR}/sendmail.st.orig; \
fi; \
if [ -f ${HFDIR}/sendmail.hf ]; then \
/bin/mv ${HFDIR}/sendmail.hf ${HFDIR}/sendmail.hf.orig; \
fi; \
echo "Now run 'make install'." 1>&2; \
echo "(To back out, run 'make backout'.)" 1>&2; \
fi
# new target to back out, ie, put back original files
backout:
if [ ! -f ${BINDIR}/sendmail.orig ]; then \
echo "Error: original was not saved" 1>&2; \
exit 1; \
else \
/bin/mv ${BINDIR}/sendmail.orig ${BINDIR}/sendmail; \
for i in ${LINKS}; do \
if [ -h $$i.orig ]; then \
/bin/mv $$i.orig $$i; \
else \
rm -f $$i; \
fi; \
done; \
if [ -f ${STDIR}/sendmail.st.orig ]; then \
/bin/mv ${STDIR}/sendmail.st.orig ${STDIR}/sendmail.st; \
else \
rm -f ${STDIR}/sendmail.st; \
fi; \
if [ -f ${HFDIR}/sendmail.hf.orig ]; then \
/bin/mv ${HFDIR}/sendmail.hf.orig ${HFDIR}/sendmail.hf; \
else \
rm -f ${HFDIR}/sendmail.hf; \
fi; \
echo "Now back out config file change if necessary." 1>&2; \
fi
#install: install-sendmail install-docs
install: install-sendmail
install-sendmail: sendmail
if [ ! -f ${BINDIR}/sendmail.orig ]; then \
echo "Error: Original not saved yet \
(no ${BINDIR}/sendmail.orig)" 1>&2; \
exit 1; \
else \
cpset -o sendmail ${BINDIR} ${BINMODE} ${BINOWN} ${BINGRP}; \
for i in ${LINKS}; do \
rm -f $$i; \
ln ${BINDIR}/sendmail $$i; \
done; \
cpset -o /dev/null ${STDIR}/sendmail.st 644 ${BINOWN} ${BINGRP}; \
cpset -o sendmail.hf ${HFDIR} 444 ${BINOWN} ${BINGRP}; \
echo "Now install the new config file: \
go to ../../cf/cf and run ./Install-dcd-config" 1>&2; \
fi
# 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
depend: