sbsv1/buildsystem/extension/tools/py2exe.mk
author Zheng Shen <zheng.shen@nokia.com>
Tue, 26 Oct 2010 11:12:31 +0800
changeset 654 7c11c3d8d025
parent 599 fa7a3cc6effd
permissions -rw-r--r--
romtools 13.2.0.1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     1
# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     2
# All rights reserved.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     3
# This component and the accompanying materials are made available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     4
# under the terms of "Eclipse Public License v1.0"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     5
# which accompanies this distribution, and is available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     7
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     8
# Initial Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     9
# Nokia Corporation - initial contribution.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    10
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    11
# Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    12
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    13
# Description:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    14
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    15
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    16
MAKMAKE :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    17
	@python $(EXTENSION_ROOT)/$(RAPTOR_SCRIPTS_LOC)$(SETUP_SCRIPT) py2exe $(EXTENSION_ROOT)/$(RAPTOR_SCRIPTS_LOC)$(ENTRY_POINT) $(EXTENSION_ROOT)/$(DIST_DIR)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    18
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    19
CLEAN :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    20
	@del $(subst /,\, $(wildcard $(EXTENSION_ROOT)\$(DIST_DIR)*.pyd))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    21
	@del $(subst /,\, $(EXTENSION_ROOT)\$(DIST_DIR)library.zip)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    22
	@del $(subst /,\, $(wildcard $(EXTENSION_ROOT)\$(DIST_DIR)MSVCR*.dll))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
	@del $(subst /,\, $(wildcard $(EXTENSION_ROOT)\$(DIST_DIR)python*.dll))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    24
	@del $(subst .py,.exe, $(subst /,\, $(EXTENSION_ROOT)\$(DIST_DIR)$(ENTRY_POINT)))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
	@del $(subst /,\, $(EXTENSION_ROOT)\$(DIST_DIR)w9xpopen.exe)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
RELEASABLES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
	@echo $(subst /,\, $(wildcard $(EXTENSION_ROOT)\$(DIST_DIR)*.pyd))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
	@echo $(subst /,\, $(EXTENSION_ROOT)\$(DIST_DIR)library.zip)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
	@echo $(subst /,\, $(wildcard $(EXTENSION_ROOT)\$(DIST_DIR)MSVCR*.dll))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
	@echo $(subst /,\, $(wildcard $(EXTENSION_ROOT)\$(DIST_DIR)python*.dll))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
	@echo $(subst .py,.exe, $(subst /,\, $(EXTENSION_ROOT)\$(DIST_DIR)$(ENTRY_POINT)))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
	@echo $(subst /,\, $(EXTENSION_ROOT)\$(DIST_DIR)w9xpopen.exe)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
# Dummy target
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
DO_NOTHING :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
BLD LIB SAVESPACE FREEZE CLEANLIB RESOURCE FINAL : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39