Makefile revision 5680
260N/A#
260N/A# CDDL HEADER START
260N/A#
260N/A# The contents of this file are subject to the terms of the
260N/A# Common Development and Distribution License (the "License").
260N/A# You may not use this file except in compliance with the License.
260N/A#
260N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
260N/A# or http://www.opensolaris.org/os/licensing.
260N/A# See the License for the specific language governing permissions
260N/A# and limitations under the License.
260N/A#
260N/A# When distributing Covered Code, include this CDDL HEADER in each
260N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
260N/A# If applicable, add the following below this CDDL HEADER, with the
260N/A# fields enclosed by brackets "[]" replaced with your own identifying
260N/A# information: Portions Copyright [yyyy] [name of copyright owner]
260N/A#
260N/A# CDDL HEADER END
260N/A#
260N/A
260N/A#
260N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
260N/A#
260N/ABUILD_BITS= 64
260N/Ainclude ../../make-rules/shared-macros.mk
260N/A
260N/ACOMPONENT_NAME= postfix
260N/ACOMPONENT_VERSION= 2.11.3
260N/ACOMPONENT_PROJECT_URL= http://www.postfix.org
260N/ACOMPONENT_ARCHIVE_HASH= \
260N/A sha256:04e5146e6e56261baae9f63c590348a4b12ce22d3d46260e26e97233f40802c3
260N/ACOMPONENT_ARCHIVE_URL= http://mirrors-usa.go-parts.com/$(COMPONENT_NAME)/source/official/$(COMPONENT_ARCHIVE)
260N/A
260N/ATPNO= 7492
260N/A
260N/ABUILD_STYLE= justmake
260N/ATEST_TARGET= $(NO_TESTS)
260N/Ainclude ../../make-rules/common.mk
260N/A
260N/A# general
260N/ACCARGS = -DDEF_DAEMON_DIR=\\\"/usr/lib/postfix\\\"
260N/ACCARGS += -DDEF_MANPAGE_DIR=\\\"/usr/share/man\\\"
260N/ACCARGS += -DDEF_NEWALIAS_PATH=\\\"/usr/sbin/newaliases\\\"
260N/A# TLS
260N/ACCARGS += -DUSE_TLS
260N/AAUXLIBS = -lssl -lcrypto
260N/A# Berkeley DB
260N/ACCARGS += -DHAS_DB
260N/AAUXLIBS += -ldb-5.3
260N/A# SQLite
260N/ACCARGS += -DHAS_SQLITE
260N/AAUXLIBS += -lsqlite3
260N/A# LDAP
260N/ACCARGS += -DHAS_LDAP
260N/AAUXLIBS += -lldap
260N/A
260N/A# pcre-config is run as part of the setup, so we need to find the 64-bit
260N/A# version so it will provide a 64-bit runpath, o/w pkglint gives warnings.
260N/APATH = $(USRBINDIR64):$(USRBINDIR):$(GNUBIN)
260N/A
260N/ACOMPONENT_BUILD_ENV += CCARGS="$(CCARGS)"
260N/ACOMPONENT_BUILD_ENV += OPT="$(CFLAGS)"
260N/ACOMPONENT_BUILD_ENV += DEBUG="$(CFLAGS)"
260N/ACOMPONENT_BUILD_ENV += PATH="$(PATH)"
260N/ACOMPONENT_BUILD_ENV += AUXLIBS="$(AUXLIBS)"
260N/A
260N/ACOMPONENT_INSTALL_TARGETS = non-interactive-package install_root="$(PROTO_DIR)"
260N/A
260N/AREQUIRED_PACKAGES += database/berkeleydb-5
260N/AREQUIRED_PACKAGES += database/sqlite-3
260N/AREQUIRED_PACKAGES += library/pcre
260N/AREQUIRED_PACKAGES += library/security/openssl
260N/AREQUIRED_PACKAGES += shell/ksh93
260N/AREQUIRED_PACKAGES += system/core-os
260N/AREQUIRED_PACKAGES += system/network
260N/A