Makefile revision 394
6359N/A#
6359N/A# CDDL HEADER START
6359N/A#
6359N/A# The contents of this file are subject to the terms of the
6359N/A# Common Development and Distribution License (the "License").
6359N/A# You may not use this file except in compliance with the License.
6359N/A#
6359N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6359N/A# or http://www.opensolaris.org/os/licensing.
6359N/A# See the License for the specific language governing permissions
6359N/A# and limitations under the License.
6359N/A#
6359N/A# When distributing Covered Code, include this CDDL HEADER in each
6359N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6359N/A# If applicable, add the following below this CDDL HEADER, with the
6359N/A# fields enclosed by brackets "[]" replaced with your own identifying
6359N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6359N/A#
6359N/A# CDDL HEADER END
6359N/A#
6359N/A
6359N/A#
6359N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
6359N/A#
6359N/A
6359N/Ainclude ../../make-rules/shared-macros.mk
6359N/A
6359N/ACOMPONENT_NAME= quilt
6626N/ACOMPONENT_VERSION= 0.47
6359N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6359N/ACOMPONENT_PROJECT_URL= http://savannah.nongnu.org/projects/quilt
6359N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6359N/ACOMPONENT_ARCHIVE_HASH= sha1:028dadd5ab60b1df12edd18af600e59fe0a83525
6359N/ACOMPONENT_ARCHIVE_URL= http://download.savannah.gnu.org/releases/quilt/$(COMPONENT_ARCHIVE)
6359N/A
6359N/Ainclude ../../make-rules/prep.mk
6359N/Ainclude ../../make-rules/configure.mk
6359N/Ainclude ../../make-rules/ips.mk
6359N/A
6359N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
6359N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
6359N/A
6359N/ACOMPONENT_PREP_ACTION = \
6359N/A (cd $(@D) ; autoconf )
6359N/A
6359N/APATCH_LEVEL= 0
6359N/A
6359N/A# without this, some make messages end up in the
6359N/A# generated README and man pages.
6359N/ACOMPONENT_BUILD_ARGS+= --no-print-directory
6359N/A
6359N/A# Quilt will need this option until Solaris has GNU getopt.
6359N/ACONFIGURE_OPTIONS += --without-getopt
CONFIGURE_OPTIONS += --with-cp=/usr/gnu/bin/cp
CONFIGURE_OPTIONS += --with-date=/usr/gnu/bin/date
CONFIGURE_OPTIONS += --with-grep=/usr/gnu/bin/grep
CONFIGURE_OPTIONS += --with-tail=/usr/gnu/bin/tail
CONFIGURE_OPTIONS += --with-tr=/usr/gnu/bin/tr
CONFIGURE_OPTIONS += --with-sed=/usr/gnu/bin/sed
CONFIGURE_OPTIONS += --with-diff=/usr/gnu/bin/diff
CONFIGURE_OPTIONS += --with-patch=/usr/gnu/bin/patch
CONFIGURE_OPTIONS += --with-perl=/usr/perl5/$(PERL_VERSION)/bin/perl
CONFIGURE_OPTIONS += --with-pod2man=/usr/perl5/$(PERL_VERSION)/bin/pod2man
CONFIGURE_OPTIONS += --with-xgettext=/usr/bin/gxgettext
CONFIGURE_OPTIONS += --with-msgfmt=/usr/bin/gmsgfmt
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
COMPONENT_INSTALL_ARGS += BUILD_ROOT=$(PROTO_DIR)
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(TEST_32)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk