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