1 # Microsoft Developer Studio Project File - Name="libpng" - Package Owner=<4>
2 # Microsoft Developer Studio Generated Build File, Format Version 6.00
5 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
6 # TARGTYPE "Win32 (x86) Static Library" 0x0104
8 CFG=libpng - Win32 DLL Release
9 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
10 !MESSAGE use the Export Makefile command and run
12 !MESSAGE NMAKE /f "libpng.mak".
14 !MESSAGE You can specify a configuration when running NMAKE
15 !MESSAGE by defining the macro CFG on the command line. For example:
17 !MESSAGE NMAKE /f "libpng.mak" CFG="libpng - Win32 DLL Release"
19 !MESSAGE Possible choices for configuration are:
21 !MESSAGE "libpng - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library")
22 !MESSAGE "libpng - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library")
23 !MESSAGE "libpng - Win32 DLL ASM Release" (based on "Win32 (x86) Dynamic-Link Library")
24 !MESSAGE "libpng - Win32 DLL ASM Debug" (based on "Win32 (x86) Dynamic-Link Library")
25 !MESSAGE "libpng - Win32 DLL VB" (based on "Win32 (x86) Dynamic-Link Library")
26 !MESSAGE "libpng - Win32 LIB Release" (based on "Win32 (x86) Static Library")
27 !MESSAGE "libpng - Win32 LIB Debug" (based on "Win32 (x86) Static Library")
28 !MESSAGE "libpng - Win32 LIB ASM Release" (based on "Win32 (x86) Static Library")
29 !MESSAGE "libpng - Win32 LIB ASM Debug" (based on "Win32 (x86) Static Library")
33 # PROP AllowPerConfigDependencies 0
34 # PROP Scc_ProjName ""
35 # PROP Scc_LocalPath ""
37 !IF "$(CFG)" == "libpng - Win32 DLL Release"
40 # PROP BASE Use_Debug_Libraries 0
41 # PROP BASE Output_Dir "libpng___Win32_DLL_Release"
42 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_Release"
43 # PROP BASE Target_Dir ""
45 # PROP Use_Debug_Libraries 0
46 # PROP Output_Dir "Win32_DLL_Release"
47 # PROP Intermediate_Dir "Win32_DLL_Release"
48 # PROP Ignore_Export_Lib 0
51 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /FD /c
52 # SUBTRACT BASE CPP /YX /Yc /Yu
53 # ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_BUILD_DLL" /D "PNG_NO_MMX_CODE" /D "ZLIB_DLL" /D "_CRT_SECURE_NO_WARNINGS" /FD /c
54 # SUBTRACT CPP /YX /Yc /Yu
56 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
57 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
59 # ADD BASE RSC /l 0x409 /d "NDEBUG"
60 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG"
62 # ADD BASE BSC32 /nologo
65 # ADD BASE LINK32 /nologo /dll /machine:I386
66 # ADD LINK32 zlib1.lib /nologo /dll /machine:I386 /out:"Win32_DLL_Release\libpng13.dll" /libpath:"..\..\..\zlib\projects\visualc6\Win32_DLL_Release"
68 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
71 # PROP BASE Use_Debug_Libraries 1
72 # PROP BASE Output_Dir "libpng___Win32_DLL_Release"
73 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_Release"
74 # PROP BASE Target_Dir ""
76 # PROP Use_Debug_Libraries 1
77 # PROP Output_Dir "Win32_DLL_Debug"
78 # PROP Intermediate_Dir "Win32_DLL_Debug"
79 # PROP Ignore_Export_Lib 0
82 # ADD BASE CPP /nologo /MDd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /FD /GZ /c
83 # SUBTRACT BASE CPP /YX /Yc /Yu
84 # ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "PNG_NO_MMX_CODE" /D PNG_DEBUG=1 /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /D "_CRT_SECURE_NO_WARNINGS" /FD /GZ /c
85 # SUBTRACT CPP /YX /Yc /Yu
87 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
88 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
90 # ADD BASE RSC /l 0x409 /d "_DEBUG"
91 # ADD RSC /l 0x409 /i "..\.." /d "_DEBUG" /d PNG_DEBUG=1
93 # ADD BASE BSC32 /nologo
96 # ADD BASE LINK32 /nologo /dll /debug /machine:I386 /pdbtype:sept
97 # ADD LINK32 zlib1d.lib /nologo /dll /debug /machine:I386 /out:"Win32_DLL_Debug\libpng13d.dll" /libpath:"..\..\..\zlib\projects\visualc6\Win32_DLL_Debug"
99 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM Release"
101 # PROP BASE Use_MFC 0
102 # PROP BASE Use_Debug_Libraries 0
103 # PROP BASE Output_Dir "libpng___Win32_DLL_ASM_Release"
104 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_ASM_Release"
105 # PROP BASE Target_Dir ""
107 # PROP Use_Debug_Libraries 0
108 # PROP Output_Dir "Win32_DLL_ASM_Release"
109 # PROP Intermediate_Dir "Win32_DLL_ASM_Release"
110 # PROP Ignore_Export_Lib 0
113 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /FD /c
114 # SUBTRACT BASE CPP /YX /Yc /Yu
115 # ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_USE_PNGVCRD" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /D "PNG_LIBPNG_SPECIALBUILD" /D "_CRT_SECURE_NO_WARNINGS" /FD /c
116 # SUBTRACT CPP /YX /Yc /Yu
118 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
119 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
121 # ADD BASE RSC /l 0x409 /d "NDEBUG"
122 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG" /d PNG_LIBPNG_SPECIALBUILD=""""Use MMX instructions""""
124 # ADD BASE BSC32 /nologo
127 # ADD BASE LINK32 /nologo /dll /machine:I386
128 # ADD LINK32 zlib1.lib /nologo /dll /machine:I386 /out:"Win32_DLL_ASM_Release\libpng13.dll" /libpath:"..\..\..\zlib\projects\visualc6\Win32_DLL_ASM_Release"
130 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM Debug"
132 # PROP BASE Use_MFC 0
133 # PROP BASE Use_Debug_Libraries 1
134 # PROP BASE Output_Dir "libpng___Win32_DLL_ASM_Debug"
135 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_ASM_Debug"
136 # PROP BASE Target_Dir ""
138 # PROP Use_Debug_Libraries 1
139 # PROP Output_Dir "Win32_DLL_ASM_Debug"
140 # PROP Intermediate_Dir "Win32_DLL_ASM_Debug"
141 # PROP Ignore_Export_Lib 0
144 # ADD BASE CPP /nologo /MDd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /FD /GZ /c
145 # SUBTRACT BASE CPP /YX /Yc /Yu
146 # ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "DEBUG" /D PNG_DEBUG=1 /D "PNG_USE_PNGVCRD" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /D "PNG_LIBPNG_SPECIALBUILD" /D "_CRT_SECURE_NO_WARNINGS" /FD /GZ /c
147 # SUBTRACT CPP /YX /Yc /Yu
149 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
150 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
152 # ADD BASE RSC /l 0x409 /d "_DEBUG"
153 # ADD RSC /l 0x409 /i "..\.." /d "_DEBUG" /d PNG_DEBUG=1 /d PNG_LIBPNG_SPECIALBUILD=""""Use MMX instructions""""
155 # ADD BASE BSC32 /nologo
158 # ADD BASE LINK32 /nologo /dll /debug /machine:I386 /pdbtype:sept
159 # ADD LINK32 zlib1d.lib /nologo /dll /debug /machine:I386 /out:"Win32_DLL_ASM_Debug\libpng13d.dll" /libpath:"..\..\..\zlib\projects\visualc6\Win32_DLL_ASM_Debug"
161 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
163 # PROP BASE Use_MFC 0
164 # PROP BASE Use_Debug_Libraries 0
165 # PROP BASE Output_Dir "libpng___Win32_DLL_VB"
166 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_VB"
167 # PROP BASE Target_Dir ""
169 # PROP Use_Debug_Libraries 0
170 # PROP Output_Dir "Win32_DLL_VB"
171 # PROP Intermediate_Dir "Win32_DLL_VB"
172 # PROP Ignore_Export_Lib 0
175 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /FD /c
176 # SUBTRACT BASE CPP /YX /Yc /Yu
177 # ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /D PNGAPI=__stdcall /D "PNG_NO_MODULEDEF" /D "PNG_LIBPNG_SPECIALBUILD" /D "_CRT_SECURE_NO_WARNINGS" /FD /c
178 # SUBTRACT CPP /YX /Yc /Yu
180 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
181 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
183 # ADD BASE RSC /l 0x409 /d "NDEBUG"
184 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG" /dPNG_LIBPNG_DLLFNAME_POSTFIX=""""VB"""" /dPNG_LIBPNG_SPECIALBUILD=""""__stdcall calling convention used for exported functions""""
186 # ADD BASE BSC32 /nologo
189 # ADD BASE LINK32 /nologo /dll /machine:I386
190 # ADD LINK32 zlib1.lib /nologo /dll /machine:I386 /out:"Win32_DLL_VB\libpng13vb.dll" /libpath:"..\..\..\zlib\projects\visualc6\Win32_DLL_Release"
191 # Begin Special Build Tool
192 OutDir=.\Win32_DLL_VB
193 TargetName=libpng13vb
194 SOURCE="$(InputPath)"
195 PostBuild_Cmds=echo Deleting $(targetname) import library and export file (Not required for VB projects) del $(outdir)\$(targetname).lib del $(outdir)\$(targetname).exp
196 # End Special Build Tool
198 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Release"
200 # PROP BASE Use_MFC 0
201 # PROP BASE Use_Debug_Libraries 0
202 # PROP BASE Output_Dir "libpng___Win32_LIB_Release"
203 # PROP BASE Intermediate_Dir "libpng___Win32_LIB_Release"
204 # PROP BASE Target_Dir ""
206 # PROP Use_Debug_Libraries 0
207 # PROP Output_Dir "Win32_LIB_Release"
208 # PROP Intermediate_Dir "Win32_LIB_Release"
211 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /FD /c
212 # SUBTRACT BASE CPP /YX /Yc /Yu
213 # ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "PNG_NO_MMX_CODE" /D "WIN32" /D "NDEBUG" /D "_CRT_SECURE_NO_WARNINGS" /FD /c
214 # SUBTRACT CPP /YX /Yc /Yu
216 # ADD BASE RSC /l 0x409 /d "NDEBUG"
217 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG"
219 # ADD BASE BSC32 /nologo
222 # ADD BASE LIB32 /nologo
225 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
227 # PROP BASE Use_MFC 0
228 # PROP BASE Use_Debug_Libraries 1
229 # PROP BASE Output_Dir "libpng___Win32_LIB_Debug"
230 # PROP BASE Intermediate_Dir "libpng___Win32_LIB_Debug"
231 # PROP BASE Target_Dir ""
233 # PROP Use_Debug_Libraries 1
234 # PROP Output_Dir "Win32_LIB_Debug"
235 # PROP Intermediate_Dir "Win32_LIB_Debug"
238 # ADD BASE CPP /nologo /MDd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /FD /GZ /c
239 # SUBTRACT BASE CPP /YX /Yc /Yu
240 # ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "PNG_NO_MMX_CODE" /D PNG_DEBUG=1 /D "_CRT_SECURE_NO_WARNINGS" /FD /GZ /c
241 # SUBTRACT CPP /YX /Yc /Yu
243 # ADD BASE RSC /l 0x409 /d "_DEBUG"
244 # ADD RSC /l 0x409 /d "_DEBUG"
246 # ADD BASE BSC32 /nologo
249 # ADD BASE LIB32 /nologo
250 # ADD LIB32 /nologo /out:"Win32_LIB_Debug\libpngd.lib"
252 !ELSEIF "$(CFG)" == "libpng - Win32 LIB ASM Release"
254 # PROP BASE Use_MFC 0
255 # PROP BASE Use_Debug_Libraries 0
256 # PROP BASE Output_Dir "libpng___Win32_LIB_ASM_Release"
257 # PROP BASE Intermediate_Dir "libpng___Win32_LIB_ASM_Release"
258 # PROP BASE Target_Dir ""
260 # PROP Use_Debug_Libraries 0
261 # PROP Output_Dir "Win32_LIB_ASM_Release"
262 # PROP Intermediate_Dir "Win32_LIB_ASM_Release"
265 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /FD /c
266 # SUBTRACT BASE CPP /YX /Yc /Yu
267 # ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_USE_PNGVCRD" /D "PNG_LIBPNG_SPECIALBUILD" /D "_CRT_SECURE_NO_WARNINGS" /FD /c
268 # SUBTRACT CPP /YX /Yc /Yu
270 # ADD BASE RSC /l 0x409 /d "NDEBUG"
271 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG"
273 # ADD BASE BSC32 /nologo
276 # ADD BASE LIB32 /nologo
279 !ELSEIF "$(CFG)" == "libpng - Win32 LIB ASM Debug"
281 # PROP BASE Use_MFC 0
282 # PROP BASE Use_Debug_Libraries 1
283 # PROP BASE Output_Dir "libpng___Win32_LIB_ASM_Debug"
284 # PROP BASE Intermediate_Dir "libpng___Win32_LIB_ASM_Debug"
285 # PROP BASE Target_Dir ""
287 # PROP Use_Debug_Libraries 1
288 # PROP Output_Dir "Win32_LIB_ASM_Debug"
289 # PROP Intermediate_Dir "Win32_LIB_ASM_Debug"
292 # ADD BASE CPP /nologo /MDd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /FD /GZ /c
293 # SUBTRACT BASE CPP /YX /Yc /Yu
294 # ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "DEBUG" /D PNG_DEBUG=1 /D "PNG_USE_PNGVCRD" /D "PNG_LIBPNG_SPECIALBUILD" /D "_CRT_SECURE_NO_WARNINGS" /FD /GZ /c
295 # SUBTRACT CPP /YX /Yc /Yu
297 # ADD BASE RSC /l 0x409 /d "_DEBUG"
298 # ADD RSC /l 0x409 /d "_DEBUG"
300 # ADD BASE BSC32 /nologo
303 # ADD BASE LIB32 /nologo
304 # ADD LIB32 /nologo /out:"Win32_LIB_ASM_Debug\libpngd.lib"
310 # Name "libpng - Win32 DLL Release"
311 # Name "libpng - Win32 DLL Debug"
312 # Name "libpng - Win32 DLL ASM Release"
313 # Name "libpng - Win32 DLL ASM Debug"
314 # Name "libpng - Win32 DLL VB"
315 # Name "libpng - Win32 LIB Release"
316 # Name "libpng - Win32 LIB Debug"
317 # Name "libpng - Win32 LIB ASM Release"
318 # Name "libpng - Win32 LIB ASM Debug"
319 # Begin Group "Source Files"
321 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
328 SOURCE=..\..\pngerror.c
332 SOURCE=..\..\pngget.c
336 SOURCE=..\..\pngmem.c
340 SOURCE=..\..\pngpread.c
344 SOURCE=..\..\pngread.c
348 SOURCE=..\..\pngrio.c
352 SOURCE=..\..\pngrtran.c
356 SOURCE=..\..\pngrutil.c
360 SOURCE=..\..\pngset.c
364 SOURCE=..\..\pngtrans.c
368 SOURCE=..\..\scripts\pngw32.def
370 !IF "$(CFG)" == "libpng - Win32 DLL Release"
372 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
374 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM Release"
376 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM Debug"
378 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
380 # PROP Exclude_From_Build 1
382 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Release"
384 # PROP Exclude_From_Build 1
386 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
388 # PROP Exclude_From_Build 1
390 !ELSEIF "$(CFG)" == "libpng - Win32 LIB ASM Release"
392 # PROP Exclude_From_Build 1
394 !ELSEIF "$(CFG)" == "libpng - Win32 LIB ASM Debug"
396 # PROP Exclude_From_Build 1
403 SOURCE=..\..\pngwio.c
407 SOURCE=..\..\pngwrite.c
411 SOURCE=..\..\pngwtran.c
415 SOURCE=..\..\pngwutil.c
418 # Begin Group "Header Files"
420 # PROP Default_Filter "h;hpp;hxx;hm;inl"
427 SOURCE=..\..\pngconf.h
430 # Begin Group "Resource Files"
432 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
435 SOURCE=..\..\scripts\pngw32.rc
437 !IF "$(CFG)" == "libpng - Win32 DLL Release"
439 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
441 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM Release"
443 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM Debug"
445 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
447 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Release"
449 # PROP Exclude_From_Build 1
451 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
453 # PROP Exclude_From_Build 1
455 !ELSEIF "$(CFG)" == "libpng - Win32 LIB ASM Release"
457 # PROP Exclude_From_Build 1
459 !ELSEIF "$(CFG)" == "libpng - Win32 LIB ASM Debug"
461 # PROP Exclude_From_Build 1