Makefile revision 919
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# CDDL HEADER START
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# The contents of this file are subject to the terms of the
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# Common Development and Distribution License (the "License").
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# You may not use this file except in compliance with the License.
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# See the License for the specific language governing permissions
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# and limitations under the License.
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# When distributing Covered Code, include this CDDL HEADER in each
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# If applicable, add the following below this CDDL HEADER, with the
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# CDDL HEADER END
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsyncCOMPONENT_PROJECT_URL= http://www.gnu.org/software/libtool/
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync sha256:b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsyncCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# For now, we want to continue to provide the libltdl.so's (and their
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# links) from libtool 1.5.22.
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsyncCOMPONENT_SRC_1 = $(COMPONENT_NAME)-$(COMPONENT_VERSION_1)
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync sha256:88e9ffaaade21c1ddaf6297723dd2fb4ca18ccaef0499a28b6e672f02c8ceb5d
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsyncCOMPONENT_ARCHIVE_URL_1 = http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE_1)
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# Remove the hard-wired compiler locations in the LTCC and two CC lines
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# in the two versions of the libtool script.
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync (for dir in $(PROTOUSRBINDIR) $(PROTOUSRBINDIR)/$(MACH64) ; do \
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# Macros to configure, build, and install the old version for the time being.
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsyncBUILD_OLD_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH32)
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsyncBUILD_OLD_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH64)
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync$(BUILD_OLD_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync$(BUILD_OLD_DIR_64)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# install the old version first
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync$(BUILD_DIR_32)/.installed: $(BUILD_OLD_DIR_32)/.installed
f0bff7899265b70fd1f37183a90d4c264b4cf593vboxsync$(BUILD_DIR_64)/.installed: $(BUILD_OLD_DIR_64)/.installed
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# we need to prep the old version too (this should be handled in prep.mk)
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync$(SOURCE_DIR_1)/.unpacked: download Makefile $(PATCHES)
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# prep the old version first
41a839133aad7c96a0d55d927dc3475d0cbe9c22vboxsync# common targets