tools/export_templates.mk
changeset 111 1158876b5622
parent 25 482757737e59
equal deleted inserted replaced
110:a728d3c0bd35 111:1158876b5622
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 # 
     8 # 
     9 # Initial Contributors:
     9 # Initial Contributors:
    10 # Accenture - Initial contribution
    10 # Accenture - Initial contribution
    11 #
    11 #
    12 BLD :
    12 # To ensure that EPOCROOT always ends with a forward slash
       
    13 TMPROOT:=$(subst \,/,$(EPOCROOT))
       
    14 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
       
    15 
       
    16 CREATESRCDIR = $(EPOCROOT)sf/os/fshell/tools/createsrc-templates
       
    17 CREATESRCDEST = $(EPOCROOT)epoc32/tools/createsrc-templates
       
    18 EXPORT = $(EPOCROOT)sf/os/fshell/tools/exportall
       
    19 
       
    20 BLD : $(BUILDFILES)
       
    21 $(BUILDFILES) : 
    13 ifeq ($(PLATFORM), WINSCW)
    22 ifeq ($(PLATFORM), WINSCW)
    14 	.\exportall .\createsrc-templates $(EPOCROOT)epoc32\tools\createsrc-templates
    23 	$(EXPORT)  $(CREATESRCDIR) $(CREATESRCDEST) 
    15 endif
    24 endif
    16 
    25 
    17 RELEASABLES :
    26 RELEASABLES : $(RELEASABLEFILES)
       
    27 $(RELEASABLEFILES) :
    18 ifeq ($(PLATFORM), WINSCW)
    28 ifeq ($(PLATFORM), WINSCW)
    19 	@.\exportall -w .\createsrc-templates $(EPOCROOT)epoc32\tools\createsrc-templates
    29 	@$(EXPORT)  -w $(CREATESRCDIR) $(CREATESRCDEST) 
    20 endif
    30 endif
    21 
    31 
    22 CLEAN :
    32 CLEAN : $(CLEANFILES)
       
    33 
       
    34 $(CLEANFILES) :
    23 ifeq ($(PLATFORM), WINSCW)
    35 ifeq ($(PLATFORM), WINSCW)
    24 	.\exportall -c .\createsrc-templates $(EPOCROOT)epoc32\tools\createsrc-templates
    36 	$(EXPORT)-c $(CREATESRCDIR) $(CREATESRCDEST) 
    25 endif
    37 endif
    26 
    38 
    27 MAKMAKE FINAL FREEZE LIB CLEANLIB RESOURCE SAVESPACE : 
    39 MAKMAKE FINAL FREEZE LIB CLEANLIB RESOURCE SAVESPACE :