toolsandutils/buildsystem/extension/syslibs/test/centrep_copyincentrepsrv.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 CENTREPSRVSRCDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
       
    23 CENTREPSRVTGTDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/sys/bin
       
    24 
       
    25 FILE = centralrepositorysrv.exe
       
    26 
       
    27 $(CENTREPSRVTGTDIR) :
       
    28 	$(call createdir, "$(CENTREPSRVTGTDIR)")
       
    29 
       
    30 COPYFILE : $(FILE)
       
    31 	$(call forcecopy,$(CENTREPSRVSRCDIR)/$^,$(CENTREPSRVTGTDIR))
       
    32 
       
    33 $(FILE):
       
    34 endif
       
    35 
       
    36 DO_NOTHING :
       
    37 	@echo do nothing
       
    38 
       
    39 #
       
    40 # The targets invoked by bld...
       
    41 #
       
    42 
       
    43 ifeq ($(findstring WINS,$(PLATFORM)),WINS)
       
    44 BLD : $(CENTREPSRVTGTDIR) $(CENTREPSRVSRCDIR) COPYFILE
       
    45 
       
    46 CLEAN : $(FILE)
       
    47 	$(call forceremove,$(CENTREPSRVTGTDIR)/$^)
       
    48 
       
    49 RELEASABLES : $(FILE)
       
    50 	@echo $(CENTREPSRVTGTDIR)/$^
       
    51 
       
    52 else
       
    53 BLD : DO_NOTHING
       
    54 
       
    55 CLEAN : DO_NOTHING
       
    56 
       
    57 RELEASABLES : DO_NOTHING
       
    58 endif
       
    59 
       
    60 MAKMAKE : DO_NOTHING
       
    61 
       
    62 SAVESPACE : DO_NOTHING
       
    63 
       
    64 LIB : DO_NOTHING
       
    65 
       
    66 CLEANLIB : DO_NOTHING
       
    67 
       
    68 FREEZE : DO_NOTHING
       
    69 
       
    70 RESOURCE : DO_NOTHING
       
    71 
       
    72 FINAL : DO_NOTHING
       
    73 
       
    74 ROMFILE : DO_NOTHING