os/ossrv/compressionlibs/ziplib/group/tools/zlib.mak
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.mak	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,310 @@
     1.4 +# Microsoft Developer Studio Generated NMAKE File, Based on zlib.dsp
     1.5 +!IF "$(CFG)" == ""
     1.6 +CFG=zlib - Win32 Debug
     1.7 +!MESSAGE No configuration specified. Defaulting to zlib - Win32 Debug.
     1.8 +!ENDIF 
     1.9 +
    1.10 +!IF "$(CFG)" != "zlib - Win32 Release" && "$(CFG)" != "zlib - Win32 Debug"
    1.11 +!MESSAGE Invalid configuration "$(CFG)" specified.
    1.12 +!MESSAGE You can specify a configuration when running NMAKE
    1.13 +!MESSAGE by defining the macro CFG on the command line. For example:
    1.14 +!MESSAGE 
    1.15 +!MESSAGE NMAKE /f "zlib.mak" CFG="zlib - Win32 Debug"
    1.16 +!MESSAGE 
    1.17 +!MESSAGE Possible choices for configuration are:
    1.18 +!MESSAGE 
    1.19 +!MESSAGE "zlib - Win32 Release" (based on "Win32 (x86) Static Library")
    1.20 +!MESSAGE "zlib - Win32 Debug" (based on "Win32 (x86) Static Library")
    1.21 +!MESSAGE 
    1.22 +!ERROR An invalid configuration is specified.
    1.23 +!ENDIF 
    1.24 +
    1.25 +!IF "$(OS)" == "Windows_NT"
    1.26 +NULL=
    1.27 +!ELSE 
    1.28 +NULL=nul
    1.29 +!ENDIF 
    1.30 +
    1.31 +!IF  "$(CFG)" == "zlib - Win32 Release"
    1.32 +
    1.33 +OUTDIR=$(EPOCROOT)epoc32\Release\winc\rel
    1.34 +INTDIR=$(EPOCROOT)epoc32\build\EZLib2\ZLib\Release
    1.35 +# Begin Custom Macros
    1.36 +OutDir=$(EPOCROOT)epoc32\Release\winc\rel
    1.37 +# End Custom Macros
    1.38 +
    1.39 +ALL : "$(OUTDIR)\zlib.lib"
    1.40 +
    1.41 +
    1.42 +CLEAN :
    1.43 +	-@erase "$(INTDIR)\adler32.obj"
    1.44 +	-@erase "$(INTDIR)\compress.obj"
    1.45 +	-@erase "$(INTDIR)\crc32.obj"
    1.46 +	-@erase "$(INTDIR)\deflate.obj"
    1.47 +	-@erase "$(INTDIR)\gzio.obj"
    1.48 +	-@erase "$(INTDIR)\infback.obj"
    1.49 +	-@erase "$(INTDIR)\inffast.obj"
    1.50 +	-@erase "$(INTDIR)\inflate.obj"
    1.51 +	-@erase "$(INTDIR)\inftrees.obj"
    1.52 +	-@erase "$(INTDIR)\trees.obj"
    1.53 +	-@erase "$(INTDIR)\uncompr.obj"
    1.54 +	-@erase "$(INTDIR)\vc60.idb"
    1.55 +	-@erase "$(INTDIR)\zlibapiwrapper.obj"
    1.56 +	-@erase "$(INTDIR)\zutil.obj"
    1.57 +	-@erase "$(OUTDIR)\zlib.lib"
    1.58 +
    1.59 +"$(OUTDIR)" :
    1.60 +    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
    1.61 +
    1.62 +"$(INTDIR)" :
    1.63 +    if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
    1.64 +
    1.65 +CPP=cl.exe
    1.66 +CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\inc" /I "..\..\src\zlib" /I "..\..\src\zlib" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "__SYMBIAN32__" /D "__TOOLS__" /Fp"$(INTDIR)\zlib.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
    1.67 +
    1.68 +.c{$(INTDIR)}.obj::
    1.69 +   $(CPP) @<<
    1.70 +   $(CPP_PROJ) $< 
    1.71 +<<
    1.72 +
    1.73 +.cpp{$(INTDIR)}.obj::
    1.74 +   $(CPP) @<<
    1.75 +   $(CPP_PROJ) $< 
    1.76 +<<
    1.77 +
    1.78 +.cxx{$(INTDIR)}.obj::
    1.79 +   $(CPP) @<<
    1.80 +   $(CPP_PROJ) $< 
    1.81 +<<
    1.82 +
    1.83 +.c{$(INTDIR)}.sbr::
    1.84 +   $(CPP) @<<
    1.85 +   $(CPP_PROJ) $< 
    1.86 +<<
    1.87 +
    1.88 +.cpp{$(INTDIR)}.sbr::
    1.89 +   $(CPP) @<<
    1.90 +   $(CPP_PROJ) $< 
    1.91 +<<
    1.92 +
    1.93 +.cxx{$(INTDIR)}.sbr::
    1.94 +   $(CPP) @<<
    1.95 +   $(CPP_PROJ) $< 
    1.96 +<<
    1.97 +
    1.98 +RSC=rc.exe
    1.99 +BSC32=bscmake.exe
   1.100 +BSC32_FLAGS=/nologo /o"$(OUTDIR)\zlib.bsc" 
   1.101 +BSC32_SBRS= \
   1.102 +	
   1.103 +LIB32=link.exe -lib
   1.104 +LIB32_FLAGS=/nologo /out:"$(OUTDIR)\zlib.lib" 
   1.105 +LIB32_OBJS= \
   1.106 +	"$(INTDIR)\adler32.obj" \
   1.107 +	"$(INTDIR)\compress.obj" \
   1.108 +	"$(INTDIR)\crc32.obj" \
   1.109 +	"$(INTDIR)\deflate.obj" \
   1.110 +	"$(INTDIR)\gzio.obj" \
   1.111 +	"$(INTDIR)\infback.obj" \
   1.112 +	"$(INTDIR)\inffast.obj" \
   1.113 +	"$(INTDIR)\inflate.obj" \
   1.114 +	"$(INTDIR)\inftrees.obj" \
   1.115 +	"$(INTDIR)\trees.obj" \
   1.116 +	"$(INTDIR)\uncompr.obj" \
   1.117 +	"$(INTDIR)\zutil.obj" \
   1.118 +	"$(INTDIR)\zlibapiwrapper.obj"
   1.119 +
   1.120 +"$(OUTDIR)\zlib.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
   1.121 +    $(LIB32) @<<
   1.122 +  $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
   1.123 +<<
   1.124 +
   1.125 +!ELSEIF  "$(CFG)" == "zlib - Win32 Debug"
   1.126 +
   1.127 +OUTDIR=$(EPOCROOT)epoc32\Release\winc\deb
   1.128 +INTDIR=$(EPOCROOT)epoc32\build\EZLib2\ZLib\Debug
   1.129 +# Begin Custom Macros
   1.130 +OutDir=$(EPOCROOT)epoc32\Release\winc\deb
   1.131 +# End Custom Macros
   1.132 +
   1.133 +ALL : "$(OUTDIR)\zlib.lib"
   1.134 +
   1.135 +
   1.136 +CLEAN :
   1.137 +	-@erase "$(INTDIR)\adler32.obj"
   1.138 +	-@erase "$(INTDIR)\compress.obj"
   1.139 +	-@erase "$(INTDIR)\crc32.obj"
   1.140 +	-@erase "$(INTDIR)\deflate.obj"
   1.141 +	-@erase "$(INTDIR)\gzio.obj"
   1.142 +	-@erase "$(INTDIR)\infback.obj"
   1.143 +	-@erase "$(INTDIR)\inffast.obj"
   1.144 +	-@erase "$(INTDIR)\inflate.obj"
   1.145 +	-@erase "$(INTDIR)\inftrees.obj"
   1.146 +	-@erase "$(INTDIR)\trees.obj"
   1.147 +	-@erase "$(INTDIR)\uncompr.obj"
   1.148 +	-@erase "$(INTDIR)\vc60.idb"
   1.149 +	-@erase "$(INTDIR)\vc60.pdb"
   1.150 +	-@erase "$(INTDIR)\zlibapiwrapper.obj"
   1.151 +	-@erase "$(INTDIR)\zutil.obj"
   1.152 +	-@erase "$(OUTDIR)\zlib.lib"
   1.153 +
   1.154 +"$(OUTDIR)" :
   1.155 +    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
   1.156 +
   1.157 +"$(INTDIR)" :
   1.158 +    if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
   1.159 +
   1.160 +CPP=cl.exe
   1.161 +CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /I "..\..\inc" /I "..\..\src\zlib" /I "..\..\src\zlib" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "__SYMBIAN32__" /D "__TOOLS__" /Fp"$(INTDIR)\zlib.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c 
   1.162 +
   1.163 +.c{$(INTDIR)}.obj::
   1.164 +   $(CPP) @<<
   1.165 +   $(CPP_PROJ) $< 
   1.166 +<<
   1.167 +
   1.168 +.cpp{$(INTDIR)}.obj::
   1.169 +   $(CPP) @<<
   1.170 +   $(CPP_PROJ) $< 
   1.171 +<<
   1.172 +
   1.173 +.cxx{$(INTDIR)}.obj::
   1.174 +   $(CPP) @<<
   1.175 +   $(CPP_PROJ) $< 
   1.176 +<<
   1.177 +
   1.178 +.c{$(INTDIR)}.sbr::
   1.179 +   $(CPP) @<<
   1.180 +   $(CPP_PROJ) $< 
   1.181 +<<
   1.182 +
   1.183 +.cpp{$(INTDIR)}.sbr::
   1.184 +   $(CPP) @<<
   1.185 +   $(CPP_PROJ) $< 
   1.186 +<<
   1.187 +
   1.188 +.cxx{$(INTDIR)}.sbr::
   1.189 +   $(CPP) @<<
   1.190 +   $(CPP_PROJ) $< 
   1.191 +<<
   1.192 +
   1.193 +RSC=rc.exe
   1.194 +BSC32=bscmake.exe
   1.195 +BSC32_FLAGS=/nologo /o"$(OUTDIR)\zlib.bsc" 
   1.196 +BSC32_SBRS= \
   1.197 +	
   1.198 +LIB32=link.exe -lib
   1.199 +LIB32_FLAGS=/nologo /out:"$(OUTDIR)\zlib.lib" 
   1.200 +LIB32_OBJS= \
   1.201 +	"$(INTDIR)\adler32.obj" \
   1.202 +	"$(INTDIR)\compress.obj" \
   1.203 +	"$(INTDIR)\crc32.obj" \
   1.204 +	"$(INTDIR)\deflate.obj" \
   1.205 +	"$(INTDIR)\gzio.obj" \
   1.206 +	"$(INTDIR)\infback.obj" \
   1.207 +	"$(INTDIR)\inffast.obj" \
   1.208 +	"$(INTDIR)\inflate.obj" \
   1.209 +	"$(INTDIR)\inftrees.obj" \
   1.210 +	"$(INTDIR)\trees.obj" \
   1.211 +	"$(INTDIR)\uncompr.obj" \
   1.212 +	"$(INTDIR)\zutil.obj" \
   1.213 +	"$(INTDIR)\zlibapiwrapper.obj"
   1.214 +
   1.215 +"$(OUTDIR)\zlib.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
   1.216 +    $(LIB32) @<<
   1.217 +  $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
   1.218 +<<
   1.219 +
   1.220 +!ENDIF 
   1.221 +
   1.222 +
   1.223 +!IF "$(NO_EXTERNAL_DEPS)" != "1"
   1.224 +!IF EXISTS("zlib.dep")
   1.225 +!INCLUDE "zlib.dep"
   1.226 +!ELSE 
   1.227 +!MESSAGE Warning: cannot find "zlib.dep"
   1.228 +!ENDIF 
   1.229 +!ENDIF 
   1.230 +
   1.231 +
   1.232 +!IF "$(CFG)" == "zlib - Win32 Release" || "$(CFG)" == "zlib - Win32 Debug"
   1.233 +SOURCE=..\..\src\zlib\adler32.cpp
   1.234 +
   1.235 +"$(INTDIR)\adler32.obj" : $(SOURCE) "$(INTDIR)"
   1.236 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.237 +
   1.238 +
   1.239 +SOURCE=..\..\src\zlib\compress.cpp
   1.240 +
   1.241 +"$(INTDIR)\compress.obj" : $(SOURCE) "$(INTDIR)"
   1.242 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.243 +
   1.244 +
   1.245 +SOURCE=..\..\src\zlib\crc32.cpp
   1.246 +
   1.247 +"$(INTDIR)\crc32.obj" : $(SOURCE) "$(INTDIR)"
   1.248 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.249 +
   1.250 +
   1.251 +SOURCE=..\..\src\zlib\deflate.cpp
   1.252 +
   1.253 +"$(INTDIR)\deflate.obj" : $(SOURCE) "$(INTDIR)"
   1.254 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.255 +
   1.256 +
   1.257 +SOURCE=..\..\src\zlib\gzio.cpp
   1.258 +
   1.259 +"$(INTDIR)\gzio.obj" : $(SOURCE) "$(INTDIR)"
   1.260 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.261 +
   1.262 +
   1.263 +SOURCE=..\..\src\zlib\infback.cpp
   1.264 +
   1.265 +"$(INTDIR)\infback.obj" : $(SOURCE) "$(INTDIR)"
   1.266 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.267 +
   1.268 +
   1.269 +SOURCE=..\..\src\zlib\inffast.cpp
   1.270 +
   1.271 +"$(INTDIR)\inffast.obj" : $(SOURCE) "$(INTDIR)"
   1.272 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.273 +
   1.274 +
   1.275 +SOURCE=..\..\src\zlib\inflate.cpp
   1.276 +
   1.277 +"$(INTDIR)\inflate.obj" : $(SOURCE) "$(INTDIR)"
   1.278 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.279 +
   1.280 +
   1.281 +SOURCE=..\..\src\zlib\inftrees.cpp
   1.282 +
   1.283 +"$(INTDIR)\inftrees.obj" : $(SOURCE) "$(INTDIR)"
   1.284 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.285 +
   1.286 +
   1.287 +SOURCE=..\..\src\zlib\trees.cpp
   1.288 +
   1.289 +"$(INTDIR)\trees.obj" : $(SOURCE) "$(INTDIR)"
   1.290 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.291 +
   1.292 +
   1.293 +SOURCE=..\..\src\zlib\uncompr.cpp
   1.294 +
   1.295 +"$(INTDIR)\uncompr.obj" : $(SOURCE) "$(INTDIR)"
   1.296 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.297 +
   1.298 +
   1.299 +SOURCE=..\..\src\zlib\zlibapiwrapper.cpp
   1.300 +
   1.301 +"$(INTDIR)\zlibapiwrapper.obj" : $(SOURCE) "$(INTDIR)"
   1.302 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.303 +
   1.304 +
   1.305 +SOURCE=..\..\src\zlib\zutil.cpp
   1.306 +
   1.307 +"$(INTDIR)\zutil.obj" : $(SOURCE) "$(INTDIR)"
   1.308 +	$(CPP) $(CPP_PROJ) $(SOURCE)
   1.309 +
   1.310 +
   1.311 +
   1.312 +!ENDIF 
   1.313 +