author | Rich Burridge <rich.burridge@oracle.com> |
Wed, 14 Aug 2013 10:54:58 -0700 | |
changeset 1434 | c782e620dd26 |
parent 1303 | 79b691ffbda3 |
child 1890 | 5a4ef66c42bf |
permissions | -rw-r--r-- |
1106
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= Twisted |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 10.1.0 |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://twistedmatrix.com/trac/ |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
sha256:eda6e0e9e5ef6f6c19ab75bcb094f83a12ee25fe589fbcddf946e8a655c8070b |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://tmrc.mit.edu/mirror/twisted/$(COMPONENT_NAME)/10.1/$(COMPONENT_ARCHIVE) |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= python-mod/twisted |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
|
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
include $(WS_TOP)/make-rules/prep.mk |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
include $(WS_TOP)/make-rules/setup.py.mk |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
include $(WS_TOP)/make-rules/ips.mk |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
|
1303
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1106
diff
changeset
|
42 |
COMPONENT_TEST_DIR= $(COMPONENT_SRC) |
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1106
diff
changeset
|
43 |
COMPONENT_TEST_CMD= $(@D)/scripts-2.6/trial twisted |
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1106
diff
changeset
|
44 |
COMPONENT_TEST_ARGS="" |
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1106
diff
changeset
|
45 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1303
diff
changeset
|
46 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
1303
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1106
diff
changeset
|
47 |
|
1106
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
# common targets |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
build: $(BUILD_32_and_64) |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
|
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
install: $(INSTALL_32_and_64) |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
|
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
# There are no automated tests yet, but the built-in unit tests can be run |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
# manually with: |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
# |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
# $ cd .../components/python/twisted/Twisted-10.1.0 |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
# $ ../build/i86-2.6/scripts-2.6/trial twisted |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
# $ ../build/i86-2.7/scripts-2.7/trial twisted |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
# |
1303
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1106
diff
changeset
|
60 |
test: $(TEST_32_and_64) |
1106
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
|
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
|
a607a44533d8
15820223 SUNBT7202663 Move python/twisted from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
include $(WS_TOP)/make-rules/depend.mk |