components/fetchmail/Makefile
author John Beck <John.Beck@Oracle.COM>
Thu, 11 Apr 2013 10:50:53 -0700
changeset 1259 68c7d53a1374
parent 1175 3b79e6aa942a
child 1948 2d1537e7942d
permissions -rw-r--r--
16624899 enable 64-bit for fetchmail
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     1
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     3
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     7
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    12
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    18
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    20
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    21
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    22
#
1175
3b79e6aa942a 16390176 parfait issues in fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    23
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    24
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    25
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    27
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		fetchmail
965
9bd86858aaa1 7195687 Update fetchmail to version 6.3.22
Marcel Telka <marcel.telka@oracle.com>
parents: 800
diff changeset
    29
COMPONENT_VERSION=	6.3.22
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 587
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
965
9bd86858aaa1 7195687 Update fetchmail to version 6.3.22
Marcel Telka <marcel.telka@oracle.com>
parents: 800
diff changeset
    33
    sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	http://fetchmail.berlios.de/
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 965
diff changeset
    36
COMPONENT_BUGDB=	utility/fetchmail
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    37
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    38
include ../../make-rules/prep.mk
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    39
include ../../make-rules/configure.mk
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    40
include ../../make-rules/ips.mk
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    41
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    42
CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    43
CONFIGURE_OPTIONS  +=		am_cv_python_pythondir="$(PYTHON_VENDOR_PACKAGES)"
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS  +=		--with-kerberos5
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS  +=		--with-ssl
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS  +=		--enable-NTLM
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    47
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    48
# We don't have any .so files, so we want to ship the .py and .pyc files in
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    49
# the same place as we would for 32-bit.
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    50
PYTHON_VENDOR_PACKAGES.64 =	$(PYTHON_VENDOR_PACKAGES.32)
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    51
1175
3b79e6aa942a 16390176 parfait issues in fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    52
ASLR_MODE = $(ASLR_ENABLE)
3b79e6aa942a 16390176 parfait issues in fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    53
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    54
COMPONENT_POST_INSTALL_ACTION = \
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    55
    $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    56
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    57
# common targets
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    58
build:		$(BUILD_64)
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    59
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    60
install:	$(INSTALL_64)
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    61
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    62
test:		$(TEST_64)
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    63
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    64
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    65
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    66
include ../../make-rules/depend.mk