sbsv2/raptor/lib/flm/win32stddll.flm
changeset 2 39c28ec933dd
child 13 c327db0664bb
equal deleted inserted replaced
1:820b22e13ff1 2:39c28ec933dd
       
     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 the License "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 # WINSCW Standard DLL Function Like Makefile (FLM)
       
    15 # Build an emulator STDDLL
       
    16 # 
       
    17 #
       
    18 
       
    19 ifeq ($(TARGETTYPE),stddll)
       
    20 
       
    21 BASE_TYPE:=dll
       
    22 CFLAGS:=$(subst -inline off,,$(CFLAGS))
       
    23 CW_STATIC_RUNTIME:=0
       
    24 EXPORT_TYPE:=all
       
    25 FIRST_STATLIB:=
       
    26 FIXED_EXPORT:=
       
    27 LFLAGS:=$(subst -nostdlib,-stdlib,$(LFLAGS))
       
    28 LIBRARY:=$(LIBRARY) euser.lib backend.lib
       
    29 NAME_LOOKUP:=-sym_name_lkup -export_entrypoint_E32Dll
       
    30 OPEN_ENVIRONMENT:=1
       
    31 SUPPORTS_IMPORT_LIBRARY:=1
       
    32 SYSTEM_TARGET:=0
       
    33 UID2_DEFAULT:=20004C45
       
    34 
       
    35 # Use the general win32 FLM 
       
    36 include $(FLMHOME)/win32.flm
       
    37 
       
    38 else
       
    39 $(error $win32stddll.flm called with wrong TARGETTYPE (should be 'stddll' but is '$(TARGETTYPE)'))
       
    40 endif