Makefile revision 61
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed# CDDL HEADER START
663272199096ed57917f2bfb1d748a0a622b7b24Tinderbox User# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# You may not use this file except in compliance with the License.
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed# See the License for the specific language governing permissions
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed# and limitations under the License.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed# fields enclosed by brackets "[]" replaced with your own identifying
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# CDDL HEADER END
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy ReedCOMPONENT_DESCRIPTION= "The bzip compression utility"
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy ReedCOMPONENT_CLASSIFICATION="Applications/System Utilities"
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy ReedCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy ReedCOMPONENT_ARCHIVE_HASH= sha1:3f89f861209ce81a6bab1fd1998c0ef311712002
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy ReedCOMPONENT_ARCHIVE_URL= http://www.bzip.org/1.0.6/$(COMPONENT_ARCHIVE)
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy ReedCOMPONENT_INSTALL_TARGETS += PREFIX=$(PROTOUSRDIR)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(LINT) -o $(LIBNAME) ../../llib-lbz2 > $(LINTOUT) 2>&1)
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed# common targets
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy ReedPROTOMAN1FILES=$(MAN1FILES:%=$(PROTOUSRSHAREMAN1DIR)/%)
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy ReedPROTOMAN3FILES=$(MAN3FILES:%=$(PROTOUSRSHAREMAN3DIR)/%)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserPROTODIRS= $(PROTOUSRSHAREMAN1DIR) $(PROTOUSRSHAREMAN3DIR)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User$(PROTOUSRSHAREMAN1DIR) $(PROTOUSRSHAREMAN3DIR):
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed$(PROTOUSRSHAREMAN1DIR)/% $(PROTOUSRSHAREMAN3DIR)/%: manpages/%
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userinstall: build $(INSTALL_32) $(PROTODIRS) $(PROTOMAN3FILES) $(PROTOMAN1FILES)
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed $(INSTALL) $(BUILD_DIR_32)/libbz2.so.1 $(PROTOUSRLIBDIR)
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed cd $(PROTOUSRLIBDIR); rm -f libbz2.so; ln -s libbz2.so.1 libbz2.so
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed $(INSTALL) $(BUILD_DIR_32)/llib-lbz2.ln $(PROTOUSRLIBDIR)
cdcd52e680bd80f0da612c0fcf949b50ef86500bJeremy Reed $(INSTALL) $(BUILD_DIR_64)/libbz2.so.1 $(PROTOUSRLIBDIR64)