testconns/statdesktop/desktop/testsource/dlltester/group/statdlltester.mk
changeset 4 b8d1455fddc0
equal deleted inserted replaced
2:73b88125830c 4:b8d1455fddc0
       
     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 
       
    42 # Go up one level to access the makefile
       
    43 	cd ".."
       
    44 
       
    45 # Execute the command line compiler (dlltester)
       
    46 	"$(COMPILER)" /A /NOLOGO /f "dlltest.mak" CFG="dlltest - Win32 Release"
       
    47 	
       
    48 	echo ** DLL TESTER (RELEASE) compiled successfully
       
    49 
       
    50 !endif
       
    51 
       
    52 # debug version
       
    53 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "DEB"
       
    54 
       
    55 # Go up one level to access the makefile
       
    56 	cd ".."
       
    57 
       
    58 # Execute the command line compiler (dlltester)
       
    59 	"$(COMPILER)" /A /NOLOGO /f "dlltest.mak" CFG="dlltest - Win32 Debug"
       
    60 	
       
    61 	echo ** DLL TESTER (DEBUG) compiled successfully
       
    62 
       
    63 !endif
       
    64 
       
    65 CLEAN :
       
    66 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "REL"
       
    67 	-rmdir "..\Release" /q /s
       
    68 !endif
       
    69 
       
    70 CLEAN :
       
    71 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "DEB"
       
    72 	-rmdir "..\Debug" /q /s
       
    73 !endif
       
    74 
       
    75 RELEASABLES :
       
    76 !if "$(PLATFORM)"=="TOOLS" && "$(CFG)" == "REL"
       
    77 	@echo $(EPOCROOT)epoc32\tools\STAT\STATDlltest.exe
       
    78 !endif
       
    79 
       
    80 SAVESPACE : BLD
       
    81 
       
    82 MAKMAKE LIB CLEANLIB RESOURCE FREEZE FINAL :