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