compressionlibs/ziplib/group/tools/zlib.fil
author William Roberts <williamr@symbian.org>
Fri, 23 Jul 2010 16:09:54 +0100
branchGCC_SURGE
changeset 47 d7383dba13ba
parent 0 e4d67989cc36
permissions -rw-r--r--
Reapply fix for EXPORT_C problem in backend.dll, which got lost in the merge - bug 2971

# Build WLDCOMP, a strange WINC/Win32 hybrid
#

TOOLNAME=zlib
SRCDIR=.

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

TARGETDIR=$(EPOCROOT)epoc32\release\winc\$(CFG)
TOOL=$(TARGETDIR)\$(TOOLNAME).lib

makelib :
	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 : makelib

RESOURCE : do_nothing
CLEANLIB : do_nothing
FINAL : do_nothing
SAVESPACE : do_nothing
BLD : do_nothing

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)