os/ossrv/compressionlibs/ziplib/group/tools/zlib.fil
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/compressionlibs/ziplib/group/tools/zlib.fil	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,49 @@
     1.4 +# Build WLDCOMP, a strange WINC/Win32 hybrid
     1.5 +#
     1.6 +
     1.7 +TOOLNAME=zlib
     1.8 +SRCDIR=.
     1.9 +
    1.10 +!if "$(CFG)" == "DEB"
    1.11 +VC_CFG="$(TOOLNAME) - Win32 Release"
    1.12 +!else
    1.13 +VC_CFG="$(TOOLNAME) - Win32 Debug"
    1.14 +CFG=REL
    1.15 +!endif
    1.16 +
    1.17 +TARGETDIR=$(EPOCROOT)epoc32\release\winc\$(CFG)
    1.18 +TOOL=$(TARGETDIR)\$(TOOLNAME).lib
    1.19 +
    1.20 +makelib :
    1.21 +	cd $(SRCDIR)
    1.22 +	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=DEB
    1.23 +	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG="$(TOOLNAME) - Win32 Debug"
    1.24 +	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=REL
    1.25 +	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG="$(TOOLNAME) - Win32 Release"
    1.26 +
    1.27 +do_nothing:
    1.28 +	rem do nothing
    1.29 +
    1.30 +#
    1.31 +# The targets invoked by abld...
    1.32 +#
    1.33 +
    1.34 +MAKMAKE : do_nothing
    1.35 +FREEZE : do_nothing
    1.36 +
    1.37 +LIB : makelib
    1.38 +
    1.39 +RESOURCE : do_nothing
    1.40 +CLEANLIB : do_nothing
    1.41 +FINAL : do_nothing
    1.42 +SAVESPACE : do_nothing
    1.43 +BLD : do_nothing
    1.44 +
    1.45 +CLEAN : 
    1.46 +	cd $(SRCDIR)
    1.47 +	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG)
    1.48 +	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG)
    1.49 +	erase $(TOOL)
    1.50 +
    1.51 +RELEASABLES : 
    1.52 +	echo $(TOOL)