Makefile revision 2818
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync#
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# CDDL HEADER START
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync#
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# The contents of this file are subject to the terms of the
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# Common Development and Distribution License (the "License").
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# You may not use this file except in compliance with the License.
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync#
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# or http://www.opensolaris.org/os/licensing.
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# See the License for the specific language governing permissions
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# and limitations under the License.
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync#
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# When distributing Covered Code, include this CDDL HEADER in each
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# If applicable, add the following below this CDDL HEADER, with the
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
be39ea3afe4c49ce64597ff7d47c5b29e17c2b5cvboxsync#
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# CDDL HEADER END
be39ea3afe4c49ce64597ff7d47c5b29e17c2b5cvboxsync#
be39ea3afe4c49ce64597ff7d47c5b29e17c2b5cvboxsync# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
be39ea3afe4c49ce64597ff7d47c5b29e17c2b5cvboxsync#
be39ea3afe4c49ce64597ff7d47c5b29e17c2b5cvboxsyncinclude ../../../make-rules/shared-macros.mk
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_NAME= netifaces
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_VERSION= 0.8
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_PROJECT_URL= http://alastairs-place.net/projects/netifaces/
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_ARCHIVE_HASH= \
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync sha256:53a711038db3d6e5cf7129d6f751185fd052f830f12f271fbfe17bd2671ab1ec
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_BUGDB= python-mod/netifaces
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# Syntax issues: not Python 3 ready.
2b114c590cf5a19f8047cd7bde9c7e5ae00aa22bvboxsyncPYTHON_VERSIONS = 2.7 2.6
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncinclude $(WS_TOP)/make-rules/prep.mk
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncinclude $(WS_TOP)/make-rules/setup.py.mk
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncinclude $(WS_TOP)/make-rules/ips.mk
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncASLR_MODE = $(ASLR_NOT_APPLICABLE)
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_BUILD_ENV += CC_BITS="$(CC_BITS)"
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# Needed to get around a broken /usr/lib/python2.7/config/Makefile
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# See CR #16837431.
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncLD=$(CC)
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncLDSHARED=$(CC) -G
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncPYTHON_ENV += CC="$(CC)"
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncPYTHON_ENV += LDSHARED="$(LDSHARED)"
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncPYTHON_ENV += LD="$(LD)"
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncPYTHON_ENV += CFLAGS="$(CFLAGS)"
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncCOMPONENT_INSTALL_ENV += $(PYTHON_ENV)
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync# common targets
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncbuild: $(BUILD_32_and_64)
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsyncinstall: $(INSTALL_32_and_64)
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsynctest: $(NO_TESTS)
8018c2b7edb3aa068c4363c2a1044fc6147132ecvboxsync
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk