secureswitools/makekeys/src/makekeys.net.fil
author Simon Howkins <simonh@symbian.org>
Mon, 22 Nov 2010 12:04:39 +0000
branchRCL_3
changeset 84 e6c5e34cd9b9
parent 0 ba25891c3a9e
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

# Build WLDCOMP, a strange WINC/Win32 hybrid
#

TOOLNAME=makekeys
SRCDIR=..\src

!if "$(CFG)" == "REL"
VC_CFG="$(TOOLNAME) - Win32 Release"
TARGETDIR=$(EPOCROOT)epoc32\tools
!else
VC_CFG="$(TOOLNAME) - Win32 Debug"
CFG=DEB
TARGETDIR=$(EPOCROOT)epoc32\release\winc\$(CFG)
!endif

TOOL=$(TARGETDIR)\$(TOOLNAME).exe

maketool :
	cd $(SRCDIR)
	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).net.mak CFG=$(VC_CFG)
	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).net.mak CFG=$(VC_CFG)

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).net.mak CLEAN CFG=$(VC_CFG)
	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).net.mak CLEAN CFG=$(VC_CFG)
	-@erase $(TOOL)

RELEASABLES : 
	echo $(TOOL)