summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/postfix/Makefile
blob: 6289f991e4da5735ab49c582f077f6868ea7c9b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#	$NetBSD: Makefile,v 1.7 2001/03/13 18:13:16 itojun Exp $

# Note that the order here is picked to look much like that in the
# original Makefile.in in order to make it easier to visually compare
# when updating to a new version of Postfix.

# The first four of these are libraries and have to be built first.

.include <bsd.own.mk>

SUBDIR= util global dns masterlib .WAIT master postfix \
	sendmail error pickup cleanup smtpd local \
	lmtp trivial-rewrite qmgr smtp bounce pipe \
	showq postalias postcat postconf postdrop \
	postkick postlock postlog postmap postsuper \
	spawn flush man # smtpstone proto html

.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 distribution) installs a copy in /etc/postfix

# also not built: smtpstone (unneeded)
# and html (unsure what to do with it (yet))

# The distribution: 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.

distribution:
	cd ${.CURDIR}/postfix-etc; ${MAKE} install

.include <bsd.subdir.mk>