components/python/netifaces/Makefile
author Drew Fisher <drew.fisher@oracle.com>
Wed, 05 Feb 2014 10:52:50 -0700
changeset 1691 043f53535ed4
child 1907 446472de62e9
child 3661 47545fb8aed4
child 4156 4b1def16fe9b
permissions -rw-r--r--
PSARC/2013/390 Babel 1.3 PSARC/2013/403 oslo.config - openstack common configuration module PSARC/2013/418 websockify - websocket to TCP proxy/bridge PSARC/2014/002 django 1.4.10 PSARC/2014/003 django-appconf 0.6 PSARC/2014/004 django-compressor 1.3 PSARC/2014/005 django-openstack-auth 1.1.3 PSARC/2014/006 lesscpy 0.9j PSARC/2014/013 netifaces 0.8 PSARC/2014/028 lockfile 0.9.1 17780769 The Websockify module is needed by the openstack project 17891420 The Python oslo.config module should be added to Userland 18029506 Request to integrate django into Userland 18029519 Request to integrate django-appconf into Userland 18029526 Request to integrate django-compressor into Userland 18029536 Request to integrate django-openstack_auth into Userland 18029544 Request to integrate lesscpy into Userland 18050356 Request to integrate netifaces into Userland 18091230 Request to integrate lockfile into Userland 18140619 request to integrate babel into Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		netifaces
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	0.8
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
COMPONENT_PROJECT_URL=	http://alastairs-place.net/projects/netifaces/
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    31
	sha256:53a711038db3d6e5cf7129d6f751185fd052f830f12f271fbfe17bd2671ab1ec
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/netifaces
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    35
include $(WS_TOP)/make-rules/prep.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    36
include $(WS_TOP)/make-rules/setup.py.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
include $(WS_TOP)/make-rules/ips.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    38
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
COMPONENT_BUILD_ENV += CC_BITS="$(CC_BITS)"
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
# Needed to get around a broken /usr/lib/python2.7/config/Makefile
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
# See CR #16837431.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
LD=$(CC)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
LDSHARED=$(CC) -G
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
PYTHON_ENV += CC="$(CC)"
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
PYTHON_ENV += LDSHARED="$(LDSHARED)"
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
PYTHON_ENV += LD="$(LD)"
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
PYTHON_ENV += CFLAGS="$(CFLAGS)"
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
COMPONENT_INSTALL_ENV += $(PYTHON_ENV)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
# common targets
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
build:		$(BUILD_32_and_64)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
install:	$(INSTALL_32_and_64)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    58
test:		$(NO_TESTS)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    59
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    60
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    61
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    62
include $(WS_TOP)/make-rules/depend.mk