Makefile revision 6545
107N/A#
107N/A# CDDL HEADER START
107N/A#
107N/A# The contents of this file are subject to the terms of the
107N/A# Common Development and Distribution License (the "License").
107N/A# You may not use this file except in compliance with the License.
107N/A#
107N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
107N/A# or http://www.opensolaris.org/os/licensing.
107N/A# See the License for the specific language governing permissions
107N/A# and limitations under the License.
107N/A#
107N/A# When distributing Covered Code, include this CDDL HEADER in each
107N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
107N/A# If applicable, add the following below this CDDL HEADER, with the
107N/A# fields enclosed by brackets "[]" replaced with your own identifying
107N/A# information: Portions Copyright [yyyy] [name of copyright owner]
107N/A#
107N/A# CDDL HEADER END
107N/A#
107N/A
107N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
107N/A#
5680N/ABUILD_BITS= 64
107N/Ainclude ../../make-rules/shared-macros.mk
107N/A
107N/ACOMPONENT_NAME= pwgen
5839N/ACOMPONENT_VERSION= 2.07
618N/ACOMPONENT_PROJECT_URL= http://sourceforge.net/projects/pwgen/
844N/ACOMPONENT_ARCHIVE_HASH= \
5839N/A sha256:eb74593f58296c21c71cd07933e070492e9222b79cedf81d1a02ce09c0e11556
5839N/ACOMPONENT_ARCHIVE_URL= http://netcologne.dl.sourceforge.net/project/pwgen/pwgen/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
107N/A
5839N/ATPNO= 27185
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
2000N/A
5680N/A# Fix 64-bit linking via compiler.
5680N/ALDFLAGS += $(CC_BITS)
107N/A
107N/A# IPS Package versions contain sequences of non-negative (for now) integers,
107N/A# separated by dots. Leading zeroes are not allowed, due to ordering
5839N/A# ambiguity. For example, IPS team has to massage "06" into "6" and thus IPS
5839N/A# version of pwgen 2.06 becomes 2.6. IPS_COMPONENT_VERSION is by default
107N/A# set to $(COMPONENT_VERSION) but in this case it has to be set specifically
5839N/A# to comply with the convention described above.
107N/A#
5839N/AIPS_COMPONENT_VERSION= 2.7
5680N/AHUMAN_VERSION= $(COMPONENT_VERSION)
107N/A
107N/A# configure in pwgen is generated by autoconf 2.13, which does not accept the
107N/A# variables like CC, CXX, etc. The solution is to generate a new configure
107N/A# using modern autoconf available on the build system (version 2.63 in the
107N/A# time of creating this makefile).
107N/A#
107N/ACOMPONENT_PREP_ACTION= (cd $(@D) ; autoconf)
107N/A
107N/A# This is to get rid of gcc specific -Wxxx options in pwgen makefile
107N/A#
151N/ACOMPONENT_BUILD_ARGS = WALL_OPTS=
107N/A
3817N/AREQUIRED_PACKAGES += system/library/security/crypto