# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description:
# win32lib.flm
# WINSCW Standard Static Library Function Like Makefile (FLM)
# Build an emulator STDLIB
# 
#

ifeq ($(TARGETTYPE),stdlib)

BASE_TYPE:=staticlib
CW_STATIC_RUNTIME:=0
FIXED_EXPORT:=
LFLAGS:=$(subst -nostdlib,-stdlib,$(LFLAGS))
OPEN_ENVIRONMENT:=1

SUPPORTS_IMPORT_LIBRARY:=0

# Use the general win32 FLM 
include $(FLMHOME)/win32.flm

else
$(error $win32stdlib.flm called with wrong TARGETTYPE (should be 'stdlib' but is '$(TARGETTYPE)'))
endif
