Makefile revision 127
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell#
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# CDDL HEADER START
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell#
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# The contents of this file are subject to the terms of the
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# Common Development and Distribution License (the "License").
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# You may not use this file except in compliance with the License.
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell#
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# or http://www.opensolaris.org/os/licensing.
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# See the License for the specific language governing permissions
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# and limitations under the License.
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell#
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# When distributing Covered Code, include this CDDL HEADER in each
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# If applicable, add the following below this CDDL HEADER, with the
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# fields enclosed by brackets "[]" replaced with your own identifying
721bb987c406979bcfe705fa1ca8d54497d40fcbRobert Wapshott# information: Portions Copyright [yyyy] [name of copyright owner]
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnell#
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnell# CDDL HEADER END
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnell#
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnell
91f0e3cb60de3eba8cbb70c7e36cc0df22d71f5bRobert Wapshott#
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell#
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellinclude ../../make-rules/shared-macros.mk
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnellCOMPONENT_NAME= libtool
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellCOMPONENT_VERSION= 1.5.22
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellCOMPONENT_ARCHIVE_HASH= sha1:17353e66aeaac80ae188ea0a3a90609550ce3254
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnellCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellinclude $(WS_TOP)/make-rules/prep.mk
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellinclude $(WS_TOP)/make-rules/configure.mk
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnellinclude $(WS_TOP)/make-rules/ips.mk
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnell
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellCONFIGURE_OPTIONS += --disable-static
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnellCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
2beebed98b4fc7f018fb224a1e4a3ab6103a4c0bCraig McDonnellCONFIGURE_OPTIONS += PERL="$(PERL)"
721bb987c406979bcfe705fa1ca8d54497d40fcbRobert Wapshott
721bb987c406979bcfe705fa1ca8d54497d40fcbRobert Wapshottinclude $(WS_TOP)/make-rules/shared-targets.mk
721bb987c406979bcfe705fa1ca8d54497d40fcbRobert Wapshott
721bb987c406979bcfe705fa1ca8d54497d40fcbRobert Wapshott# common targets
721bb987c406979bcfe705fa1ca8d54497d40fcbRobert Wapshottbuild: $(BUILD_32_and_64)
91f0e3cb60de3eba8cbb70c7e36cc0df22d71f5bRobert Wapshott
91f0e3cb60de3eba8cbb70c7e36cc0df22d71f5bRobert Wapshottinstall: $(INSTALL_32_and_64)
91f0e3cb60de3eba8cbb70c7e36cc0df22d71f5bRobert Wapshott
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnellBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnell
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnelltest: build
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnell @cd $(BUILD_DIR_32); $(MAKE) check
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnell
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnellinclude $(WS_TOP)/make-rules/depend.mk
415243fbc81341293a852ff6aa14e9608d08685cCraig McDonnell