Makefile revision 4339
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# The contents of this file are subject to the terms of the
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Common Development and Distribution License (the "License").
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# You may not use this file except in compliance with the License.
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0519188c8e1ae76978fc4e0f799620cd36eba07aAutomatic Updater# or http://www.opensolaris.org/os/licensing.
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews# See the License for the specific language governing permissions
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# and limitations under the License.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# If applicable, add the following below this CDDL HEADER, with the
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_PROJECT_URL= http://www.bzip.org/
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater sha256:a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# Enable ASLR for this component
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# we need to enable large file support and build PIC for our shared libraries
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updater $(COMPONENT_TEST_RESULTS_DIR)/system-results-all.master
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater '-e "/^XXX_CC_XXX$$/d" '
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater# common targets
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# override the 64 bit install and have it make a directory for the lint lib
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_POST_INSTALL_ACTION = $(MKDIR) $(PROTOUSRLIBDIR64)
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews $(INSTALL) $(BUILD_DIR_32)/libbz2.so.1 $(PROTOUSRLIBDIR)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cd $(PROTOUSRLIBDIR); rm -f libbz2.so; ln -s libbz2.so.1 libbz2.so
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson $(INSTALL) $(BUILD_DIR_64)/libbz2.so.1 $(PROTOUSRLIBDIR64)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cd $(PROTOUSRLIBDIR64); rm -f libbz2.so; ln -s libbz2.so.1 libbz2.so
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater $(INSTALL) $(BUILD_DIR_64)/llib-lbz2.ln $(PROTOUSRLIBDIR64)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# build does this always