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