Makefile revision 4077
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#
4077N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
4077N/A#
4077N/A
4077N/Ainclude ../../make-rules/shared-macros.mk
4077N/A
4077N/ACOMPONENT_NAME= postfix
4077N/ACOMPONENT_VERSION= 2.11.3
4077N/ACOMPONENT_PROJECT_URL= http://www.postfix.org
4077N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4077N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4077N/ACOMPONENT_ARCHIVE_HASH= \
4077N/A sha256:04e5146e6e56261baae9f63c590348a4b12ce22d3d46260e26e97233f40802c3
4077N/ACOMPONENT_BUGDB= utility/postfix
4077N/ACOMPONENT_ARCHIVE_URL= http://mirrors-usa.go-parts.com/$(COMPONENT_NAME)/source/official/$(COMPONENT_ARCHIVE)
4077N/A
4077N/ATPNO= 7492
4077N/A
4077N/Ainclude ../../make-rules/prep.mk
4077N/Ainclude ../../make-rules/justmake.mk
4077N/Ainclude ../../make-rules/ips.mk
4077N/A
4077N/A# general
4077N/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
4077N/A# pcre-config is run as part of the setup, so we need to find the 64-bit
4077N/A# version so it will provide a 64-bit runpath, o/w pkglint gives warnings.
4077N/APATH = /usr/bin/$(MACH64):/usr/bin:/usr/gnu/bin
4077N/A
4077N/ACOMPONENT_BUILD_ENV += CC="$(CC) -m64"
4077N/ACOMPONENT_BUILD_ENV += CCARGS="$(CCARGS)"
4077N/ACOMPONENT_BUILD_ENV += PATH="$(PATH)"
4077N/ACOMPONENT_BUILD_ENV += AUXLIBS="$(AUXLIBS)"
4077N/A
4077N/ACOMPONENT_INSTALL_TARGETS = non-interactive-package install_root="$(PROTO_DIR)"
4077N/A
4077N/AASLR_MODE = $(ASLR_ENABLE)
4077N/A
4077N/Abuild: $(BUILD_64)
4077N/A
4077N/Ainstall: $(INSTALL_64)
4077N/A
4077N/Atest: $(NO_TESTS)
4077N/A
4077N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files
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
4077N/AREQUIRED_PACKAGES += system/core-os
4077N/AREQUIRED_PACKAGES += system/library
4077N/AREQUIRED_PACKAGES += system/network