compressionlibs/ziplib/group/tools/zlib.fil
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 # Build WLDCOMP, a strange WINC/Win32 hybrid
       
     2 #
       
     3 
       
     4 TOOLNAME=zlib
       
     5 SRCDIR=.
       
     6 
       
     7 !if "$(CFG)" == "DEB"
       
     8 VC_CFG="$(TOOLNAME) - Win32 Release"
       
     9 !else
       
    10 VC_CFG="$(TOOLNAME) - Win32 Debug"
       
    11 CFG=REL
       
    12 !endif
       
    13 
       
    14 TARGETDIR=$(EPOCROOT)epoc32\release\winc\$(CFG)
       
    15 TOOL=$(TARGETDIR)\$(TOOLNAME).lib
       
    16 
       
    17 makelib :
       
    18 	cd $(SRCDIR)
       
    19 	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=DEB
       
    20 	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG="$(TOOLNAME) - Win32 Debug"
       
    21 	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=REL
       
    22 	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG="$(TOOLNAME) - Win32 Release"
       
    23 
       
    24 do_nothing:
       
    25 	rem do nothing
       
    26 
       
    27 #
       
    28 # The targets invoked by abld...
       
    29 #
       
    30 
       
    31 MAKMAKE : do_nothing
       
    32 FREEZE : do_nothing
       
    33 
       
    34 LIB : makelib
       
    35 
       
    36 RESOURCE : do_nothing
       
    37 CLEANLIB : do_nothing
       
    38 FINAL : do_nothing
       
    39 SAVESPACE : do_nothing
       
    40 BLD : do_nothing
       
    41 
       
    42 CLEAN : 
       
    43 	cd $(SRCDIR)
       
    44 	echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG)
       
    45 	NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG)
       
    46 	erase $(TOOL)
       
    47 
       
    48 RELEASABLES : 
       
    49 	echo $(TOOL)