|
1 # |
|
2 # Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 # which accompanies this distribution, and is available |
|
18 |
|
19 # |
|
20 # Initial Contributors: |
|
21 # Nokia Corporation - initial contribution. |
|
22 # |
|
23 # Contributors: |
|
24 # |
|
25 # Description: |
|
26 # |
|
27 |
|
28 # Typically C:\apps\MSVC6\VC98\Bin |
|
29 COMPILER=nmake |
|
30 |
|
31 # Called with |
|
32 # |
|
33 # $(PLATFORM) = TOOLS |
|
34 # $(CFG) = DEB, REL |
|
35 |
|
36 BLD : |
|
37 @echo BLD called with $(PLATFORM)$(CFG) |
|
38 |
|
39 # release version |
|
40 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "REL" |
|
41 -mkdir "$(EPOCROOT)epoc32\tools\STAT" |
|
42 |
|
43 # Go up one level to access the makefile |
|
44 cd ".." |
|
45 |
|
46 # Execute the command line compiler (stat2perl) |
|
47 "$(COMPILER)" /A /NOLOGO /f "stat2perl.mak" CFG="stat2perl - Win32 Release" |
|
48 |
|
49 echo ** STAT 2 PERL CONVERTER (RELEASE) compiled successfully |
|
50 |
|
51 !endif |
|
52 |
|
53 # debug version |
|
54 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "DEB" |
|
55 |
|
56 # Go up one level to access the makefile |
|
57 cd ".." |
|
58 |
|
59 # Execute the command line compiler (stat2perl) |
|
60 "$(COMPILER)" /A /NOLOGO /f "stat2perl.mak" CFG="stat2perl - Win32 Debug" |
|
61 |
|
62 echo ** STAT 2 PERL CONVERTER (DEBUG) compiled successfully |
|
63 |
|
64 !endif |
|
65 |
|
66 CLEAN : |
|
67 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "REL" |
|
68 -rmdir "..\Release" /q /s |
|
69 !endif |
|
70 |
|
71 CLEAN : |
|
72 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "DEB" |
|
73 -rmdir "..\Debug" /q /s |
|
74 !endif |
|
75 |
|
76 RELEASABLES : |
|
77 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "REL" |
|
78 @echo $(EPOCROOT)epoc32\tools\STAT\STAT2PERL.exe |
|
79 !endif |
|
80 |
|
81 SAVESPACE : BLD |
|
82 |
|
83 MAKMAKE LIB CLEANLIB RESOURCE FREEZE FINAL : |