409N/A#
409N/A# CDDL HEADER START
409N/A#
409N/A# The contents of this file are subject to the terms of the
409N/A# Common Development and Distribution License (the "License").
409N/A# You may not use this file except in compliance with the License.
409N/A#
409N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
409N/A# or http://www.opensolaris.org/os/licensing.
409N/A# See the License for the specific language governing permissions
409N/A# and limitations under the License.
409N/A#
409N/A# When distributing Covered Code, include this CDDL HEADER in each
409N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
409N/A# If applicable, add the following below this CDDL HEADER, with the
409N/A# fields enclosed by brackets "[]" replaced with your own identifying
409N/A# information: Portions Copyright [yyyy] [name of copyright owner]
409N/A#
409N/A# CDDL HEADER END
409N/A#
409N/A
409N/A#
5964N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
409N/A#
409N/A
409N/Ainclude ../../make-rules/shared-macros.mk
409N/A
409N/ACOMPONENT_NAME= pconsole
409N/ACOMPONENT_VERSION= 1.0
409N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
409N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
409N/ACOMPONENT_PROJECT_URL= http://www.heiho.net/pconsole/
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:94520bf65f726df9d7e686bb486e9a2828c29d09a20b9522f1da4f7d66700bb2
409N/ACOMPONENT_ARCHIVE_URL= http://www.heiho.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/pconsole
409N/A
3661N/ATPNO= 9270
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
409N/A
409N/A# Required to configure correctly.
409N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
409N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
409N/A
409N/A# -I argument needed to find the generated config.h file.
409N/ACONFIGURE_ENV += "CC=$(CC) -I."
409N/A
409N/A# If the configure options are not explicitly set, then configure fails with:
409N/A# configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
409N/A# configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
409N/A# configure: error: can only configure for one host and one target at a time
409N/ACONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
409N/A
409N/A# DESTDIR doesn't work correctly, so we specify some of the paths directly.
409N/ACOMPONENT_INSTALL_ARGS += prefix=$(PROTOUSRDIR)
409N/A
409N/A# common targets
409N/Abuild: $(BUILD_32)
409N/A
409N/Ainstall: $(INSTALL_32)
409N/A
409N/Atest: $(NO_TESTS)
409N/A
409N/A
3996N/AREQUIRED_PACKAGES += shell/bash
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library
5964N/AREQUIRED_PACKAGES += text/gawk