Makefile revision 3817
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
943N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/A
919N/Ainclude ../../../make-rules/shared-macros.mk
98N/A
98N/ACOMPONENT_NAME= Authen-PAM
98N/ACOMPONENT_VERSION= 0.16
98N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
493N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
98N/ACOMPONENT_ARCHIVE_HASH= \
970N/A sha256:0e949bd9a2a9df0f829971030fe9169cbaf6cec78b92faf22f547ff6c6155c9b
970N/ACOMPONENT_ARCHIVE_URL= \
970N/A http://www.cpan.org/modules/by-module/Authen/$(COMPONENT_ARCHIVE)
970N/ACOMPONENT_PROJECT_URL= http://search.cpan.org/~nikip/
98N/ACOMPONENT_BUGDB= perl-mod/authen-pam
851N/A
98N/ATPNO= 9303
911N/A
911N/A# build threaded 5.12 support too
911N/APERL_VERSIONS += 5.12-mt
911N/A
98N/Ainclude $(WS_MAKE_RULES)/prep.mk
98N/Ainclude $(WS_MAKE_RULES)/ips.mk
98N/Ainclude $(WS_MAKE_RULES)/makemaker.mk
98N/A
98N/A# Pick up the patch to configure.ac in the 01-solaris.patch file
493N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
98N/A
970N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
970N/A
970N/A# man pages go in the common area
98N/ACOMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
# This does not have a master test file because the test must be run manually.
COMPONENT_TEST_TARGETS = test
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
COMPONENT_POST_TEST_ACTION= \
PERL5LIB=$(@D)/blib/lib:$(@D)/blib/arch $(PERL) test/PAM_NO_AUTHTOK_CHECK.pl
#
# Must have xml-parser installed for these tests to pass.
#
test:
if tty -s; then $(MAKE) realtest; else echo 'Skipping tests'; fi
realtest: $(TEST_32_and_64)
REQUIRED_PACKAGES += system/library