summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/postfix/Makefile.inc
blob: 2d73008c7b01ae6327787c44b73827500042880d (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
#	$NetBSD: Makefile.inc,v 1.10 2002/12/24 19:47:47 perry Exp $

.include <bsd.own.mk>

WARNS?=	0

IDIST=	${NETBSDSRCDIR}/gnu/dist/postfix

CPPFLAGS+= -DNETBSD1 -I${DIST} \
	-I${IDIST}/src/dns -I${IDIST}/src/global -I${IDIST}/src/master \
	-I${IDIST}/src/util
# IPv6
#CPPFLAGS+= -DINET6

DOBJDIR!=	cd $(.CURDIR)/../dns && ${PRINTOBJDIR}
LIBPDNS=	${DOBJDIR}/libdns.a

MOBJDIR!=	cd $(.CURDIR)/../masterlib && ${PRINTOBJDIR}
LIBPMASTER=	${MOBJDIR}/libmaster.a

GOBJDIR!=	cd $(.CURDIR)/../global && ${PRINTOBJDIR}
LIBPGLOBAL=	${GOBJDIR}/libglobal.a

UOBJDIR!=	cd $(.CURDIR)/../util && ${PRINTOBJDIR}
LIBPUTIL=	${UOBJDIR}/libutil.a

# Directories to install into.
PFIX_LIBEXECDIR=/usr/libexec/postfix
PFIX_ETCDIR=	/etc/postfix
PFIX_EXAMPLEDIR=/usr/share/examples/postfix
PFIX_HTMLDIR=	/usr/share/doc/html/postfix
PFIX_SBINDIR=	/usr/sbin

# postfix check wants a lot of files to be owned by root
BINOWN=	root

.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif