NetBSD/gnu/usr.sbin/postfix/Makefile.inc

40 lines
1.0 KiB
Makefile

# $NetBSD: Makefile.inc,v 1.2 2000/06/12 12:17:26 veego Exp $
WARNS?= 0
IDIST= ${.CURDIR}/../../../dist/postfix
CPPFLAGS+= -DNETBSD1 -I${DIST} \
-I${IDIST}/dns -I${IDIST}/global -I${IDIST}/master \
-I${IDIST}/util
DOBJDIR!=cd $(.CURDIR)/../dns; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
MOBJDIR!=cd $(.CURDIR)/../masterlib; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
GOBJDIR!=cd $(.CURDIR)/../global; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
UOBJDIR!=cd $(.CURDIR)/../util; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
LIBPDNS= ${DOBJDIR}/libdns.a
LIBPMASTER= ${MOBJDIR}/libmaster.a
LIBPGLOBAL= ${GOBJDIR}/libglobal.a
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
# postfix check wants a lot of files to be owned by root
BINOWN= root
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif