author | yiluzhu |
Tue, 23 Feb 2010 14:22:19 +0000 | |
branch | fix |
changeset 247 | 8426d4dedf84 |
parent 81 | 7653ed978a00 |
permissions | -rw-r--r-- |
81
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
1 |
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
2 |
# All rights reserved. |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
3 |
# This component and the accompanying materials are made available |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
5 |
# which accompanies this distribution, and is available |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
7 |
# |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
8 |
# Initial Contributors: |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
9 |
# Nokia Corporation - initial contribution. |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
10 |
# |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
11 |
# Contributors: |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
12 |
# |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
13 |
# Description: |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
14 |
# WINSCW PDLL Function Like Makefile (FLM) |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
15 |
# Build an emulator PDLL |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
16 |
# |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
17 |
# |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
18 |
|
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
19 |
ifeq ($(TARGETTYPE),pdll) |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
20 |
|
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
21 |
BASE_TYPE:=dll |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
22 |
CW_STATIC_RUNTIME:=1 |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
23 |
FIRST_STATLIB:= |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
24 |
FIXED_EXPORT:= |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
25 |
SUPPORTS_IMPORT_LIBRARY:=1 |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
26 |
SYSTEM_TARGET:=0 |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
27 |
UID2_DEFAULT:= |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
28 |
|
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
29 |
# Use the general win32 FLM |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
30 |
include $(FLMHOME)/win32.flm |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
31 |
|
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
32 |
else |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
33 |
$(error $winp32dll.flm called with wrong TARGETTYPE (should be 'dll' but is '$(TARGETTYPE)')) |
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
diff
changeset
|
34 |
endif |