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