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