3
|
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 EXE Function Like Makefile (FLM)
|
|
15 |
# Build an emulator STDEXE
|
|
16 |
#
|
|
17 |
#
|
|
18 |
|
|
19 |
ifeq ($(TARGETTYPE),stdexe)
|
|
20 |
|
|
21 |
BASE_TYPE:=exe
|
|
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 |
|
|
30 |
ifeq ($(WCHARENTRYPOINT),)
|
|
31 |
LIBRARY:=$(LIBRARY) libcrt0.lib
|
|
32 |
else
|
|
33 |
LIBRARY:=$(LIBRARY) libwcrt0.lib
|
|
34 |
endif
|
|
35 |
|
|
36 |
OPEN_ENVIRONMENT:=1
|
|
37 |
SUPPORTS_IMPORT_LIBRARY:=0
|
|
38 |
SYSTEM_TARGET:=0
|
|
39 |
UID2_DEFAULT:=20004C45
|
|
40 |
|
|
41 |
# Use the general win32 FLM
|
|
42 |
include $(FLMHOME)/win32.flm
|
|
43 |
|
|
44 |
else
|
|
45 |
$(error $win32stdexe.flm called with wrong TARGETTYPE (should be 'stdexe' but is '$(TARGETTYPE)'))
|
|
46 |
endif
|