author | david.comay@oracle.com |
Fri, 09 May 2014 20:59:20 -0700 | |
changeset 1890 | 5a4ef66c42bf |
parent 1434 | c782e620dd26 |
child 1907 | 446472de62e9 |
permissions | -rw-r--r-- |
1105
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson 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 |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson 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. |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson 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 |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson 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 |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson 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. |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson 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 |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
23 |
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
1105
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= simplejson |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 2.1.2 |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://undefined.org/python/#simplejson |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
sha256:d196d78af44acdf47078e320124bfe4cd2cb3bd7b9be7f5587b2e149124cb49c |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/s/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= python-mod/simplejson |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
|
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
include $(WS_TOP)/make-rules/prep.mk |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
include $(WS_TOP)/make-rules/setup.py.mk |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
include $(WS_TOP)/make-rules/ips.mk |
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
|
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
42 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
43 |
|
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
44 |
# Needed to get around a broken /usr/lib/python2.7/config/Makefile |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
45 |
# See CR #16837431. |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
46 |
LD=$(CC) |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
47 |
LDSHARED=$(CC) -G |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
48 |
PYTHON_ENV += CC="$(CC)" |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
49 |
PYTHON_ENV += LDSHARED="$(LDSHARED)" |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
50 |
PYTHON_ENV += LD="$(LD)" |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
51 |
PYTHON_ENV += CFLAGS="$(CFLAGS)" |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
52 |
COMPONENT_INSTALL_ENV += $(PYTHON_ENV) |
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
53 |
|
1303
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1105
diff
changeset
|
54 |
COMPONENT_TEST_DIR= $(COMPONENT_SRC) |
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1105
diff
changeset
|
55 |
COMPONENT_TEST_ARGS= ./setup.py test |
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1105
diff
changeset
|
56 |
|
1105
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
# common targets |
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
58 |
build: $(BUILD_32_and_64) |
1105
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
|
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
60 |
install: $(INSTALL_32_and_64) |
1105
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
|
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
62 |
test: $(TEST_32_and_64) |
1105
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
|
1890
5a4ef66c42bf
16808434 Many components probably don't need a PATH line in their Makefiles
david.comay@oracle.com
parents:
1434
diff
changeset
|
64 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
1105
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
|
e745d9f4429b
15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
include $(WS_TOP)/make-rules/depend.mk |