sbsv2/raptor/lib/flm/win32stdlib.flm
author Iain Williamson <iain.williamson@nokia.com>
Fri, 11 Dec 2009 17:20:47 +0000
branchwip
changeset 81 7653ed978a00
parent 3 e1eecf4d390d
permissions -rw-r--r--
Review rework 1: Enabling winscw builds of PDLLs

# 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