NetBSD/gnu/usr.sbin/postfix/Makefile
lukem ee04d88971 Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall'
target) instead of using home-grown 'distribution' targets or using
FILES with the 'install' target.
Add some etc/ subdir Makefiles where appropriate.

XXX: some of etc/Makefile install-etc-files could be converted to CONFIGFILES.
2004-05-16 09:53:09 +00:00

39 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2004/05/16 09:53:10 lukem Exp $
# The first four of these are libraries and have to be built first.
.include <bsd.own.mk>
SUBDIR= util global dns masterlib .WAIT \
README_FILES bounce cleanup error flush html \
lmtp local man master oqmgr pickup pipe postalias \
postcat postconf postdrop postfix postkick postlock \
postlog postmap postqueue postsuper proxymap qmgr sendmail \
showq smtp smtpd spawn trivial-rewrite verify virtual \
proxymap
.if ${MKSHARE} != "no" || \
make(clean) || make(cleandir) || make(distclean) || make(obj)
SUBDIR+=conf
.endif
# We don't want to build postfix-script (at least for now) because
# we're now treating it as a configuration file, per Wietse Venema's
# request. We now have conf/Makefile install a copy into
# share/examples/postfix, and postfix-etc/Makefile (only called by
# make configinstall) installs a copy in /etc/postfix
# also not built: fsstone (unneeded), smtpstone (unneeded), qmqpd (unneeded)
# The configinstall: target is invoked from the make distribution
# target in src/etc/Makefile. It is there for building the /etc/
# set. You don't want to run it normally as it would blow away your
# /etc/postfix directory.
configinstall:
${MAKEDIRTARGET} postfix-etc configinstall
.include "Makefile.inc"
.include <bsd.subdir.mk>