testconns/statdesktop/desktop/testsource/dlltestermt/group/statdlltestermt.mk
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 02:58:21 +0300
changeset 4 b8d1455fddc0
permissions -rw-r--r--
Revision: 201039 Kit: 201039

#
# 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"

# Go up one level to access the makefile
	cd ".."

# Execute the command line compiler (dlltester_multithreaded)
	"$(COMPILER)" /A /NOLOGO /f "dlltest_multithreaded.mak" CFG="dlltest_multithreaded - Win32 Release"
	
	echo ** DLL MULTI-THREADED TESTER (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 (dlltester_multithreaded)
	"$(COMPILER)" /A /NOLOGO /f "dlltest_multithreaded.mak" CFG="dlltest_multithreaded - Win32 Debug"
	
	echo ** DLL MULTI-THREADED TESTER (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\STATDllTestMT.exe
!endif

SAVESPACE : BLD

MAKMAKE LIB CLEANLIB RESOURCE FREEZE FINAL :