2001-11-11 08:26:50 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.8 2001/11/11 05:26:53 itojun Exp $
|
2001-01-09 11:52:56 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2000-05-01 01:21:50 +04:00
|
|
|
|
|
|
|
WARNS?= 0
|
|
|
|
|
|
|
|
IDIST= ${.CURDIR}/../../../dist/postfix
|
|
|
|
|
|
|
|
CPPFLAGS+= -DNETBSD1 -I${DIST} \
|
2001-03-13 21:13:16 +03:00
|
|
|
-I${IDIST}/src/dns -I${IDIST}/src/global -I${IDIST}/src/master \
|
|
|
|
-I${IDIST}/src/util
|
2001-03-13 21:34:19 +03:00
|
|
|
# IPv6
|
2001-11-11 08:26:50 +03:00
|
|
|
#CPPFLAGS+= -DINET6
|
2000-05-01 01:21:50 +04:00
|
|
|
|
2001-01-09 11:52:56 +03:00
|
|
|
DOBJDIR!= cd $(.CURDIR)/../dns && ${PRINTOBJDIR}
|
2000-05-01 01:21:50 +04:00
|
|
|
LIBPDNS= ${DOBJDIR}/libdns.a
|
2001-01-09 11:52:56 +03:00
|
|
|
|
|
|
|
MOBJDIR!= cd $(.CURDIR)/../masterlib && ${PRINTOBJDIR}
|
2000-05-01 01:21:50 +04:00
|
|
|
LIBPMASTER= ${MOBJDIR}/libmaster.a
|
2001-01-09 11:52:56 +03:00
|
|
|
|
|
|
|
GOBJDIR!= cd $(.CURDIR)/../global && ${PRINTOBJDIR}
|
2000-05-01 01:21:50 +04:00
|
|
|
LIBPGLOBAL= ${GOBJDIR}/libglobal.a
|
2001-01-09 11:52:56 +03:00
|
|
|
|
|
|
|
UOBJDIR!= cd $(.CURDIR)/../util && ${PRINTOBJDIR}
|
2000-05-01 01:21:50 +04:00
|
|
|
LIBPUTIL= ${UOBJDIR}/libutil.a
|
|
|
|
|
|
|
|
# Directories to install into.
|
|
|
|
PFIX_LIBEXECDIR=/usr/libexec/postfix
|
|
|
|
PFIX_ETCDIR= /etc/postfix
|
|
|
|
PFIX_EXAMPLEDIR=/usr/share/examples/postfix
|
|
|
|
PFIX_SBINDIR= /usr/sbin
|
|
|
|
|
2000-06-12 16:17:26 +04:00
|
|
|
# postfix check wants a lot of files to be owned by root
|
|
|
|
BINOWN= root
|
|
|
|
|
2000-05-01 01:21:50 +04:00
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.endif
|