extension/ne1_tb_genbootinc.mk
changeset 56 0d178dffddca
equal deleted inserted replaced
52:164db16a7f09 56:0d178dffddca
       
     1 # Copyright (c) 2006-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 # h4_genbootinc.mk
       
    15 # Generate assembler inc files from header files
       
    16 #
       
    17 
       
    18 # To guarantee there is a slash at the end of EPOCROOT in case there is not.
       
    19 # This is needed to ensure compatibility with SBSv1. 
       
    20 TMPROOT:=$(subst \,/,$(EPOCROOT))
       
    21 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
       
    22 
       
    23 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
       
    24 
       
    25 
       
    26 XINCDIR := $(INC_PATH)/assp/naviengine
       
    27 XGENDIR := $(INC_PATH)/assp/naviengine/$(MEMMODEL)
       
    28 
       
    29 MAKMAKE : all
       
    30 
       
    31 FREEZE :
       
    32 
       
    33 LIB : all
       
    34 
       
    35 CLEANLIB :
       
    36 
       
    37 RESOURCE :
       
    38 
       
    39 FINAL :
       
    40 
       
    41 BLD SAVESPACE : all
       
    42 
       
    43 RELEASABLES :
       
    44 	@echo $(XGENDIR)/naviengine.inc
       
    45 
       
    46 CLEAN :
       
    47 	-$(ERASE) $(call slash2generic,$(XGENDIR)/naviengine.inc) 
       
    48 	@echo $(XGENDIR)/naviengine.inc
       
    49 
       
    50 all: $(XGENDIR)/naviengine.inc
       
    51 
       
    52 $(XGENDIR)/naviengine.inc : $(XINCDIR)/naviengine.h
       
    53 	perl $(EPOCROOT)epoc32/tools/h2inc.pl $(XINCDIR)/naviengine.h $(XGENDIR)/naviengine.inc ARMASM
       
    54