Makefile revision 1876
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# CDDL HEADER START
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# The contents of this file are subject to the terms of the
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Common Development and Distribution License (the "License").
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# You may not use this file except in compliance with the License.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# or http://www.opensolaris.org/os/licensing.
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen# See the License for the specific language governing permissions
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# and limitations under the License.
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen#
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen#
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen# CDDL HEADER END
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen#
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen#
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
d482b35af87f5fd872bad007da0475813a401a49Timo Siraineninclude ../../../make-rules/shared-macros.mk
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
d482b35af87f5fd872bad007da0475813a401a49Timo SirainenCOMPONENT_NAME= Twisted
d482b35af87f5fd872bad007da0475813a401a49Timo SirainenCOMPONENT_VERSION= 10.1.0
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_PROJECT_URL= http://twistedmatrix.com/trac/
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_ARCHIVE_HASH= \
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen sha256:eda6e0e9e5ef6f6c19ab75bcb094f83a12ee25fe589fbcddf946e8a655c8070b
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_ARCHIVE_URL= http://tmrc.mit.edu/mirror/twisted/$(COMPONENT_NAME)/10.1/$(COMPONENT_ARCHIVE)
d482b35af87f5fd872bad007da0475813a401a49Timo SirainenCOMPONENT_BUGDB= python-mod/twisted
d482b35af87f5fd872bad007da0475813a401a49Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Siraineninclude $(WS_TOP)/make-rules/prep.mk
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Siraineninclude $(WS_TOP)/make-rules/setup.py.mk
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Siraineninclude $(WS_TOP)/make-rules/ips.mk
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo SirainenCOMPONENT_TEST_DIR= $(COMPONENT_SRC)
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo SirainenCOMPONENT_TEST_CMD= $(@D)/scripts-2.6/trial twisted
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenCOMPONENT_TEST_ARGS=""
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenASLR_MODE = $(ASLR_ENABLE)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# common targets
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainenbuild: $(BUILD_32_and_64)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Siraineninstall: $(INSTALL_32_and_64)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# There are no automated tests yet, but the built-in unit tests can be run
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# manually with:
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen# $ cd .../components/python/twisted/Twisted-10.1.0
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen# $ ../build/i86-2.6/scripts-2.6/trial twisted
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# $ ../build/i86-2.7/scripts-2.7/trial twisted
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen#
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainentest: $(TEST_32_and_64)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo SirainenBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Siraineninclude $(WS_TOP)/make-rules/depend.mk
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo Sirainen