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