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
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"
19 !MESSAGE Possible choices for configuration are:
21 !MESSAGE "libpng - Win32 DLL" (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" (based on "Win32 (x86) Dynamic-Link Library")
24 !MESSAGE "libpng - Win32 DLL Debug ASM" (based on "Win32 (x86) Dynamic-Link Library")
25 !MESSAGE "libpng - Win32 LIB" (based on "Win32 (x86) Static Library")
26 !MESSAGE "libpng - Win32 LIB Debug" (based on "Win32 (x86) Static Library")
27 !MESSAGE "libpng - Win32 DLL VB" (based on "Win32 (x86) Dynamic-Link Library")
31 # PROP AllowPerConfigDependencies 0
32 # PROP Scc_ProjName ""
33 # PROP Scc_LocalPath ""
35 !IF "$(CFG)" == "libpng - Win32 DLL"
38 # PROP BASE Use_Debug_Libraries 0
39 # PROP BASE Output_Dir "Release"
40 # PROP BASE Intermediate_Dir "Release"
41 # PROP BASE Target_Dir ""
43 # PROP Use_Debug_Libraries 0
44 # PROP Output_Dir ".\win32\libpng\dll"
45 # PROP Intermediate_Dir ".\win32\libpng\dll"
46 # PROP Ignore_Export_Lib 0
49 # ADD BASE CPP /nologo /MD /W3 /O1 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /FD /c
50 # ADD CPP /nologo /MD /W3 /O1 /I "..\.." /I "..\..\..\zlib" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /Yu"png.h" /FD /c
53 # ADD BASE RSC /l 0x409 /d "NDEBUG"
54 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG"
56 # ADD BASE BSC32 /nologo
59 # ADD BASE LINK32 /nologo /dll /machine:I386
60 # ADD LINK32 /nologo /dll /machine:I386 /out:".\win32\libpng\dll\libpng13.dll"
61 # SUBTRACT LINK32 /pdb:none
63 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
66 # PROP BASE Use_Debug_Libraries 1
67 # PROP BASE Output_Dir "Debug"
68 # PROP BASE Intermediate_Dir "Debug"
69 # PROP BASE Target_Dir ""
71 # PROP Use_Debug_Libraries 1
72 # PROP Output_Dir ".\win32\libpng\dll_dbg"
73 # PROP Intermediate_Dir ".\win32\libpng\dll_dbg"
74 # PROP Ignore_Export_Lib 0
77 # ADD BASE CPP /nologo /MDd /W3 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /FD /GZ /c
78 # ADD CPP /nologo /MDd /W3 /Zi /Od /I "..\.." /I "..\..\..\zlib" /D "DEBUG" /D "_DEBUG" /D PNG_DEBUG=1 /D "WIN32" /D "_WINDOWS" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /Yu"png.h" /FD /GZ /c
81 # ADD BASE RSC /l 0x409 /d "_DEBUG"
82 # ADD RSC /l 0x409 /i "..\.." /d "_DEBUG" /d PNG_DEBUG=1
84 # ADD BASE BSC32 /nologo
87 # ADD BASE LINK32 /nologo /dll /debug /machine:I386 /pdbtype:sept
88 # ADD LINK32 /nologo /dll /debug /machine:I386 /out:".\win32\libpng\dll_dbg\libpng13d.dll"
90 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM"
93 # PROP BASE Use_Debug_Libraries 0
94 # PROP BASE Output_Dir "Release"
95 # PROP BASE Intermediate_Dir "Release"
96 # PROP BASE Target_Dir ""
98 # PROP Use_Debug_Libraries 0
99 # PROP Output_Dir ".\win32\libpng\dll_asm"
100 # PROP Intermediate_Dir ".\win32\libpng\dll_asm"
101 # PROP Ignore_Export_Lib 0
104 # ADD BASE CPP /nologo /MD /W3 /O1 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /FD /c
105 # ADD CPP /nologo /MD /W3 /O1 /I "..\.." /I "..\..\..\zlib" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "PNG_USE_PNGVCRD" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /Yu"png.h" /FD /c
108 # ADD BASE RSC /l 0x409 /d "NDEBUG"
109 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG" /d "PNG_USE_PNGVCRD"
111 # ADD BASE BSC32 /nologo
114 # ADD BASE LINK32 /nologo /dll /machine:I386
115 # ADD LINK32 /nologo /dll /machine:I386 /out:".\win32\libpng\dll_asm\libpng13a.dll"
116 # SUBTRACT LINK32 /pdb:none
118 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug ASM"
120 # PROP BASE Use_MFC 0
121 # PROP BASE Use_Debug_Libraries 1
122 # PROP BASE Output_Dir "Debug"
123 # PROP BASE Intermediate_Dir "Debug"
124 # PROP BASE Target_Dir ""
126 # PROP Use_Debug_Libraries 1
127 # PROP Output_Dir ".\win32\libpng\dll_dbga"
128 # PROP Intermediate_Dir ".\win32\libpng\dll_dbga"
129 # PROP Ignore_Export_Lib 0
132 # ADD BASE CPP /nologo /MDd /W3 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /FD /GZ /c
133 # ADD CPP /nologo /MDd /W3 /Zi /Od /I "..\.." /I "..\..\..\zlib" /D "DEBUG" /D "_DEBUG" /D PNG_DEBUG=1 /D "WIN32" /D "_WINDOWS" /D "PNG_USE_PNGVCRD" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /Yu"png.h" /FD /GZ /c
136 # ADD BASE RSC /l 0x409 /d "_DEBUG"
137 # ADD RSC /l 0x409 /i "..\.." /d "_DEBUG" /d PNG_DEBUG=1 /d "PNG_USE_PNGVCRD"
139 # ADD BASE BSC32 /nologo
142 # ADD BASE LINK32 /nologo /dll /debug /machine:I386 /pdbtype:sept
143 # ADD LINK32 /nologo /dll /debug /machine:I386 /out:".\win32\libpng\dll_dbga\libpng13b.dll"
145 !ELSEIF "$(CFG)" == "libpng - Win32 LIB"
147 # PROP BASE Use_MFC 0
148 # PROP BASE Use_Debug_Libraries 0
149 # PROP BASE Output_Dir "Release"
150 # PROP BASE Intermediate_Dir "Release"
151 # PROP BASE Target_Dir ""
153 # PROP Use_Debug_Libraries 0
154 # PROP Output_Dir ".\win32\libpng\lib"
155 # PROP Intermediate_Dir ".\win32\libpng\lib"
159 # ADD BASE CPP /nologo /W3 /O1 /D "WIN32" /D "NDEBUG" /D "_LIB" /FD /c
160 # ADD CPP /nologo /W3 /O1 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /Yu"png.h" /FD /c
162 # ADD BASE RSC /l 0x409 /d "NDEBUG"
163 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG"
165 # ADD BASE BSC32 /nologo
168 # ADD BASE LIB32 /nologo
171 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
173 # PROP BASE Use_MFC 0
174 # PROP BASE Use_Debug_Libraries 1
175 # PROP BASE Output_Dir "Debug"
176 # PROP BASE Intermediate_Dir "Debug"
177 # PROP BASE Target_Dir ""
179 # PROP Use_Debug_Libraries 1
180 # PROP Output_Dir ".\win32\libpng\lib_dbg"
181 # PROP Intermediate_Dir ".\win32\libpng\lib_dbg"
185 # ADD BASE CPP /nologo /W3 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_LIB" /FD /GZ /c
186 # ADD CPP /nologo /W3 /Zi /Od /I "..\.." /I "..\..\..\zlib" /D "DEBUG" /D "_DEBUG" /D PNG_DEBUG=1 /D "WIN32" /Yu"png.h" /FD /GZ /c
188 # ADD BASE RSC /l 0x409 /d "_DEBUG"
189 # ADD RSC /l 0x409 /d "_DEBUG"
191 # ADD BASE BSC32 /nologo
194 # ADD BASE LIB32 /nologo
197 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
199 # PROP BASE Use_MFC 0
200 # PROP BASE Use_Debug_Libraries 0
201 # PROP BASE Output_Dir "libpng___Win32_DLL_VB"
202 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_VB"
203 # PROP BASE Ignore_Export_Lib 0
204 # PROP BASE Target_Dir ""
206 # PROP Use_Debug_Libraries 0
207 # PROP Output_Dir ".\win32\libpng\dll_vb"
208 # PROP Intermediate_Dir ".\win32\libpng\dll_vb"
209 # PROP Ignore_Export_Lib 0
212 # ADD BASE CPP /nologo /MD /W3 /O1 /I "..\.." /I "..\..\..\zlib" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /Yu"png.h" /FD /c
213 # ADD CPP /nologo /Gd /MD /W3 /O1 /I "..\.." /I "..\..\..\zlib" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /D PNGAPI=__stdcall /Yu"png.h" /FD /c
216 # ADD BASE RSC /l 0x409 /i "..\.." /d "NDEBUG"
217 # ADD RSC /l 0x409 /i "..\.." /d "NDEBUG"
219 # ADD BASE BSC32 /nologo
222 # ADD BASE LINK32 /nologo /dll /machine:I386 /out:".\win32\libpng\dll\libpng13.dll"
223 # SUBTRACT BASE LINK32 /pdb:none
224 # ADD LINK32 /nologo /dll /machine:I386 /out:".\win32\libpng\dll_vb\libpngvb13.dll"
225 # SUBTRACT LINK32 /pdb:none
231 # Name "libpng - Win32 DLL"
232 # Name "libpng - Win32 DLL Debug"
233 # Name "libpng - Win32 DLL ASM"
234 # Name "libpng - Win32 DLL Debug ASM"
235 # Name "libpng - Win32 LIB"
236 # Name "libpng - Win32 LIB Debug"
237 # Name "libpng - Win32 DLL VB"
238 # Begin Group "Source Files"
240 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
244 # SUBTRACT CPP /YX /Yc /Yu
250 !IF "$(CFG)" == "libpng - Win32 DLL"
252 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
254 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM"
256 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug ASM"
258 !ELSEIF "$(CFG)" == "libpng - Win32 LIB"
260 # PROP Exclude_From_Build 1
262 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
264 # PROP Exclude_From_Build 1
266 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
275 !IF "$(CFG)" == "libpng - Win32 DLL"
277 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
279 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM"
281 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug ASM"
283 !ELSEIF "$(CFG)" == "libpng - Win32 LIB"
285 # PROP Exclude_From_Build 1
287 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
289 # PROP Exclude_From_Build 1
291 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
298 SOURCE=..\..\pngerror.c
303 SOURCE=..\..\pngget.c
307 SOURCE=..\..\pngmem.c
311 SOURCE=..\..\pngpread.c
315 SOURCE=..\..\pngread.c
319 SOURCE=..\..\pngrio.c
323 SOURCE=..\..\pngrtran.c
327 SOURCE=..\..\pngrutil.c
331 SOURCE=..\..\pngset.c
335 SOURCE=..\..\pngtrans.c
339 SOURCE=..\..\pngvcrd.c
341 !IF "$(CFG)" == "libpng - Win32 DLL"
343 # PROP Exclude_From_Build 1
345 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
347 # PROP Exclude_From_Build 1
349 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM"
351 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug ASM"
353 !ELSEIF "$(CFG)" == "libpng - Win32 LIB"
355 # PROP Exclude_From_Build 1
357 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
359 # PROP Exclude_From_Build 1
361 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
363 # PROP BASE Exclude_From_Build 1
364 # PROP Exclude_From_Build 1
371 SOURCE=..\..\pngwio.c
375 SOURCE=..\..\pngwrite.c
379 SOURCE=..\..\pngwtran.c
383 SOURCE=..\..\pngwutil.c
386 # Begin Group "Header Files"
388 # PROP Default_Filter "h;hpp;hxx;hm;inl"
395 SOURCE=..\..\pngconf.h
398 # Begin Group "Resource Files"
400 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
406 !IF "$(CFG)" == "libpng - Win32 DLL"
408 # PROP Exclude_From_Build 1
410 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
412 # PROP Exclude_From_Build 1
414 !ELSEIF "$(CFG)" == "libpng - Win32 DLL ASM"
416 # PROP Exclude_From_Build 1
418 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug ASM"
420 # PROP Exclude_From_Build 1
422 !ELSEIF "$(CFG)" == "libpng - Win32 LIB"
424 # PROP Exclude_From_Build 1
426 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
428 # PROP Exclude_From_Build 1
430 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
432 # PROP BASE Exclude_From_Build 1
433 # PROP Exclude_From_Build 1