xref: /csrg-svn/usr.sbin/sendmail/src/Makefile (revision 67851)
1*67851Seric#	@(#)Makefile	8.6 (Berkeley) 10/25/94
241731Sbostic
3*67851Seric#########################################################################
4*67851Seric#  This Makefile is for 4.4BSD only!!!  For all other systems, use	#
5*67851Seric#  the "makesendmail" script.						#
6*67851Seric#########################################################################
7*67851Seric
841731SbosticPROG=	sendmail
946959Sbostic
1055418Seric# define the database format to use for aliases et al.  Can be -DNEWDB (for
1156845Seric# the new BSD database package -- this is preferred) or -DNDBM for the NDBM
1256845Seric# database package.  The old putrescent V7 DBM package is no longer
1356845Seric# supported.
1456845Seric# You can define both NEWDB and NDBM during a transition period; old
1555418Seric# databases are read, but the new format will be used on any rebuilds.  On
1655418Seric# really gnarly systems, you can set this to null; it will crawl like a high
1755418Seric# spiral snail, but it will work.
1857225SericDBMDEF=	-DNEWDB -DNDBM
1946959Sbostic
2060569SericCFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO
2155418Seric
2234136SbosticSRCS=	alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
2356823Seric	deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
2467546Seric	mci.c mime.c parseaddr.c queue.c readcf.c recipient.c savemail.c \
2567546Seric	srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \
2650556Seric	util.c version.c
2764256SericDPADD=
2860554SericLDADD=
2965984SericMAN1=	mailq.0 newaliases.0
3041731SbosticMAN5=	aliases.0
3141731SbosticMAN8=	sendmail.0
3264256SericLINKS=	/usr/sbin/sendmail /usr/bin/newaliases \
3364256Seric	/usr/sbin/sendmail /usr/bin/mailq
3444899SbosticBINDIR=	/usr/sbin
3541731SbosticBINOWN=	root
3641731SbosticBINGRP=	kmem
3741731SbosticBINMODE=6555
3834136Sbostic
3941731Sbosticbeforeinstall:
4055493Sbostic#	install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
4155493Sbostic#	    ${DESTDIR}/etc/sendmail.fc
4265185Seric	install -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
4341731Sbostic	    ${DESTDIR}/var/log/sendmail.st
4444900Sbostic	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \
4541731Sbostic	    ${DESTDIR}/usr/share/misc
4634136Sbostic
4741731Sbostic.include <bsd.prog.mk>
48