Makefile revision 844
2f4ffd7f5594c0464f2a872aee5ef102f6f7b10fMark Andrews# CDDL HEADER START
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# The contents of this file are subject to the terms of the
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson# Common Development and Distribution License (the "License").
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson# You may not use this file except in compliance with the License.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
a5c077e40c784cf9e25c95a1ab94db2faab04ae9Brian Wellington# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
90c099e88e9f16bfee9edee3ac1a51fc98843772Brian WellingtonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
9c566a852f31c3a5d0b9d6eaf11463114339c01dAndreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
90c099e88e9f16bfee9edee3ac1a51fc98843772Brian WellingtonCOMPONENT_PROJECT_URL= http://www.heiho.net/pconsole/
5afa531442369eed0e93a8af14422b30f400bd89Mark Andrews sha256:94520bf65f726df9d7e686bb486e9a2828c29d09a20b9522f1da4f7d66700bb2
476386968b1f287a695f73c48862e961011af99bMark AndrewsCOMPONENT_ARCHIVE_URL= http://www.heiho.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
9c566a852f31c3a5d0b9d6eaf11463114339c01dAndreas Gustafsson# Required to configure correctly.
1adb2e87a20a480e640385609c9652dac04c7dffAndreas Gustafsson# -I argument needed to find the generated config.h file.
1adb2e87a20a480e640385609c9652dac04c7dffAndreas Gustafsson# If the configure options are not explicitly set, then configure fails with:
1adb2e87a20a480e640385609c9652dac04c7dffAndreas Gustafsson# configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
1adb2e87a20a480e640385609c9652dac04c7dffAndreas Gustafsson# configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
1adb2e87a20a480e640385609c9652dac04c7dffAndreas Gustafsson# configure: error: can only configure for one host and one target at a time
1adb2e87a20a480e640385609c9652dac04c7dffAndreas GustafssonCONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
1adb2e87a20a480e640385609c9652dac04c7dffAndreas Gustafsson# DESTDIR doesn't work correctly, so we specify some of the paths directly.
6017f424ee3c02d7f22132c77576ea38542fa949Andreas GustafssonCOMPONENT_INSTALL_ARGS += prefix=$(PROTOUSRDIR)
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson# common targets