components/openstack/common/Makefile
branchs11-update
changeset 4314 96c1b7e2e45c
parent 4072 db0cec748ec0
child 4625 18adb92d4193
equal deleted inserted replaced
4313:ab47f4c0c6fc 4314:96c1b7e2e45c
    32 
    32 
    33 include $(WS_MAKE_RULES)/ips.mk
    33 include $(WS_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