Makefile revision 3996
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# CDDL HEADER START
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# The contents of this file are subject to the terms of the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Common Development and Distribution License (the "License").
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# You may not use this file except in compliance with the License.
fcc9f7f86c2fa2ceb8a5c16dc934fea7fa6887f2Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcc9f7f86c2fa2ceb8a5c16dc934fea7fa6887f2Andreas Gustafsson# See the License for the specific language governing permissions
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# and limitations under the License.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# When distributing Covered Code, include this CDDL HEADER in each
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# If applicable, add the following below this CDDL HEADER, with the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# fields enclosed by brackets "[]" replaced with your own identifying
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# information: Portions Copyright [yyyy] [name of copyright owner]
fcc9f7f86c2fa2ceb8a5c16dc934fea7fa6887f2Andreas Gustafsson# CDDL HEADER END
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric LuceCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce sha256:02902cb65b5adb0419c69cdb03ea2a0cfdfe8f7df342be44f3760d66cdecb61e
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric LuceCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Since this is an app, and doesn't provide any public library interfaces, we
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# only need to deliver one version. The manifest is parameterized, though.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Replace the standard nova/virt/libvirt/__init__.py with an empty file.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce ($(CP) /dev/null $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/libvirt/__init__.py; \
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce $(MKDIR) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/solariszones; \
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce $(CP) files/solariszones/__init__.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/solariszones; \
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce $(CP) files/solariszones/driver.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/solariszones; \
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce $(CP) files/solariszones/sysconfig.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/solariszones); \
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# common targets
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric LuceREQUIRED_PACKAGES += library/python/sqlalchemy-migrate-26