Makefile revision 1273
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# CDDL HEADER START
21f450f4fd5fd60f951de44878aae015ed0342e3Adam Moore# The contents of this file are subject to the terms of the
cb4f4f79feb7498d1f3406b88fb62209e5f5a444Adam Moore# Common Development and Distribution License (the "License").
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# You may not use this file except in compliance with the License.
0a9c6f9f30a66e52ec4ea4ed93504580b3a5669aAdam Moore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# See the License for the specific language governing permissions
4f2de35716c5df46152747980516af484d0ab208Adam Moore# and limitations under the License.
03f9aefec605c500b64625110a955e65b900b100Adam Moore# When distributing Covered Code, include this CDDL HEADER in each
03f9aefec605c500b64625110a955e65b900b100Adam Moore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03f9aefec605c500b64625110a955e65b900b100Adam Moore# If applicable, add the following below this CDDL HEADER, with the
03f9aefec605c500b64625110a955e65b900b100Adam Moore# fields enclosed by brackets "[]" replaced with your own identifying
03f9aefec605c500b64625110a955e65b900b100Adam Moore# information: Portions Copyright [yyyy] [name of copyright owner]
03f9aefec605c500b64625110a955e65b900b100Adam Moore# CDDL HEADER END
03f9aefec605c500b64625110a955e65b900b100Adam Moore# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
5f8408be995d28c8f351f37fd05e7c8633fdea40Adam MooreCOMPONENT_PROJECT_URL= http://sourceforge.net/projects/pwgen/
5f8408be995d28c8f351f37fd05e7c8633fdea40Adam MooreCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore sha256:61598c9e3a0f7eb2e7367d4ecc71522c4f16a7d41ed31db29e3afee8d9843454
b46f3d670b654847b0ce60afdba1b461c492a5c9Adam MooreCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/pwgen/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
0771d781138a507b3e657573703f511291640bf3Adam Moore# IPS Package versions contain sequences of non-negative (for now) integers,
9c42541e375e7bb70c53012b3012d70f1a380254Adam Moore# separated by dots. Leading zeroes are not allowed, due to ordering
9c42541e375e7bb70c53012b3012d70f1a380254Adam Moore# ambiguity, so IPS team has to massage "06" into "6" and thus IPS version
03f9aefec605c500b64625110a955e65b900b100Adam Moore# of pwgen is actually 2.6 and not 2.06. IPS_COMPONENT_VERSION is by default
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# set to $(COMPONENT_VERSION) but in this case it has to be set specifically
8aa0880cd494c951e0f4aa7d82d8bdac7692c7d0Adam Moore# to "2.6" to comply with the convention described above.
b238e52ac22e07b0798ae7b0f63f3fe0e8f9bf95Adam Moore# configure in pwgen is generated by autoconf 2.13, which does not accept the
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# variables like CC, CXX, etc. The solution is to generate a new configure
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# using modern autoconf available on the build system (version 2.63 in the
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# time of creating this makefile).
2690c090ce850e485d15cf691f59e8aaeb3b4bb1Adam Moore# This is to get rid of gcc specific -Wxxx options in pwgen makefile
482388c306e346930994afd7e59b3af43c00aac6Adam Moore# common targets