components/python/pywbem/Makefile
author Drew Fisher <drew.fisher@oracle.com>
Fri, 18 Nov 2016 07:20:10 -0800
changeset 7349 391d794fb249
parent 4984 7145b15b7f0d
child 7687 1093e2a9adbd
permissions -rw-r--r--
25087455 pywbem won't build without m2crypto, but doesn't list it in REQUIRED_PACKAGES
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3499
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
#
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
#
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
#
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
#
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
#
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
#
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    21
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
#
7349
391d794fb249 25087455 pywbem won't build without m2crypto, but doesn't list it in REQUIRED_PACKAGES
Drew Fisher <drew.fisher@oracle.com>
parents: 4984
diff changeset
    23
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
3499
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
#
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
COMPONENT_NAME=		pywbem
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_VERSION=	0.7.0
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
    sha256:414f2cebabc0824e1d834809a27842cf698af19b23b61691a4ee76105b9cdcbd
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	http://downloads.sourceforge.net/pywbem/$(COMPONENT_ARCHIVE)
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	http://pywbem.sourceforge.net/
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_BUGDB=	python-mod/pywbem
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    36
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    37
TPNO=			9053
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    38
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    39
# Syntax issues: not Python 3 ready.
4984
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4339
diff changeset
    40
PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
3499
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    41
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3499
diff changeset
    42
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3499
diff changeset
    43
include $(WS_MAKE_RULES)/setup.py.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3499
diff changeset
    44
include $(WS_MAKE_RULES)/ips.mk
3499
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    45
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
# common targets
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    49
build:		$(BUILD_NO_ARCH)
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    50
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    51
install:	$(INSTALL_NO_ARCH)
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    52
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    53
test:		$(NO_TESTS)
78cfa87d42b8 20054509 Migrate pywbem from Desktop to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    54
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    55
system-test:    $(NO_TESTS)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    56
7349
391d794fb249 25087455 pywbem won't build without m2crypto, but doesn't list it in REQUIRED_PACKAGES
Drew Fisher <drew.fisher@oracle.com>
parents: 4984
diff changeset
    57
REQUIRED_PACKAGES += library/python/m2crypto-27