Makefile revision 617
257N/A#
257N/A# CDDL HEADER START
257N/A#
257N/A# The contents of this file are subject to the terms of the
257N/A# Common Development and Distribution License (the "License").
257N/A# You may not use this file except in compliance with the License.
257N/A#
257N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
257N/A# or http://www.opensolaris.org/os/licensing.
257N/A# See the License for the specific language governing permissions
257N/A# and limitations under the License.
257N/A#
257N/A# When distributing Covered Code, include this CDDL HEADER in each
257N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
257N/A# If applicable, add the following below this CDDL HEADER, with the
257N/A# fields enclosed by brackets "[]" replaced with your own identifying
257N/A# information: Portions Copyright [yyyy] [name of copyright owner]
257N/A#
257N/A# CDDL HEADER END
257N/A#
257N/A
257N/A#
257N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
257N/A#
257N/A
257N/Ainclude ../../make-rules/shared-macros.mk
257N/A
257N/ACOMPONENT_NAME= mutt
257N/ACOMPONENT_VERSION= 1.5.21
257N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
257N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
257N/ACOMPONENT_ARCHIVE_HASH= sha1:a8475f2618ce5d5d33bff85c0affdf21ab1d76b9
257N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.mutt.org/mutt/devel/$(COMPONENT_ARCHIVE)
257N/ACOMPONENT_PROJECT_URL= http://www.mutt.org/
257N/A
257N/Ainclude ../../make-rules/prep.mk
257N/Ainclude ../../make-rules/configure.mk
257N/Ainclude ../../make-rules/ips.mk
257N/A
257N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
257N/ACONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)/$(COMPONENT_NAME)"
257N/ACONFIGURE_OPTIONS += --enable-pop
257N/ACONFIGURE_OPTIONS += --enable-imap
257N/ACONFIGURE_OPTIONS += --enable-smtp
257N/ACONFIGURE_OPTIONS += --enable-hcache
257N/ACONFIGURE_OPTIONS += --with-gdbm
257N/ACONFIGURE_OPTIONS += --with-regex
257N/ACONFIGURE_OPTIONS += --with-slang
257N/ACONFIGURE_OPTIONS += --with-ssl
257N/ACONFIGURE_OPTIONS += --with-idn
257N/ACFLAGS += -I"$(USRINCDIR)/idn"
257N/ACONFIGURE_OPTIONS += --with-wc-funcs
257N/ACONFIGURE_OPTIONS += --with-sasl
257N/A
617N/A# Add in the C compiler information to the muttbug (a.k.a. flea) script.
617N/ACOMPONENT_POST_CONFIGURE_ACTION = \
617N/A $(GSED) -i 's%XXX-CUSAGE-XXX%$(shell $(CC) -V 2>&1 | head -1)%' \
617N/A $(BUILD_DIR_32)/muttbug.sh
617N/A
257N/A# common targets
257N/Abuild: $(BUILD_32)
257N/A
257N/Ainstall: $(INSTALL_32)
257N/A
257N/Atest: $(NO_TESTS)
257N/A
257N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
257N/A
257N/Ainclude ../../make-rules/depend.mk