testtoolsconn/stat/desktop/source/stat2perl/group/stat2perl.mk
changeset 0 3da2a79470a7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testtoolsconn/stat/desktop/source/stat2perl/group/stat2perl.mk	Mon Mar 08 15:04:18 2010 +0800
@@ -0,0 +1,83 @@
+#
+# Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "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:  
+#
+
+# which accompanies this distribution, and is available
+
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:
+#
+
+# Typically C:\apps\MSVC6\VC98\Bin
+COMPILER=nmake
+
+# Called with
+#
+# $(PLATFORM) = TOOLS
+# $(CFG)      = DEB, REL
+
+BLD	:  
+	@echo BLD called with $(PLATFORM)$(CFG)
+	
+# release version
+!if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "REL"
+	-mkdir "$(EPOCROOT)epoc32\tools\STAT"
+
+# Go up one level to access the makefile
+	cd ".."
+
+# Execute the command line compiler (stat2perl)
+	"$(COMPILER)" /A /NOLOGO /f "stat2perl.mak" CFG="stat2perl - Win32 Release"
+	
+	echo ** STAT 2 PERL CONVERTER (RELEASE) compiled successfully
+
+!endif
+
+# debug version
+!if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "DEB"
+
+# Go up one level to access the makefile
+	cd ".."
+
+# Execute the command line compiler (stat2perl)
+	"$(COMPILER)" /A /NOLOGO /f "stat2perl.mak" CFG="stat2perl - Win32 Debug"
+	
+	echo ** STAT 2 PERL CONVERTER (DEBUG) compiled successfully
+
+!endif
+
+CLEAN :
+!if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "REL"
+	-rmdir "..\Release" /q /s
+!endif
+
+CLEAN :
+!if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "DEB"
+	-rmdir "..\Debug" /q /s
+!endif
+
+RELEASABLES :
+!if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "REL"
+	@echo $(EPOCROOT)epoc32\tools\STAT\STAT2PERL.exe
+!endif
+
+SAVESPACE : BLD
+
+MAKMAKE LIB CLEANLIB RESOURCE FREEZE FINAL :