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