toolsandutils/buildsystem/extension/syslibs/test/centrep_copydatfile.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 #
       
    15 
       
    16 TMPROOT:=$(subst \,/,$(EPOCROOT))
       
    17 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
       
    18 
       
    19 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
       
    20 
       
    21 ifeq ($(findstring WINS,$(PLATFORM)),WINS)
       
    22 	EPOCDATADIR=$(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
       
    23 else
       
    24 	EPOCDATADIR=$(EPOCROOT)epoc32/data
       
    25 endif
       
    26 
       
    27 TARGETDIR = $(EPOCDATADIR)/z/resource
       
    28 SOURCEDIR = $(EXTENSION_ROOT)/../data/certstore
       
    29 
       
    30 FILE = swicertstore.dat
       
    31 
       
    32 $(TARGETDIR) : 
       
    33 	$(call createdir, "$@")
       
    34 
       
    35 COPYFILES : $(FILE)
       
    36 	
       
    37 	$(call forcecopy,$(SOURCEDIR)/$^,$(TARGETDIR)/$^)
       
    38 
       
    39 $(FILE) :
       
    40 
       
    41 DO_NOTHING:
       
    42 	@echo do nothing
       
    43 
       
    44 #
       
    45 # The targets invoked by bld...
       
    46 #
       
    47 
       
    48 BLD :	$(TARGETDIR) COPYFILES
       
    49 
       
    50 CLEAN :
       
    51 	$(call forceremove,$(TARGETDIR)/swicertstore.dat)
       
    52 
       
    53 RELEASABLES :
       
    54 	@echo $(TARGETDIR)/swicertstore.dat
       
    55 
       
    56 MAKMAKE : DO_NOTHING
       
    57 
       
    58 SAVESPACE : DO_NOTHING
       
    59 
       
    60 LIB : DO_NOTHING
       
    61 
       
    62 CLEANLIB : DO_NOTHING
       
    63 
       
    64 FREEZE : DO_NOTHING
       
    65 
       
    66 RESOURCE : DO_NOTHING
       
    67 
       
    68 FINAL : DO_NOTHING
       
    69 
       
    70 ROMFILE : DO_NOTHING