make-rules/waf.mk
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Tue, 11 Oct 2016 16:58:27 -0700
changeset 7091 08a4029cbd6c
parent 6956 35dd98776277
permissions -rw-r--r--
Close of build 110.1.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6956
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    23
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
# Rules and Macros for building opens source software that uses the waf
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
# build system from https://waf.io/
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
# To use these rules, include $(WS_MAKE_RULES)/waf.mk in your Makefile
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
# and define "build", "install" targets appropriate to building your component.
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
# Ex:
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
# 	build:		$(BUILD_32) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
#	 		$(BUILD_64)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
# 
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
#	install:	$(INSTALL_32) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
#	 		$(INSTALL_64)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
# Any additional pre/post configure, build, or install actions can be specified
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
# in your Makefile by setting them in on of the following macros:
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    39
#	COMPONENT_PRE_BUILD_ACTION, COMPONENT_POST_BUILD_ACTION
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    40
#	COMPONENT_PRE_INSTALL_ACTION, COMPONENT_POST_INSTALL_ACTION
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    41
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    42
# If component specific make targets need to be used for build or install, they
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    43
# can be specified in
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    44
#	COMPONENT_BUILD_TARGETS, COMPONENT_INSTALL_TARGETS
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    45
#
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    46
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    47
# Defaults to looking for waf script in top level of cloned source
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
WAF = $(PYTHON) waf
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_PREFIX =	/usr
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_BINDIR.32 =	$(CONFIGURE_PREFIX)/bin
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_BINDIR.64 =	$(CONFIGURE_PREFIX)/bin/$(MACH64)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_LIBDIR.32 =	$(CONFIGURE_PREFIX)/lib
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_LIBDIR.64 =	$(CONFIGURE_PREFIX)/lib/$(MACH64)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_SBINDIR.32 =	$(CONFIGURE_PREFIX)/sbin
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    57
CONFIGURE_SBINDIR.64 =	$(CONFIGURE_PREFIX)/sbin/$(MACH64)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_MANDIR =	$(CONFIGURE_PREFIX)/share/man
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_LOCALEDIR =	$(CONFIGURE_PREFIX)/share/locale
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    60
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    61
CONFIGURE_DEFAULT_DIRS?=yes
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    62
CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    63
ifeq ($(CONFIGURE_DEFAULT_DIRS),yes)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    65
ifeq ($(INITIAL_BITS),64)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    66
CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.32)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    67
CONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_SBINDIR.32)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    68
else
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    69
CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    70
CONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_SBINDIR.$(BITS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    71
endif
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    72
CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    73
endif
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    74
CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(BITS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    75
CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(MACH))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    76
CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(MACH).$(BITS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    77
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    78
CONFIGURE_ENV += CC="$(CC) $(CC_BITS)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    79
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    80
CONFIGURE_ENV += CXX="$(CXX) $(CC_BITS)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    81
CONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    82
CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    83
CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    84
CONFIGURE_ENV += PYTHON="$(PYTHON)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    85
CONFIGURE_ENV += PYTHONDIR="$(PYTHON_LIB)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    86
CONFIGURE_ENV += PYTHONARCHDIR="$(PYTHON_VENDOR_PACKAGES)"
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    87
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    88
# configure the unpacked source
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    89
COMPONENT_CONFIGURE_TARGETS ?= configure
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    90
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    91
$(BUILD_DIR_32)/.configured:		BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    92
$(BUILD_DIR_64)/.configured:		BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    93
$(BUILD_DIR)/$(MACH32)-%/.configured:	BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    94
$(BUILD_DIR)/$(MACH64)-%/.configured:	BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    95
$(foreach pyver, $(PYTHON_VERSIONS), \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    96
    $(eval $(BUILD_DIR)/%-$(pyver)/.configured: PYTHON_VERSION=$(pyver)) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    97
)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    98
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    99
$(BUILD_DIR)/%/.configured:	$(SOURCE_DIR)/.prep
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   100
	$(RM) -r $(@D) ; $(MKDIR) $(@D)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   101
	$(CLONEY) $(SOURCE_DIR) $(@D)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   102
	$(COMPONENT_PRE_CONFIGURE_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   103
	(cd $(@D) ; $(ENV) $(CONFIGURE_ENV) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   104
		$(WAF) $(COMPONENT_CONFIGURE_TARGETS) $(CONFIGURE_OPTIONS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   105
	$(COMPONENT_POST_CONFIGURE_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   106
	$(TOUCH) $@
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   107
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   108
# build the configured source
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   109
COMPONENT_BUILD_TARGETS ?= build
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   110
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   111
$(BUILD_DIR_32)/.built:			BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   112
$(BUILD_DIR_64)/.built:			BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   113
$(BUILD_DIR)/$(MACH32)-%/.built:	BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   114
$(BUILD_DIR)/$(MACH64)-%/.built:	BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   115
$(foreach pyver, $(PYTHON_VERSIONS), \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   116
    $(eval $(BUILD_DIR)/%-$(pyver)/.built: PYTHON_VERSION=$(pyver)) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   117
)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   118
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   119
$(BUILD_DIR)/%/.built:	$(BUILD_DIR)/%/.configured
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   120
	$(COMPONENT_PRE_BUILD_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   121
	(cd $(@D) ; $(ENV) $(COMPONENT_BUILD_ENV) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   122
		$(WAF) $(COMPONENT_BUILD_TARGETS) $(COMPONENT_BUILD_ARGS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   123
	$(COMPONENT_POST_BUILD_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   124
ifeq   ($(strip $(PARFAIT_BUILD)),yes)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   125
	-$(PARFAIT) $(@D)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   126
endif
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   127
	$(TOUCH) $@
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   128
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   129
# If BUILD_STYLE is set, provide a default configure target.
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   130
ifeq   ($(strip $(BUILD_STYLE)),waf)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   131
configure:	$(CONFIGURE_$(MK_BITS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   132
endif
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   133
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   134
# install the built source into a prototype area
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   135
COMPONENT_INSTALL_ARGS += --destdir=$(PROTO_DIR)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   136
COMPONENT_INSTALL_ARGS += $(COMPONENT_INSTALL_ARGS.$(BITS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   137
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   138
$(BUILD_DIR_32)/.installed:		BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   139
$(BUILD_DIR_64)/.installed:		BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   140
$(BUILD_DIR)/$(MACH32)-%/.installed:	BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   141
$(BUILD_DIR)/$(MACH64)-%/.installed:	BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   142
$(foreach pyver, $(PYTHON_VERSIONS), \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   143
    $(eval $(BUILD_DIR)/%-$(pyver)/.installed: PYTHON_VERSION=$(pyver)) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   144
)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   145
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   146
$(BUILD_DIR)/%/.installed:	$(BUILD_DIR)/%/.built
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   147
	$(COMPONENT_PRE_INSTALL_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   148
	(cd $(@D) ; $(ENV) $(COMPONENT_INSTALL_ENV) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   149
		 $(WAF) $(COMPONENT_INSTALL_TARGETS) $(COMPONENT_INSTALL_ARGS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   150
	$(COMPONENT_POST_INSTALL_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   151
	$(TOUCH) $@
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   152
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   153
# test the built source
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   154
COMPONENT_TEST_CMD = $(WAF)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   155
COMPONENT_TEST_TARGETS = test
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   156
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   157
$(BUILD_DIR_32)/.tested-and-compared:		BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   158
$(BUILD_DIR_64)/.tested-and-compared:		BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   159
$(BUILD_DIR)/$(MACH32)-%/.tested-and-compared:	BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   160
$(BUILD_DIR)/$(MACH64)-%/.tested-and-compared:	BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   161
$(foreach pyver, $(PYTHON_VERSIONS), \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   162
    $(eval $(BUILD_DIR)/%-$(pyver)/.tested-and-compared: PYTHON_VERSION=$(pyver)) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   163
)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   164
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   165
$(BUILD_DIR)/%/.tested-and-compared:    $(BUILD_DIR)/%/.built
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   166
	$(RM) -rf $(COMPONENT_TEST_BUILD_DIR)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   167
	$(MKDIR) $(COMPONENT_TEST_BUILD_DIR)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   168
	$(COMPONENT_PRE_TEST_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   169
	-(cd $(COMPONENT_TEST_DIR) ; \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   170
		$(COMPONENT_TEST_ENV_CMD) $(COMPONENT_TEST_ENV) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   171
		$(COMPONENT_TEST_CMD) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   172
		$(COMPONENT_TEST_TARGETS) $(COMPONENT_TEST_ARGS)) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   173
		&> $(COMPONENT_TEST_OUTPUT)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   174
	$(COMPONENT_POST_TEST_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   175
	$(COMPONENT_TEST_CREATE_TRANSFORMS)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   176
	$(COMPONENT_TEST_PERFORM_TRANSFORM)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   177
	$(COMPONENT_TEST_COMPARE)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   178
	$(COMPONENT_TEST_CLEANUP)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   179
	$(TOUCH) $@
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   180
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   181
$(BUILD_DIR_32)/.tested:		BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   182
$(BUILD_DIR_64)/.tested:		BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   183
$(BUILD_DIR)/$(MACH32)-%/.tested:	BITS=32
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   184
$(BUILD_DIR)/$(MACH64)-%/.tested:	BITS=64
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   185
$(foreach pyver, $(PYTHON_VERSIONS), \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   186
    $(eval $(BUILD_DIR)/%-$(pyver)/.tested: PYTHON_VERSION=$(pyver)) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   187
)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   188
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   189
$(BUILD_DIR)/%/.tested:    $(BUILD_DIR)/%/.built
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   190
	$(COMPONENT_PRE_TEST_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   191
	(cd $(COMPONENT_TEST_DIR) ; \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   192
		$(COMPONENT_TEST_ENV_CMD) $(COMPONENT_TEST_ENV) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   193
		$(COMPONENT_TEST_CMD) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   194
		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   195
	$(COMPONENT_POST_TEST_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   196
	$(COMPONENT_TEST_CLEANUP)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   197
	$(TOUCH) $@
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   198
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   199
# Test the installed packages.  The targets above depend on .built which
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   200
# means $(CLONEY) has already run.  System-test needs cloning but not
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   201
# building; thus ideally, we would want to depend on .cloned here and below,
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   202
# but since we don't have that, we depend on .prep and run $(CLONEY) here.
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   203
$(BUILD_DIR)/%/.system-tested-and-compared:    $(SOURCE_DIR)/.prep
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   204
	$(RM) -rf $(COMPONENT_TEST_BUILD_DIR)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   205
	$(MKDIR) $(COMPONENT_TEST_BUILD_DIR)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   206
	$(CLONEY) $(SOURCE_DIR) $(@D)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   207
	$(COMPONENT_PRE_SYSTEM_TEST_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   208
	-(cd $(COMPONENT_SYSTEM_TEST_DIR) ; \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   209
		$(COMPONENT_SYSTEM_TEST_ENV_CMD) $(COMPONENT_SYSTEM_TEST_ENV) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   210
		$(COMPONENT_SYSTEM_TEST_CMD) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   211
		$(COMPONENT_SYSTEM_TEST_ARGS) $(COMPONENT_SYSTEM_TEST_TARGETS)) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   212
		&> $(COMPONENT_TEST_OUTPUT)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   213
	$(COMPONENT_POST_SYSTEM_TEST_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   214
	$(COMPONENT_TEST_CREATE_TRANSFORMS)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   215
	$(COMPONENT_TEST_PERFORM_TRANSFORM)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   216
	$(COMPONENT_TEST_COMPARE)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   217
	$(COMPONENT_SYSTEM_TEST_CLEANUP)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   218
	$(TOUCH) $@
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   219
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   220
$(BUILD_DIR)/%/.system-tested:    $(SOURCE_DIR)/.prep
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   221
	$(CLONEY) $(SOURCE_DIR) $(@D)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   222
	$(COMPONENT_PRE_SYSTEM_TEST_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   223
	(cd $(COMPONENT_SYSTEM_TEST_DIR) ; \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   224
		$(COMPONENT_SYSTEM_TEST_ENV_CMD) $(COMPONENT_SYSTEM_TEST_ENV) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   225
		$(COMPONENT_SYSTEM_TEST_CMD) \
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   226
		$(COMPONENT_SYSTEM_TEST_ARGS) $(COMPONENT_SYSTEM_TEST_TARGETS))
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   227
	$(COMPONENT_POST_SYSTEM_TEST_ACTION)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   228
	$(COMPONENT_SYSTEM_TEST_CLEANUP)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   229
	$(TOUCH) $@
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   230
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   231
ifeq   ($(strip $(PARFAIT_BUILD)),yes)
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   232
parfait: build
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   233
else
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   234
parfait:
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   235
	$(MAKE) PARFAIT_BUILD=yes parfait
35dd98776277 17702953 Cairo bindings for Python 3
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
   236
endif