Makefile revision 3996
274N/A#
274N/A# CDDL HEADER START
274N/A#
274N/A# The contents of this file are subject to the terms of the
274N/A# Common Development and Distribution License (the "License").
274N/A# You may not use this file except in compliance with the License.
274N/A#
274N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
274N/A# or http://www.opensolaris.org/os/licensing.
274N/A# See the License for the specific language governing permissions
274N/A# and limitations under the License.
274N/A#
274N/A# When distributing Covered Code, include this CDDL HEADER in each
274N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
274N/A# If applicable, add the following below this CDDL HEADER, with the
274N/A# fields enclosed by brackets "[]" replaced with your own identifying
274N/A# information: Portions Copyright [yyyy] [name of copyright owner]
274N/A#
274N/A# CDDL HEADER END
274N/A#
274N/A
274N/A#
844N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
274N/A#
274N/A
274N/Ainclude ../../make-rules/shared-macros.mk
274N/A
274N/ACOMPONENT_NAME= pwgen
874N/ACOMPONENT_VERSION= 2.06
618N/ACOMPONENT_PROJECT_URL= http://sourceforge.net/projects/pwgen/
274N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
274N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
874N/A sha256:61598c9e3a0f7eb2e7367d4ecc71522c4f16a7d41ed31db29e3afee8d9843454
874N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/pwgen/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
874N/ACOMPONENT_BUGDB= utility/pwgen
274N/A
274N/ATPNO= 9020
274N/A
274N/ACONFIGURE_OPTIONS += LDFLAGS="$(CC_BITS)"
274N/A
274N/Ainclude $(WS_MAKE_RULES)/prep.mk
274N/Ainclude $(WS_MAKE_RULES)/configure.mk
274N/Ainclude $(WS_MAKE_RULES)/ips.mk
274N/A
274N/A# IPS Package versions contain sequences of non-negative (for now) integers,
274N/A# separated by dots. Leading zeroes are not allowed, due to ordering
274N/A# ambiguity, so IPS team has to massage "06" into "6" and thus IPS version
274N/A# of pwgen is actually 2.6 and not 2.06. IPS_COMPONENT_VERSION is by default
274N/A# set to $(COMPONENT_VERSION) but in this case it has to be set specifically
274N/A# to "2.6" to comply with the convention described above.
274N/A#
274N/AIPS_COMPONENT_VERSION= 2.6
274N/A
# configure in pwgen is generated by autoconf 2.13, which does not accept the
# variables like CC, CXX, etc. The solution is to generate a new configure
# using modern autoconf available on the build system (version 2.63 in the
# time of creating this makefile).
#
COMPONENT_PREP_ACTION= (cd $(@D) ; autoconf)
CONFIGURE_OPTIONS+= CFLAGS="$(CFLAGS)"
# This is to get rid of gcc specific -Wxxx options in pwgen makefile
#
COMPONENT_BUILD_ARGS = WALL_OPTS=
ASLR_MODE = $(ASLR_ENABLE)
# common targets
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
REQUIRED_PACKAGES += system/library