Makefile revision 2400
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt#
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# CDDL HEADER START
5d52a1fe1b8ea396fb5ae7f6f1567c8383445113Tinderbox User#
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# or http://www.opensolaris.org/os/licensing.
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# See the License for the specific language governing permissions
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# and limitations under the License.
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt#
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# When distributing Covered Code, include this CDDL HEADER in each
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt#
10966da999f8f7f364418aa446d8ead9c8a761cfMark Andrews# CDDL HEADER END
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt#
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt#
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt#
9689922a0d936b04feb418fbaf4c1420f745ea58Mark Andrewsinclude ../../../make-rules/shared-macros.mk
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan HuntCOMPONENT_NAME= websockify
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan HuntCOMPONENT_VERSION= 0.3.0
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan HuntCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan HuntCOMPONENT_ARCHIVE= v$(COMPONENT_VERSION).tar.gz
10966da999f8f7f364418aa446d8ead9c8a761cfMark AndrewsCOMPONENT_ARCHIVE_HASH= \
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt sha256:6466ba0031635a8442006ec5bfa9a19c92906b5229119b8a3cd8556d348ae801
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan HuntCOMPONENT_PROJECT_URL= https://github.com/kanaka/websockify
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan HuntCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/$(COMPONENT_ARCHIVE)
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan HuntCOMPONENT_BUGDB= python-mod/websockify
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt
9689922a0d936b04feb418fbaf4c1420f745ea58Mark Andrewsinclude $(WS_TOP)/make-rules/prep.mk
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Huntinclude $(WS_TOP)/make-rules/setup.py.mk
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Huntinclude $(WS_TOP)/make-rules/ips.mk
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan Hunt
b716b9cddcf2924b83c5ba2c21142cb4c626061fEvan HuntASLR_MODE = $(ASLR_NOT_APPLICABLE)
COMPONENT_POST_INSTALL_ACTION = \
(cd $(PROTO_DIR)/usr/bin ; \
$(MV) -f websockify websockify-$(PYTHON_VERSION))
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk