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