os/ossrv/compressionlibs/ziplib/group/tools/zlib.mak
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 # Microsoft Developer Studio Generated NMAKE File, Based on zlib.dsp
     2 !IF "$(CFG)" == ""
     3 CFG=zlib - Win32 Debug
     4 !MESSAGE No configuration specified. Defaulting to zlib - Win32 Debug.
     5 !ENDIF 
     6 
     7 !IF "$(CFG)" != "zlib - Win32 Release" && "$(CFG)" != "zlib - Win32 Debug"
     8 !MESSAGE Invalid configuration "$(CFG)" specified.
     9 !MESSAGE You can specify a configuration when running NMAKE
    10 !MESSAGE by defining the macro CFG on the command line. For example:
    11 !MESSAGE 
    12 !MESSAGE NMAKE /f "zlib.mak" CFG="zlib - Win32 Debug"
    13 !MESSAGE 
    14 !MESSAGE Possible choices for configuration are:
    15 !MESSAGE 
    16 !MESSAGE "zlib - Win32 Release" (based on "Win32 (x86) Static Library")
    17 !MESSAGE "zlib - Win32 Debug" (based on "Win32 (x86) Static Library")
    18 !MESSAGE 
    19 !ERROR An invalid configuration is specified.
    20 !ENDIF 
    21 
    22 !IF "$(OS)" == "Windows_NT"
    23 NULL=
    24 !ELSE 
    25 NULL=nul
    26 !ENDIF 
    27 
    28 !IF  "$(CFG)" == "zlib - Win32 Release"
    29 
    30 OUTDIR=$(EPOCROOT)epoc32\Release\winc\rel
    31 INTDIR=$(EPOCROOT)epoc32\build\EZLib2\ZLib\Release
    32 # Begin Custom Macros
    33 OutDir=$(EPOCROOT)epoc32\Release\winc\rel
    34 # End Custom Macros
    35 
    36 ALL : "$(OUTDIR)\zlib.lib"
    37 
    38 
    39 CLEAN :
    40 	-@erase "$(INTDIR)\adler32.obj"
    41 	-@erase "$(INTDIR)\compress.obj"
    42 	-@erase "$(INTDIR)\crc32.obj"
    43 	-@erase "$(INTDIR)\deflate.obj"
    44 	-@erase "$(INTDIR)\gzio.obj"
    45 	-@erase "$(INTDIR)\infback.obj"
    46 	-@erase "$(INTDIR)\inffast.obj"
    47 	-@erase "$(INTDIR)\inflate.obj"
    48 	-@erase "$(INTDIR)\inftrees.obj"
    49 	-@erase "$(INTDIR)\trees.obj"
    50 	-@erase "$(INTDIR)\uncompr.obj"
    51 	-@erase "$(INTDIR)\vc60.idb"
    52 	-@erase "$(INTDIR)\zlibapiwrapper.obj"
    53 	-@erase "$(INTDIR)\zutil.obj"
    54 	-@erase "$(OUTDIR)\zlib.lib"
    55 
    56 "$(OUTDIR)" :
    57     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
    58 
    59 "$(INTDIR)" :
    60     if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
    61 
    62 CPP=cl.exe
    63 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 
    64 
    65 .c{$(INTDIR)}.obj::
    66    $(CPP) @<<
    67    $(CPP_PROJ) $< 
    68 <<
    69 
    70 .cpp{$(INTDIR)}.obj::
    71    $(CPP) @<<
    72    $(CPP_PROJ) $< 
    73 <<
    74 
    75 .cxx{$(INTDIR)}.obj::
    76    $(CPP) @<<
    77    $(CPP_PROJ) $< 
    78 <<
    79 
    80 .c{$(INTDIR)}.sbr::
    81    $(CPP) @<<
    82    $(CPP_PROJ) $< 
    83 <<
    84 
    85 .cpp{$(INTDIR)}.sbr::
    86    $(CPP) @<<
    87    $(CPP_PROJ) $< 
    88 <<
    89 
    90 .cxx{$(INTDIR)}.sbr::
    91    $(CPP) @<<
    92    $(CPP_PROJ) $< 
    93 <<
    94 
    95 RSC=rc.exe
    96 BSC32=bscmake.exe
    97 BSC32_FLAGS=/nologo /o"$(OUTDIR)\zlib.bsc" 
    98 BSC32_SBRS= \
    99 	
   100 LIB32=link.exe -lib
   101 LIB32_FLAGS=/nologo /out:"$(OUTDIR)\zlib.lib" 
   102 LIB32_OBJS= \
   103 	"$(INTDIR)\adler32.obj" \
   104 	"$(INTDIR)\compress.obj" \
   105 	"$(INTDIR)\crc32.obj" \
   106 	"$(INTDIR)\deflate.obj" \
   107 	"$(INTDIR)\gzio.obj" \
   108 	"$(INTDIR)\infback.obj" \
   109 	"$(INTDIR)\inffast.obj" \
   110 	"$(INTDIR)\inflate.obj" \
   111 	"$(INTDIR)\inftrees.obj" \
   112 	"$(INTDIR)\trees.obj" \
   113 	"$(INTDIR)\uncompr.obj" \
   114 	"$(INTDIR)\zutil.obj" \
   115 	"$(INTDIR)\zlibapiwrapper.obj"
   116 
   117 "$(OUTDIR)\zlib.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
   118     $(LIB32) @<<
   119   $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
   120 <<
   121 
   122 !ELSEIF  "$(CFG)" == "zlib - Win32 Debug"
   123 
   124 OUTDIR=$(EPOCROOT)epoc32\Release\winc\deb
   125 INTDIR=$(EPOCROOT)epoc32\build\EZLib2\ZLib\Debug
   126 # Begin Custom Macros
   127 OutDir=$(EPOCROOT)epoc32\Release\winc\deb
   128 # End Custom Macros
   129 
   130 ALL : "$(OUTDIR)\zlib.lib"
   131 
   132 
   133 CLEAN :
   134 	-@erase "$(INTDIR)\adler32.obj"
   135 	-@erase "$(INTDIR)\compress.obj"
   136 	-@erase "$(INTDIR)\crc32.obj"
   137 	-@erase "$(INTDIR)\deflate.obj"
   138 	-@erase "$(INTDIR)\gzio.obj"
   139 	-@erase "$(INTDIR)\infback.obj"
   140 	-@erase "$(INTDIR)\inffast.obj"
   141 	-@erase "$(INTDIR)\inflate.obj"
   142 	-@erase "$(INTDIR)\inftrees.obj"
   143 	-@erase "$(INTDIR)\trees.obj"
   144 	-@erase "$(INTDIR)\uncompr.obj"
   145 	-@erase "$(INTDIR)\vc60.idb"
   146 	-@erase "$(INTDIR)\vc60.pdb"
   147 	-@erase "$(INTDIR)\zlibapiwrapper.obj"
   148 	-@erase "$(INTDIR)\zutil.obj"
   149 	-@erase "$(OUTDIR)\zlib.lib"
   150 
   151 "$(OUTDIR)" :
   152     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
   153 
   154 "$(INTDIR)" :
   155     if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
   156 
   157 CPP=cl.exe
   158 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 
   159 
   160 .c{$(INTDIR)}.obj::
   161    $(CPP) @<<
   162    $(CPP_PROJ) $< 
   163 <<
   164 
   165 .cpp{$(INTDIR)}.obj::
   166    $(CPP) @<<
   167    $(CPP_PROJ) $< 
   168 <<
   169 
   170 .cxx{$(INTDIR)}.obj::
   171    $(CPP) @<<
   172    $(CPP_PROJ) $< 
   173 <<
   174 
   175 .c{$(INTDIR)}.sbr::
   176    $(CPP) @<<
   177    $(CPP_PROJ) $< 
   178 <<
   179 
   180 .cpp{$(INTDIR)}.sbr::
   181    $(CPP) @<<
   182    $(CPP_PROJ) $< 
   183 <<
   184 
   185 .cxx{$(INTDIR)}.sbr::
   186    $(CPP) @<<
   187    $(CPP_PROJ) $< 
   188 <<
   189 
   190 RSC=rc.exe
   191 BSC32=bscmake.exe
   192 BSC32_FLAGS=/nologo /o"$(OUTDIR)\zlib.bsc" 
   193 BSC32_SBRS= \
   194 	
   195 LIB32=link.exe -lib
   196 LIB32_FLAGS=/nologo /out:"$(OUTDIR)\zlib.lib" 
   197 LIB32_OBJS= \
   198 	"$(INTDIR)\adler32.obj" \
   199 	"$(INTDIR)\compress.obj" \
   200 	"$(INTDIR)\crc32.obj" \
   201 	"$(INTDIR)\deflate.obj" \
   202 	"$(INTDIR)\gzio.obj" \
   203 	"$(INTDIR)\infback.obj" \
   204 	"$(INTDIR)\inffast.obj" \
   205 	"$(INTDIR)\inflate.obj" \
   206 	"$(INTDIR)\inftrees.obj" \
   207 	"$(INTDIR)\trees.obj" \
   208 	"$(INTDIR)\uncompr.obj" \
   209 	"$(INTDIR)\zutil.obj" \
   210 	"$(INTDIR)\zlibapiwrapper.obj"
   211 
   212 "$(OUTDIR)\zlib.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
   213     $(LIB32) @<<
   214   $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
   215 <<
   216 
   217 !ENDIF 
   218 
   219 
   220 !IF "$(NO_EXTERNAL_DEPS)" != "1"
   221 !IF EXISTS("zlib.dep")
   222 !INCLUDE "zlib.dep"
   223 !ELSE 
   224 !MESSAGE Warning: cannot find "zlib.dep"
   225 !ENDIF 
   226 !ENDIF 
   227 
   228 
   229 !IF "$(CFG)" == "zlib - Win32 Release" || "$(CFG)" == "zlib - Win32 Debug"
   230 SOURCE=..\..\src\zlib\adler32.cpp
   231 
   232 "$(INTDIR)\adler32.obj" : $(SOURCE) "$(INTDIR)"
   233 	$(CPP) $(CPP_PROJ) $(SOURCE)
   234 
   235 
   236 SOURCE=..\..\src\zlib\compress.cpp
   237 
   238 "$(INTDIR)\compress.obj" : $(SOURCE) "$(INTDIR)"
   239 	$(CPP) $(CPP_PROJ) $(SOURCE)
   240 
   241 
   242 SOURCE=..\..\src\zlib\crc32.cpp
   243 
   244 "$(INTDIR)\crc32.obj" : $(SOURCE) "$(INTDIR)"
   245 	$(CPP) $(CPP_PROJ) $(SOURCE)
   246 
   247 
   248 SOURCE=..\..\src\zlib\deflate.cpp
   249 
   250 "$(INTDIR)\deflate.obj" : $(SOURCE) "$(INTDIR)"
   251 	$(CPP) $(CPP_PROJ) $(SOURCE)
   252 
   253 
   254 SOURCE=..\..\src\zlib\gzio.cpp
   255 
   256 "$(INTDIR)\gzio.obj" : $(SOURCE) "$(INTDIR)"
   257 	$(CPP) $(CPP_PROJ) $(SOURCE)
   258 
   259 
   260 SOURCE=..\..\src\zlib\infback.cpp
   261 
   262 "$(INTDIR)\infback.obj" : $(SOURCE) "$(INTDIR)"
   263 	$(CPP) $(CPP_PROJ) $(SOURCE)
   264 
   265 
   266 SOURCE=..\..\src\zlib\inffast.cpp
   267 
   268 "$(INTDIR)\inffast.obj" : $(SOURCE) "$(INTDIR)"
   269 	$(CPP) $(CPP_PROJ) $(SOURCE)
   270 
   271 
   272 SOURCE=..\..\src\zlib\inflate.cpp
   273 
   274 "$(INTDIR)\inflate.obj" : $(SOURCE) "$(INTDIR)"
   275 	$(CPP) $(CPP_PROJ) $(SOURCE)
   276 
   277 
   278 SOURCE=..\..\src\zlib\inftrees.cpp
   279 
   280 "$(INTDIR)\inftrees.obj" : $(SOURCE) "$(INTDIR)"
   281 	$(CPP) $(CPP_PROJ) $(SOURCE)
   282 
   283 
   284 SOURCE=..\..\src\zlib\trees.cpp
   285 
   286 "$(INTDIR)\trees.obj" : $(SOURCE) "$(INTDIR)"
   287 	$(CPP) $(CPP_PROJ) $(SOURCE)
   288 
   289 
   290 SOURCE=..\..\src\zlib\uncompr.cpp
   291 
   292 "$(INTDIR)\uncompr.obj" : $(SOURCE) "$(INTDIR)"
   293 	$(CPP) $(CPP_PROJ) $(SOURCE)
   294 
   295 
   296 SOURCE=..\..\src\zlib\zlibapiwrapper.cpp
   297 
   298 "$(INTDIR)\zlibapiwrapper.obj" : $(SOURCE) "$(INTDIR)"
   299 	$(CPP) $(CPP_PROJ) $(SOURCE)
   300 
   301 
   302 SOURCE=..\..\src\zlib\zutil.cpp
   303 
   304 "$(INTDIR)\zutil.obj" : $(SOURCE) "$(INTDIR)"
   305 	$(CPP) $(CPP_PROJ) $(SOURCE)
   306 
   307 
   308 
   309 !ENDIF 
   310