Makefile revision 2818
c0a1ebb1adecc5da1f1ad6f9b06a2b4356d2b135Mark Andrews#
c0a1ebb1adecc5da1f1ad6f9b06a2b4356d2b135Mark Andrews# CDDL HEADER START
4834c6a7f0054b8f4a8a267d60ef78204521e39eMark Andrews#
4834c6a7f0054b8f4a8a267d60ef78204521e39eMark Andrews# The contents of this file are subject to the terms of the
4c47c184b98a5ec1b303281959c1f3b0db85d733Mark Andrews# Common Development and Distribution License (the "License").
4c47c184b98a5ec1b303281959c1f3b0db85d733Mark Andrews# You may not use this file except in compliance with the License.
0e93730a02a4cafbc5cdfaa04b2d813a0c11b205Mark Andrews#
0e93730a02a4cafbc5cdfaa04b2d813a0c11b205Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c04f4437ff8b2aba326e5099eae0cacb7de6f74bMark Andrews# or http://www.opensolaris.org/os/licensing.
c04f4437ff8b2aba326e5099eae0cacb7de6f74bMark Andrews# See the License for the specific language governing permissions
494576ce20cfd98d74955698cf8f7b37dce2f740Mark Andrews# and limitations under the License.
494576ce20cfd98d74955698cf8f7b37dce2f740Mark Andrews#
494576ce20cfd98d74955698cf8f7b37dce2f740Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
a36db48f57a59d82af0cf8cfecbdb7620aa3cc47Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a36db48f57a59d82af0cf8cfecbdb7620aa3cc47Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
a36db48f57a59d82af0cf8cfecbdb7620aa3cc47Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
531f6c355bde4b280d1dea749dd1bcdf6b2f8701Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
531f6c355bde4b280d1dea749dd1bcdf6b2f8701Mark Andrews#
531f6c355bde4b280d1dea749dd1bcdf6b2f8701Mark Andrews# CDDL HEADER END
3ea6d4dc33482a752553c59ed94bcecd23d254b0Mark Andrews#
3ea6d4dc33482a752553c59ed94bcecd23d254b0Mark Andrews
6e1141e6e83b3907b8b187d97932f30fa82470efMark Andrews#
6e1141e6e83b3907b8b187d97932f30fa82470efMark Andrews# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
6e1141e6e83b3907b8b187d97932f30fa82470efMark Andrews#
6e1141e6e83b3907b8b187d97932f30fa82470efMark Andrews
e954ec198e535f8a7e17d72241233f825b0df6a6Mark Andrewsinclude ../../../make-rules/shared-macros.mk
e954ec198e535f8a7e17d72241233f825b0df6a6Mark Andrews
e954ec198e535f8a7e17d72241233f825b0df6a6Mark AndrewsCOMPONENT_NAME= jsonrpclib
aceae69c7f3e76e8842de178851928619c65b61cMark AndrewsCOMPONENT_VERSION= 0.1.3
aceae69c7f3e76e8842de178851928619c65b61cMark AndrewsCOMPONENT_HASH= e3a3cde
aceae69c7f3e76e8842de178851928619c65b61cMark AndrewsCOMPONENT_PROJECT_URL= https://github.com/joshmarshall/jsonrpclib
aceae69c7f3e76e8842de178851928619c65b61cMark AndrewsCOMPONENT_SRC= joshmarshall-jsonrpclib-$(COMPONENT_HASH)
113598f67787f0ed0dcfe23b26d1e5d93256c0acMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
113598f67787f0ed0dcfe23b26d1e5d93256c0acMark AndrewsCOMPONENT_ARCHIVE_HASH= \
113598f67787f0ed0dcfe23b26d1e5d93256c0acMark Andrews sha256:1480f0f189250d46552e29d2a6f04f5b92788ffd9b8f51d06fdaeee03aa2d8bb
dba1bc96f6f4fbbb48ab7b041964d44242731b17Mark AndrewsCOMPONENT_ARCHIVE_URL=https://github.com/joshmarshall/jsonrpclib/tarball/$(COMPONENT_HASH)
dba1bc96f6f4fbbb48ab7b041964d44242731b17Mark AndrewsCOMPONENT_BUGDB= python-mod/jsonrpclib
b68fe6c0fbfee1dc0659661993de5c6727b66c76Mark Andrews
70e854766f5304f43e94212dc38ebaefe214148cMark Andrews# This module builds with Python 3, but depends on simplejson. The following
136e739d0d7267a8ce72468233fa795359db62faMark Andrews# line can be removed when simplejson supports Python 3.
7c8662961e2876e22e34c96d41dad0cd70e3ce4cMark AndrewsPYTHON_VERSIONS= 2.7 2.6
7c8662961e2876e22e34c96d41dad0cd70e3ce4cMark Andrews
beb92a43a7451981fad54c98c809d50c1b16c1e9Mark Andrewsinclude $(WS_TOP)/make-rules/prep.mk
beb92a43a7451981fad54c98c809d50c1b16c1e9Mark Andrewsinclude $(WS_TOP)/make-rules/setup.py.mk
85bba08193debe026883d2d6bebbb0f7a01d7ba7Mark Andrewsinclude $(WS_TOP)/make-rules/ips.mk
85bba08193debe026883d2d6bebbb0f7a01d7ba7Mark Andrews
85bba08193debe026883d2d6bebbb0f7a01d7ba7Mark AndrewsASLR_MODE = $(ASLR_NOT_APPLICABLE)
5173d52b3eb9715259a2890614f869c6baeb18e1Mark Andrews
5173d52b3eb9715259a2890614f869c6baeb18e1Mark AndrewsCOMPONENT_TEST_DIR= $(COMPONENT_SRC)
4091f8dfb71b78b53acd1b25f74e26c384750c03Mark AndrewsCOMPONENT_TEST_ARGS= tests.py
5173d52b3eb9715259a2890614f869c6baeb18e1Mark Andrews
5173d52b3eb9715259a2890614f869c6baeb18e1Mark Andrews# common targets
74ff5f080abdffa7823ff93da74969cd9fa25308Mark Andrewsbuild: $(BUILD_NO_ARCH)
a10ae596379471b0dc76ebd8025d91bf2b90bafcMark Andrews
a10ae596379471b0dc76ebd8025d91bf2b90bafcMark Andrewsinstall: $(INSTALL_NO_ARCH)
09ba9eacebdffc689da9851ce3bd932aedd1deddMark Andrews
09ba9eacebdffc689da9851ce3bd932aedd1deddMark Andrewstest: $(TEST_NO_ARCH)
d5f13fecca944fc7229dac3215581cebec3ac314Mark Andrews
c202b9f4dd7438252d77a4dd8936b7a051431a0bMark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
d844741f5516bce45f8897435342731edb2307cbMark Andrews
53e8e0e27a3db745548a7989639b91d16f841c1fMark Andrewsinclude $(WS_TOP)/make-rules/depend.mk
53e8e0e27a3db745548a7989639b91d16f841c1fMark Andrews