compressionlibs/ziplib/test/pctools/group/linktest.fil
author andy simpson <andrews@symbian.org>
Fri, 17 Sep 2010 17:50:04 +0100
branchRCL_3
changeset 61 b670675990af
parent 0 e4d67989cc36
permissions -rw-r--r--
Merge Bug 2603 and Bug 3123 plus move exports to rom/bld.inf

# Build WLDCOMP, a strange WINC/Win32 hybrid
#

TOOLNAME=linktest
SRCDIR=.

!if "$(CFG)" == "DEB"
VC_CFG="$(TOOLNAME) - Win32 Release"
!else
VC_CFG="$(TOOLNAME) - Win32 Debug"
CFG=REL
!endif

TARGETDIR=$(EPOCROOT)epoc32\release\tools\$(CFG)
TOOL=$(TARGETDIR)\$(TOOLNAME).exe

maketool :
	cd $(SRCDIR)
	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=DEB
	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG="$(TOOLNAME) - Win32 Debug"
	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=REL
	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG="$(TOOLNAME) - Win32 Release"

do_nothing:
	rem do nothing

#
# The targets invoked by abld...
#

MAKMAKE : do_nothing
FREEZE : do_nothing
LIB : do_nothing
RESOURCE : do_nothing
CLEANLIB : do_nothing
FINAL : do_nothing
SAVESPACE : BLD
BLD : maketool

CLEAN : 
	cd $(SRCDIR)
	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG)
	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG)
	-@erase $(TOOL)

RELEASABLES : 
	@echo $(TOOL)