toolsandutils/buildsystem/extension/syslibs/test/sqlite3_securecopytestfiles.mk
changeset 0 83f4b4db085c
child 1 d4b442d23379
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 # Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Nokia Corporation - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 # Copy SQLITE3_SECURE test files
       
    15 # 
       
    16 #
       
    17 
       
    18 TMPROOT:=$(subst \,/,$(EPOCROOT))
       
    19 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
       
    20 
       
    21 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
       
    22 
       
    23 ifeq ($(findstring WINS,$(PLATFORM)),WINS)
       
    24 	TARGETDIR=$(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/private/10286A82
       
    25 else
       
    26 	TARGETDIR=$(EPOCROOT)epoc32/data/z/private/10286A82
       
    27 
       
    28 endif
       
    29 
       
    30 SOURCEDIR = $(EXTENSION_ROOT)/../TEST/TCLSCRIPT
       
    31 
       
    32 $(TARGETDIR):
       
    33 	$(call createdir, "$@")
       
    34 
       
    35 COPYFILES :
       
    36 	$(call forcecopy,$(SOURCEDIR)/*.test,$(TARGETDIR)/)
       
    37 	$(call forcecopy,$(SOURCEDIR)/tester.tcl,$(TARGETDIR)/)
       
    38 
       
    39 	
       
    40 DO_NOTHING :
       
    41 	@echo do nothing
       
    42 
       
    43 #
       
    44 # The targets invoked by bld...
       
    45 #
       
    46 
       
    47 MAKMAKE : DO_NOTHING
       
    48 
       
    49 BLD : $(TARGETDIR) $(SOURCEDIR) COPYFILES
       
    50 
       
    51 CLEAN : 
       
    52 	$(call forceremove,$(TARGETDIR)/*.test)
       
    53 	$(call forceremove,$(TARGETDIR)/tester.tcl)
       
    54 	
       
    55 SAVESPACE : DO_NOTHING
       
    56 
       
    57 RESOURCE : DO_NOTHING
       
    58 
       
    59 FREEZE : DO_NOTHING
       
    60 
       
    61 LIB : DO_NOTHING
       
    62 
       
    63 CLEANLIB : DO_NOTHING
       
    64 
       
    65 FINAL : DO_NOTHING
       
    66 
       
    67 RELEASABLES : 
       
    68 	@echo $(TARGETDIR)/*.test
       
    69 	@echo $(TARGETDIR)/tester.tcl