components/perl_modules/authen-pam/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Wed, 14 Aug 2013 10:54:58 -0700
changeset 1434 c782e620dd26
parent 1360 ed2174a87b88
child 1948 2d1537e7942d
permissions -rw-r--r--
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     1
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     3
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     7
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    12
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    18
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    20
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    22
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    23
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    24
include ../../../make-rules/shared-macros.mk
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    25
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=		Authen-PAM
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=	0.16
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    31
    sha256:0e949bd9a2a9df0f829971030fe9169cbaf6cec78b92faf22f547ff6c6155c9b
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=	\
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    33
    http://www.cpan.org/modules/by-module/Authen/$(COMPONENT_ARCHIVE)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	http://search.cpan.org/~nikip/
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	perl-mod/authen-pam
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    36
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    37
# build threaded 5.12 support too
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    38
PERL_VERSIONS += 5.12-mt
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    39
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    40
include $(WS_TOP)/make-rules/prep.mk
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    41
include $(WS_TOP)/make-rules/ips.mk
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    42
include $(WS_TOP)/make-rules/makemaker.mk
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    43
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1360
diff changeset
    44
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    45
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    46
# man pages go in the common area
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    47
COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    48
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    49
COMPONENT_TEST_TARGETS = test
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    50
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    51
build:		$(BUILD_32_and_64)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    52
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    53
install:	$(INSTALL_32_and_64)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    54
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    55
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    56
# Must have xml-parser installed for these tests to pass.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    57
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    58
test:		$(TEST_32_and_64)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    59
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    60
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    61
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    62
include $(WS_TOP)/make-rules/depend.mk