components/openstack/common/Makefile
branchs11u2-sru
changeset 4380 2ac4d1fcad4a
parent 4156 4b1def16fe9b
equal deleted inserted replaced
4361:17379d4babfa 4380:2ac4d1fcad4a
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		openstack
    28 COMPONENT_NAME=		openstack
    32 
    32 
    33 include $(WS_TOP)/make-rules/ips.mk
    33 include $(WS_TOP)/make-rules/ips.mk
    34 
    34 
    35 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    35 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    36 
    36 
    37 # Do not apply the standard license transforms for this component.
    37 # Used for placement of openstack_common.py
    38 LICENSE_TRANSFORMS =
    38 PYTHON_VERSIONS=	2.6
       
    39 PYTHON_VERSION=		2.6
       
    40 PKG_MACROS +=		PYVER=$(PYTHON_VERSIONS)
    39 
    41 
    40 # common targets
    42 # common targets
    41 prep:
    43 prep:
    42 	$(TOUCH) $@
    44 	$(TOUCH) $@
    43 
    45 
    44 build:		FRC
    46 build:		FRC
    45 	@/bin/true
    47 	@/bin/true
    46 
    48 
    47 install:	FRC
    49 install:	FRC
    48 	@/bin/true
    50 	($(MKDIR) $(PROTO_DIR)$(PYTHON_LIB); \
       
    51 	    $(CP) files/openstack_common.py $(PROTO_DIR)$(PYTHON_LIB); \
       
    52 	 $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES))
    49 
    53 
    50 download::
    54 download::
    51 	@echo 'No downloads for this component'
    55 	@echo 'No downloads for this component'
    52 
    56 
    53 clobber::	clean
    57 clobber::	clean