Makefile revision 1273
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# CDDL HEADER START
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# The contents of this file are subject to the terms of the
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Common Development and Distribution License (the "License").
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# You may not use this file except in compliance with the License.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# See the License for the specific language governing permissions
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# and limitations under the License.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# CDDL HEADER END
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson sha256:2141f36e8d0f4f71c9ca6780001e7cc679fe313e643953fc07f001223e67c4a0
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCOMPONENT_ARCHIVE_URL= ftp://ftp.mutt.org/mutt/devel/$(COMPONENT_ARCHIVE)
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCOMPONENT_PROJECT_URL= http://www.mutt.org/
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)/$(COMPONENT_NAME)"
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Add in the C compiler information to the muttbug (a.k.a. flea) script.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson $(GSED) -i 's%XXX-CUSAGE-XXX%$(shell $(CC) -V 2>&1 | head -1)%' \
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# common targets