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 VB" (based on "Win32 (x86) Dynamic-Link Library")
24 !MESSAGE "libpng - Win32 LIB Release" (based on "Win32 (x86) Static Library")
25 !MESSAGE "libpng - Win32 LIB Debug" (based on "Win32 (x86) Static Library")
29 # PROP AllowPerConfigDependencies 0
30 # PROP Scc_ProjName ""
31 # PROP Scc_LocalPath ""
33 !IF "$(CFG)" == "libpng - Win32 DLL Release"
36 # PROP BASE Use_Debug_Libraries 0
37 # PROP BASE Output_Dir "libpng___Win32_DLL_Release"
38 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_Release"
39 # PROP BASE Target_Dir ""
41 # PROP Use_Debug_Libraries 0
42 # PROP Output_Dir "Win32_DLL_Release"
43 # PROP Intermediate_Dir "Win32_DLL_Release"
44 # PROP Ignore_Export_Lib 0
47 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /FD /c
48 # SUBTRACT BASE CPP /YX /Yc /Yu
49 # ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /FD /c
50 # SUBTRACT CPP /YX /Yc /Yu
52 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
53 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
55 # ADD BASE RSC /l 0x409 /d "PNG_NO_PEDANTIC_WARNINGS" /d "NDEBUG"
56 # ADD RSC /l 0x409 /i "..\.." /d "PNG_NO_PEDANTIC_WARNINGS" /d "NDEBUG"
58 # ADD BASE BSC32 /nologo
61 # ADD BASE LINK32 /nologo /dll /machine:I386
62 # ADD LINK32 zlib1.lib /nologo /dll /machine:I386 /out:"Win32_DLL_Release\libpng14.dll" /libpath:"..\..\..\zlib\projects\visualc6\Win32_DLL_Release"
64 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
67 # PROP BASE Use_Debug_Libraries 1
68 # PROP BASE Output_Dir "libpng___Win32_DLL_Release"
69 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_Release"
70 # PROP BASE Target_Dir ""
72 # PROP Use_Debug_Libraries 1
73 # PROP Output_Dir "Win32_DLL_Debug"
74 # PROP Intermediate_Dir "Win32_DLL_Debug"
75 # PROP Ignore_Export_Lib 0
78 # ADD BASE CPP /nologo /MDd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /FD /GZ /c
79 # SUBTRACT BASE CPP /YX /Yc /Yu
80 # ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "DEBUG" /D PNG_DEBUG=1 /D "PNG_BUILD_DLL" /D "ZLIB_DLL" /FD /GZ /c
81 # SUBTRACT CPP /YX /Yc /Yu
83 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
84 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
86 # ADD BASE RSC /l 0x409 /d "PNG_NO_PEDANTIC_WARNINGS" /d "_DEBUG"
87 # ADD RSC /l 0x409 /i "..\.." /d "PNG_NO_PEDANTIC_WARNINGS" /d "_DEBUG" /d PNG_DEBUG=1
89 # ADD BASE BSC32 /nologo
92 # ADD BASE LINK32 /nologo /dll /debug /machine:I386 /pdbtype:sept
93 # ADD LINK32 zlib1d.lib /nologo /dll /debug /machine:I386 /out:"Win32_DLL_Debug\libpng14d.dll" /libpath:"..\..\..\zlib\projects\visualc6\Win32_DLL_Debug"
95 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
98 # PROP BASE Use_Debug_Libraries 0
99 # PROP BASE Output_Dir "libpng___Win32_DLL_VB"
100 # PROP BASE Intermediate_Dir "libpng___Win32_DLL_VB"
101 # PROP BASE Target_Dir ""
103 # PROP Use_Debug_Libraries 0
104 # PROP Output_Dir "Win32_DLL_VB"
105 # PROP Intermediate_Dir "Win32_DLL_VB"
106 # PROP Ignore_Export_Lib 0
109 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /FD /c
110 # SUBTRACT BASE CPP /YX /Yc /Yu
111 # 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" /FD /c
112 # SUBTRACT CPP /YX /Yc /Yu
114 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
115 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
117 # ADD BASE RSC /l 0x409 /d "PNG_NO_PEDANTIC_WARNINGS" /d "NDEBUG"
118 # ADD RSC /l 0x409 /i "..\.." /d "PNG_NO_PEDANTIC_WARNINGS" /d "NDEBUG" /dPNG_LIBPNG_DLLFNAME_POSTFIX=""""VB"""" /dPNG_LIBPNG_SPECIALBUILD=""""__stdcall calling convention used for exported functions""""
120 # ADD BASE BSC32 /nologo
123 # ADD BASE LINK32 /nologo /dll /machine:I386
124 # ADD LINK32 zlib1.lib /nologo /dll /machine:I386 /out:"Win32_DLL_VB\libpng14vb.dll" /libpath:"..\..\..\zlib\projects\visualc6\Win32_DLL_Release"
125 # Begin Special Build Tool
126 OutDir=.\Win32_DLL_VB
127 TargetName=libpng14vb
128 SOURCE="$(InputPath)"
129 PostBuild_Cmds=echo Deleting $(targetname) import library and export file (Not required for VB projects) del $(outdir)\$(targetname).lib del $(outdir)\$(targetname).exp
130 # End Special Build Tool
132 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Release"
134 # PROP BASE Use_MFC 0
135 # PROP BASE Use_Debug_Libraries 0
136 # PROP BASE Output_Dir "libpng___Win32_LIB_Release"
137 # PROP BASE Intermediate_Dir "libpng___Win32_LIB_Release"
138 # PROP BASE Target_Dir ""
140 # PROP Use_Debug_Libraries 0
141 # PROP Output_Dir "Win32_LIB_Release"
142 # PROP Intermediate_Dir "Win32_LIB_Release"
145 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /FD /c
146 # SUBTRACT BASE CPP /YX /Yc /Yu
147 # ADD CPP /nologo /MD /W3 /O2 /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "NDEBUG" /FD /c
148 # SUBTRACT CPP /YX /Yc /Yu
150 # ADD BASE RSC /l 0x409 /d "PNG_NO_PEDANTIC_WARNINGS" /d "NDEBUG"
151 # ADD RSC /l 0x409 /i "..\.." /d "PNG_NO_PEDANTIC_WARNINGS" /d "NDEBUG"
153 # ADD BASE BSC32 /nologo
156 # ADD BASE LIB32 /nologo
159 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
161 # PROP BASE Use_MFC 0
162 # PROP BASE Use_Debug_Libraries 1
163 # PROP BASE Output_Dir "libpng___Win32_LIB_Debug"
164 # PROP BASE Intermediate_Dir "libpng___Win32_LIB_Debug"
165 # PROP BASE Target_Dir ""
167 # PROP Use_Debug_Libraries 1
168 # PROP Output_Dir "Win32_LIB_Debug"
169 # PROP Intermediate_Dir "Win32_LIB_Debug"
172 # ADD BASE CPP /nologo /MDd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /FD /GZ /c
173 # SUBTRACT BASE CPP /YX /Yc /Yu
174 # ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "..\.." /I "..\..\..\zlib" /D "WIN32" /D "_DEBUG" /D "DEBUG" /D PNG_DEBUG=1 /FD /GZ /c
175 # SUBTRACT CPP /YX /Yc /Yu
177 # ADD BASE RSC /l 0x409 /d "PNG_NO_PEDANTIC_WARNINGS" /d "_DEBUG"
178 # ADD RSC /l 0x409 /d "PNG_NO_PEDANTIC_WARNINGS" /d "_DEBUG"
180 # ADD BASE BSC32 /nologo
183 # ADD BASE LIB32 /nologo
184 # ADD LIB32 /nologo /out:"Win32_LIB_Debug\libpngd.lib"
190 # Name "libpng - Win32 DLL Release"
191 # Name "libpng - Win32 DLL Debug"
192 # Name "libpng - Win32 DLL VB"
193 # Name "libpng - Win32 LIB Release"
194 # Name "libpng - Win32 LIB Debug"
195 # Begin Group "Source Files"
197 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
204 SOURCE=..\..\pngerror.c
208 SOURCE=..\..\pngget.c
212 SOURCE=..\..\pngmem.c
216 SOURCE=..\..\pngpread.c
220 SOURCE=..\..\pngread.c
224 SOURCE=..\..\pngrio.c
228 SOURCE=..\..\pngrtran.c
232 SOURCE=..\..\pngrutil.c
236 SOURCE=..\..\pngset.c
240 SOURCE=..\..\pngtrans.c
244 SOURCE=..\..\scripts\pngwin.def
246 !IF "$(CFG)" == "libpng - Win32 DLL Release"
248 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
250 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
252 # PROP Exclude_From_Build 1
254 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Release"
256 # PROP Exclude_From_Build 1
258 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
260 # PROP Exclude_From_Build 1
267 SOURCE=..\..\pngwio.c
271 SOURCE=..\..\pngwrite.c
275 SOURCE=..\..\pngwtran.c
279 SOURCE=..\..\pngwutil.c
282 # Begin Group "Header Files"
284 # PROP Default_Filter "h;hpp;hxx;hm;inl"
291 SOURCE=..\..\pngconf.h
295 SOURCE=..\..\pngpriv.h
298 # Begin Group "Resource Files"
300 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
303 SOURCE=..\..\scripts\pngwin.rc
305 !IF "$(CFG)" == "libpng - Win32 DLL Release"
307 !ELSEIF "$(CFG)" == "libpng - Win32 DLL Debug"
309 !ELSEIF "$(CFG)" == "libpng - Win32 DLL VB"
311 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Release"
313 # PROP Exclude_From_Build 1
315 !ELSEIF "$(CFG)" == "libpng - Win32 LIB Debug"
317 # PROP Exclude_From_Build 1