Makefile revision 3438
5886N/A#
5886N/A# CDDL HEADER START
5886N/A#
5886N/A# The contents of this file are subject to the terms of the
5886N/A# Common Development and Distribution License (the "License").
5886N/A# You may not use this file except in compliance with the License.
5886N/A#
5886N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5886N/A# or http://www.opensolaris.org/os/licensing.
5886N/A# See the License for the specific language governing permissions
5886N/A# and limitations under the License.
5886N/A#
5886N/A# When distributing Covered Code, include this CDDL HEADER in each
5886N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5886N/A# If applicable, add the following below this CDDL HEADER, with the
5886N/A# fields enclosed by brackets "[]" replaced with your own identifying
5886N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5886N/A#
5886N/A# CDDL HEADER END
5886N/A#
5886N/A# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
5886N/A#
5886N/A
5886N/Ainclude ../../../make-rules/shared-macros.mk
5886N/A
5886N/ACOMPONENT_NAME= Authen-PAM
5886N/ACOMPONENT_VERSION= 0.16
5886N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5886N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5886N/ACOMPONENT_ARCHIVE_HASH= \
5886N/A sha256:0e949bd9a2a9df0f829971030fe9169cbaf6cec78b92faf22f547ff6c6155c9b
5886N/ACOMPONENT_ARCHIVE_URL= \
5886N/A http://www.cpan.org/modules/by-module/Authen/$(COMPONENT_ARCHIVE)
5886N/ACOMPONENT_PROJECT_URL= http://search.cpan.org/~nikip/
5886N/ACOMPONENT_BUGDB= perl-mod/authen-pam
5886N/A
5886N/ATPNO= 9303
5886N/A
5886N/A# build threaded 5.12 support too
5886N/APERL_VERSIONS += 5.12-mt
5886N/A
5886N/Ainclude $(WS_TOP)/make-rules/prep.mk
5886N/Ainclude $(WS_TOP)/make-rules/ips.mk
5886N/Ainclude $(WS_TOP)/make-rules/makemaker.mk
5886N/A
5886N/A# Pick up the patch to configure.ac in the 01-solaris.patch file
5886N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
5886N/A
5886N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
5886N/A
5886N/A# man pages go in the common area
5886N/ACOMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
5886N/A
5886N/ACOMPONENT_TEST_TARGETS = test
5886N/A
5886N/Abuild: $(BUILD_32_and_64)
6034N/A
5886N/Ainstall: $(INSTALL_32_and_64)
5886N/A
5886N/ACOMPONENT_POST_TEST_ACTION= \
5886N/A PERL5LIB=$(@D)/blib/lib:$(@D)/blib/arch $(PERL) test/PAM_NO_AUTHTOK_CHECK.pl
5886N/A
5886N/A#
# 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)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk