Makefile revision 3661
f4845813cd6fa5749dfec8e3bc647b85c1df0980wrowe#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
84fbf855118f318dd5e511d8e5b902cecc1177c0jim#
84fbf855118f318dd5e511d8e5b902cecc1177c0jim# The contents of this file are subject to the terms of the
9c233808c898095865fcc0a2dc1cf594d0d8faf3sf# Common Development and Distribution License (the "License").
9c233808c898095865fcc0a2dc1cf594d0d8faf3sf# You may not use this file except in compliance with the License.
3b41ccdaa163f4e900bbf8a7aa6a366df033822dminfrin#
3b41ccdaa163f4e900bbf8a7aa6a366df033822dminfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3b41ccdaa163f4e900bbf8a7aa6a366df033822dminfrin# or http://www.opensolaris.org/os/licensing.
3b41ccdaa163f4e900bbf8a7aa6a366df033822dminfrin# See the License for the specific language governing permissions
3b41ccdaa163f4e900bbf8a7aa6a366df033822dminfrin# and limitations under the License.
28587db43bc4bea96a36fbcffdd967e7b422bb97minfrin#
28587db43bc4bea96a36fbcffdd967e7b422bb97minfrin# When distributing Covered Code, include this CDDL HEADER in each
28587db43bc4bea96a36fbcffdd967e7b422bb97minfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
28587db43bc4bea96a36fbcffdd967e7b422bb97minfrin# If applicable, add the following below this CDDL HEADER, with the
5a2dcc476c33985b7681aa72256bcd7266057eddsf# fields enclosed by brackets "[]" replaced with your own identifying
5a2dcc476c33985b7681aa72256bcd7266057eddsf# information: Portions Copyright [yyyy] [name of copyright owner]
5a2dcc476c33985b7681aa72256bcd7266057eddsf#
e08076ca56e6cb68b30846b9e9339061058aae6dpoirier# CDDL HEADER END
e08076ca56e6cb68b30846b9e9339061058aae6dpoirier#
e08076ca56e6cb68b30846b9e9339061058aae6dpoirier
e08076ca56e6cb68b30846b9e9339061058aae6dpoirier#
e08076ca56e6cb68b30846b9e9339061058aae6dpoirier# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
e08076ca56e6cb68b30846b9e9339061058aae6dpoirier#
e08076ca56e6cb68b30846b9e9339061058aae6dpoirier
e08076ca56e6cb68b30846b9e9339061058aae6dpoirierinclude ../../make-rules/shared-macros.mk
f3a19422957c2e9eb827c8e38e5982f678591aa5minfrin
b7a2f855b5e31abc24dab2eef28e9e2f985ae25brpluemCOMPONENT_NAME= pconsole
b7a2f855b5e31abc24dab2eef28e9e2f985ae25brpluemCOMPONENT_VERSION= 1.0
fa1c7ce09927decc1eecd1e9a35cc5331078a052covenerCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fa1c7ce09927decc1eecd1e9a35cc5331078a052covenerCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
fa1c7ce09927decc1eecd1e9a35cc5331078a052covenerCOMPONENT_PROJECT_URL= http://www.heiho.net/pconsole/
84fbf855118f318dd5e511d8e5b902cecc1177c0jimCOMPONENT_ARCHIVE_HASH= \
4fda5fb4cc40703a76e261bbf21ec1d6b51b7d3fjim sha256:94520bf65f726df9d7e686bb486e9a2828c29d09a20b9522f1da4f7d66700bb2
4fda5fb4cc40703a76e261bbf21ec1d6b51b7d3fjimCOMPONENT_ARCHIVE_URL= http://www.heiho.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
fa0dc2a4f675a868378a52946e5b244d6bf41196sfCOMPONENT_BUGDB= utility/pconsole
fa0dc2a4f675a868378a52946e5b244d6bf41196sf
0807f6da6091b748ab47c21ba66252fe8da2a966sfTPNO= 9270
0807f6da6091b748ab47c21ba66252fe8da2a966sf
0807f6da6091b748ab47c21ba66252fe8da2a966sfinclude ../../make-rules/prep.mk
b92a868b537899a51efd8c200c396fa51c63839dtrawickinclude ../../make-rules/configure.mk
b92a868b537899a51efd8c200c396fa51c63839dtrawickinclude ../../make-rules/ips.mk
4fda5fb4cc40703a76e261bbf21ec1d6b51b7d3fjim
dc52cac281d8b311dc47d115ed979f923b667679rjung# Required to configure correctly.
dc52cac281d8b311dc47d115ed979f923b667679rjungCOMPONENT_PRE_CONFIGURE_ACTION = \
dc52cac281d8b311dc47d115ed979f923b667679rjung ($(CLONEY) $(SOURCE_DIR) $(@D))
2534e869d2ba209bd0c43717ea80992e6de0c51djim
2534e869d2ba209bd0c43717ea80992e6de0c51djim# -I argument needed to find the generated config.h file.
f8033d657a57eab45af44368774d8beb3e4f7f35pquernaCONFIGURE_ENV += "CC=$(CC) -I."
f8033d657a57eab45af44368774d8beb3e4f7f35pquerna
f8033d657a57eab45af44368774d8beb3e4f7f35pquerna# If the configure options are not explicitly set, then configure fails with:
f8033d657a57eab45af44368774d8beb3e4f7f35pquerna# configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
02fd88c85a9850109753b87612955ad372de1575sf# configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
02fd88c85a9850109753b87612955ad372de1575sf# configure: error: can only configure for one host and one target at a time
02fd88c85a9850109753b87612955ad372de1575sfCONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
da48ae521bcc2751f8eb8dfb02f7aab0f46943c6sf
da48ae521bcc2751f8eb8dfb02f7aab0f46943c6sf# DESTDIR doesn't work correctly, so we specify some of the paths directly.
da48ae521bcc2751f8eb8dfb02f7aab0f46943c6sfCOMPONENT_INSTALL_ARGS += prefix=$(PROTOUSRDIR)
1374472d83ce061a431b7f6eeb5e5135fb4cd922jim
1374472d83ce061a431b7f6eeb5e5135fb4cd922jim# common targets
1374472d83ce061a431b7f6eeb5e5135fb4cd922jimbuild: $(BUILD_32)
1374472d83ce061a431b7f6eeb5e5135fb4cd922jim
ab7a123efe997d907274eb672ab2b36746bb3f57sfinstall: $(INSTALL_32)
ab7a123efe997d907274eb672ab2b36746bb3f57sf
ab7a123efe997d907274eb672ab2b36746bb3f57sftest: $(NO_TESTS)
ab7a123efe997d907274eb672ab2b36746bb3f57sf
a44d29a3794110c558c940bd903a1930d717a7d7sfBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
a44d29a3794110c558c940bd903a1930d717a7d7sf
a44d29a3794110c558c940bd903a1930d717a7d7sfinclude ../../make-rules/depend.mk
a44d29a3794110c558c940bd903a1930d717a7d7sf