Makefile revision 3454
7a23067e782dd5612d4d4b539906e1733b664df7jwoolley# CDDL HEADER START
fb59f85aab19883025f619727948b8088232cc4brederpj# The contents of this file are subject to the terms of the
fb59f85aab19883025f619727948b8088232cc4brederpj# Common Development and Distribution License (the "License").
fb59f85aab19883025f619727948b8088232cc4brederpj# You may not use this file except in compliance with the License.
1a1cf0ee9229ee29e5750b25dd94dbb9b04072cfianh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1a1cf0ee9229ee29e5750b25dd94dbb9b04072cfianh# See the License for the specific language governing permissions
61afed048a4d67ed923d52e5c865c0f10a8e9e73trawick# and limitations under the License.
0bbb249eafe9ef9508821f0ef58e7440625ecd62trawick# When distributing Covered Code, include this CDDL HEADER in each
61afed048a4d67ed923d52e5c865c0f10a8e9e73trawick# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7a23067e782dd5612d4d4b539906e1733b664df7jwoolley# If applicable, add the following below this CDDL HEADER, with the
7a23067e782dd5612d4d4b539906e1733b664df7jwoolley# fields enclosed by brackets "[]" replaced with your own identifying
7a23067e782dd5612d4d4b539906e1733b664df7jwoolley# information: Portions Copyright [yyyy] [name of copyright owner]
6032a7c97a25c52f4bdd78ce23f2010e52c9e81arederpj# CDDL HEADER END
ba2e14e474516f1c75a96b4f6d1a9dec332175efianh# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
8ab933f1df663f95c27e2ce5772127d4f3a10e0bstriker sha256:49557e7ffca08100f9fc687f4dfc5aea703ca207640c76d9dee7b66f03cb4782
de42d3dfd83a4cc62f0dd6b79ee5cbcfa69fd503brianpCOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/project/p7zip/p7zip/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
39dde7f4cd79d701cc14e5beac8ea528bc58d038wroweCOMPONENT_PREP_ACTION = (cd $(@D); cp ../makefile.solaris makefile.machine)
39dde7f4cd79d701cc14e5beac8ea528bc58d038wroweCOMPONENT_INSTALL_ARGS += DEST_HOME=/usr DEST_DIR=$(PROTO_DIR)
39dde7f4cd79d701cc14e5beac8ea528bc58d038wrowe$(SOURCE_DIR)/DOCS/copying.txt $(SOURCE_DIR)/DOCS/unRarLicense.txt: prep
39dde7f4cd79d701cc14e5beac8ea528bc58d038wrowe$(BUILD_DIR)/copying.txt: $(SOURCE_DIR)/DOCS/copying.txt
39dde7f4cd79d701cc14e5beac8ea528bc58d038wrowe# common targets
39dde7f4cd79d701cc14e5beac8ea528bc58d038wrowe $(BUILD_DIR)/copying.txt $(BUILD_DIR)/unRarLicense.txt
39dde7f4cd79d701cc14e5beac8ea528bc58d038wrowe# When p7zip's install target is run, it creates all its directories mode 555,
39dde7f4cd79d701cc14e5beac8ea528bc58d038wrowe# so they're impossible to remove without adding the write bit first.
268ac122b1fd6fa948b30bdf0d8c0d80e75d68dawroweCOMPONENT_POST_INSTALL_ACTION += $(CHMOD) -R u+w $(PROTO_DIR)
268ac122b1fd6fa948b30bdf0d8c0d80e75d68dawrowe# build does this always
268ac122b1fd6fa948b30bdf0d8c0d80e75d68dawrowe cd $(BUILD_DIR_32) && $(MAKE) -e test P7ZIP_HOME_DIR=$(BUILD_DIR_32)/bin
268ac122b1fd6fa948b30bdf0d8c0d80e75d68dawrowe cd $(BUILD_DIR_32) && $(MAKE) -e test_7z P7ZIP_HOME_DIR=$(BUILD_DIR_32)/bin