Makefile revision 3817
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# CDDL HEADER START
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# The contents of this file are subject to the terms of the
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Common Development and Distribution License (the "License").
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# You may not use this file except in compliance with the License.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# or http://www.opensolaris.org/os/licensing.
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# See the License for the specific language governing permissions
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# and limitations under the License.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# CDDL HEADER END
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafssoninclude ../../make-rules/shared-macros.mk
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonPATH = /usr/gnu/bin:/usr/bin
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCOMPONENT_NAME= quilt
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCOMPONENT_VERSION= 0.60
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCOMPONENT_PROJECT_URL= http://savannah.nongnu.org/projects/quilt/
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCOMPONENT_ARCHIVE_HASH= \
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson sha256:3d72a292e432beb9a73f9d0acfe3a77c9b4d7e42209919bb244e9958c7cfe64b
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas GustafssonCOMPONENT_ARCHIVE_URL= http://download.savannah.gnu.org/releases/quilt/$(COMPONENT_ARCHIVE)
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas GustafssonCOMPONENT_BUGDB= utility/quilt
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafsson
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas GustafssonTPNO= 9108
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark Andrewsinclude $(WS_MAKE_RULES)/prep.mk
230f8da57ce436687289c928c209a5b90979dbbaMark Andrewsinclude $(WS_MAKE_RULES)/configure.mk
230f8da57ce436687289c928c209a5b90979dbbaMark Andrewsinclude $(WS_MAKE_RULES)/ips.mk
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsCOMPONENT_PRE_CONFIGURE_ACTION = \
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews ($(CLONEY) $(SOURCE_DIR) $(@D))
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsCOMPONENT_PREP_ACTION = \
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews (cd $(@D) ; autoconf )
364162f4ae54b4c3a7602cec9add2aa9b3a89ad2Mark Andrews
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsPATCH_LEVEL= 0
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews# without this, some make messages end up in the
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews# generated README and man pages.
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCOMPONENT_BUILD_ARGS+= --no-print-directory
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsCONFIGURE_OPTIONS += --with-cp=/usr/gnu/bin/cp
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsCONFIGURE_OPTIONS += --with-date=/usr/gnu/bin/date
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas GustafssonCONFIGURE_OPTIONS += --with-grep=/usr/gnu/bin/grep
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCONFIGURE_OPTIONS += --with-tail=/usr/gnu/bin/tail
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsCONFIGURE_OPTIONS += --with-tr=/usr/gnu/bin/tr
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCONFIGURE_OPTIONS += --with-sed=/usr/gnu/bin/sed
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsCONFIGURE_OPTIONS += --with-diff=/usr/gnu/bin/diff
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCONFIGURE_OPTIONS += --with-find=/usr/gnu/bin/find
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCONFIGURE_OPTIONS += --with-patch=/usr/gnu/bin/patch
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCONFIGURE_OPTIONS += --with-perl=/usr/perl5/$(PERL_VERSION)/bin/perl
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCONFIGURE_OPTIONS += --with-pod2man=/usr/perl5/$(PERL_VERSION)/bin/pod2man
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCONFIGURE_OPTIONS += --with-xgettext=/usr/bin/gxgettext
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsCONFIGURE_OPTIONS += --with-msgfmt=/usr/bin/gmsgfmt
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCOMPONENT_INSTALL_ARGS += BUILD_ROOT=$(PROTO_DIR)
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonASLR_MODE = $(ASLR_NOT_APPLICABLE)
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# common targets
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafssonconfigure: $(CONFIGURE_64)
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafssonbuild: $(BUILD_64)
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafssoninstall: $(INSTALL_64)
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafsson
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafssontest: $(TEST_64)
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafsson
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafsson
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsREQUIRED_PACKAGES += archiver/gnu-tar
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsREQUIRED_PACKAGES += file/gnu-coreutils
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsREQUIRED_PACKAGES += file/gnu-findutils
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsREQUIRED_PACKAGES += runtime/perl-512
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsREQUIRED_PACKAGES += service/network/smtp/sendmail
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsREQUIRED_PACKAGES += shell/bash
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsREQUIRED_PACKAGES += text/gawk
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark AndrewsREQUIRED_PACKAGES += text/gnu-diffutils
REQUIRED_PACKAGES += text/gnu-grep
REQUIRED_PACKAGES += text/gnu-patch
REQUIRED_PACKAGES += text/gnu-sed