Makefile revision 2719
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3270659f55e0928d6edec3d26217cc29398a8149Srikanth, Ramana sha256:8192393640f7bc304ce82669b35eb90592566a30abbb4924456f52079afc18e2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_PROJECT_URL= http://cffi.readthedocs.org/
3270659f55e0928d6edec3d26217cc29398a8149Srikanth, Ramana# We need to go look at pycparser in the workspace until it's available in the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# build environment.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn FortePYCPARSER = $(WS_COMPONENTS)/python/pycparser/build/prototype/$(MACH)/$(PYTHON_LIB)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)/$(PYTHON_LIB):$(PYCPARSER)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_TEST_ENV += TESTOWNLIB_CC="$(CC) %s $(CC_BITS) -G -KPIC -o %s"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_TEST_CMD = $(PYTHON.$(BITS)) /usr/bin/py.test-$(PYTHON_VERSION)
$(BUILD_DIR)/sparcv7-%/.tested: TEST_SKIPS = -k "not test_callback_return_type and not test_struct_packed and not test_opaque_integer_as_function_result"
$(BUILD_DIR)/sparcv9-%/.tested: TEST_SKIPS = -k "not test_callback and not test_a_lot_of_callbacks and not test_struct_packed and not test_opaque_integer_as_function_result and not test_wchar"
test: $(TEST_32_and_64)