From 388a864ef72fee59c80239209c770878f27d92ab Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 6 Jul 2004 00:18:49 +0000 Subject: Makefile and configure script support for image libs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- visualc/jpeg.dsp | 284 +++++++++++++++++++++++++++++++++++++++++++++++++++++ visualc/libpng.dsp | 149 ++++++++++++++++++++++++++++ visualc/zlib.dsp | 141 ++++++++++++++++++++++++++ 3 files changed, 574 insertions(+) create mode 100644 visualc/jpeg.dsp create mode 100644 visualc/libpng.dsp create mode 100644 visualc/zlib.dsp (limited to 'visualc') diff --git a/visualc/jpeg.dsp b/visualc/jpeg.dsp new file mode 100644 index 000000000..605098f10 --- /dev/null +++ b/visualc/jpeg.dsp @@ -0,0 +1,284 @@ +# Microsoft Developer Studio Project File - Name="jpeg" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=jpeg - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "jpeg.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "jpeg.mak" CFG="jpeg - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "jpeg - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "jpeg - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "jpeg - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Ot /Op /Ob2 /I "../visualc" /I "../zlib" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c +# SUBTRACT CPP /Os +# ADD BASE RSC /l 0x409 +# ADD RSC /l 0x409 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"jpeg.lib" + +!ELSEIF "$(CFG)" == "jpeg - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /GX /Zi /Od /I "../visualc" /I "../zlib" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c +# ADD BASE RSC /l 0x409 +# ADD RSC /l 0x409 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"jpegd.lib" + +!ENDIF + +# Begin Target + +# Name "jpeg - Win32 Release" +# Name "jpeg - Win32 Debug" +# Begin Source File + +SOURCE=..\jpeg\jcapimin.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcapistd.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jccoefct.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jccolor.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcdctmgr.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jchuff.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcinit.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcmainct.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcmarker.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcmaster.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcomapi.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcparam.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcphuff.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcprepct.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jcsample.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jctrans.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdapimin.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdapistd.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdatadst.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdatasrc.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdcoefct.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdcolor.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jddctmgr.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdhuff.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdinput.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdmainct.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdmarker.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdmaster.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdmerge.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdphuff.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdpostct.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdsample.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jdtrans.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jerror.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jfdctflt.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jfdctfst.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jfdctint.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jidctflt.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jidctfst.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jidctint.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jidctred.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jmemmgr.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jmemnobs.c + +!IF "$(CFG)" == "jpeg - Win32 Release" + +# ADD CPP /MT + +!ELSEIF "$(CFG)" == "jpeg - Win32 Debug" + +# ADD CPP /MTd + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jpegtran.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jquant1.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jquant2.c +# End Source File +# Begin Source File + +SOURCE=..\jpeg\jutils.c +# End Source File +# End Target +# End Project diff --git a/visualc/libpng.dsp b/visualc/libpng.dsp new file mode 100644 index 000000000..39be89426 --- /dev/null +++ b/visualc/libpng.dsp @@ -0,0 +1,149 @@ +# Microsoft Developer Studio Project File - Name="libpng" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libpng - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libpng.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libpng.mak" CFG="libpng - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libpng - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libpng - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libpng - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Ot /Op /Ob2 /I "..\zlib-1.1.3" /I "../visualc" /I "../zlib" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c +# SUBTRACT CPP /Os +# ADD BASE RSC /l 0x409 +# ADD RSC /l 0x409 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"png.lib" + +!ELSEIF "$(CFG)" == "libpng - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /GX /Zi /Od /I "..\zlib-1.1.3" /I "../visualc" /I "../zlib" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c +# ADD BASE RSC /l 0x409 +# ADD RSC /l 0x409 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"pngd.lib" + +!ENDIF + +# Begin Target + +# Name "libpng - Win32 Release" +# Name "libpng - Win32 Debug" +# Begin Source File + +SOURCE=..\png\png.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngerror.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngget.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngmem.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngpread.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngread.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngrio.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngrtran.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngrutil.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngset.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngtest.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngtrans.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngwio.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngwrite.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngwtran.c +# End Source File +# Begin Source File + +SOURCE=..\png\pngwutil.c +# End Source File +# End Target +# End Project diff --git a/visualc/zlib.dsp b/visualc/zlib.dsp new file mode 100644 index 000000000..0fec5b9ac --- /dev/null +++ b/visualc/zlib.dsp @@ -0,0 +1,141 @@ +# Microsoft Developer Studio Project File - Name="zlib" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=zlib - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "zlib.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "zlib.mak" CFG="zlib - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "zlib - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "zlib - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "zlib - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /GX /Ot /Op /Ob2 /I "../visualc" /I "../zlib" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c +# SUBTRACT CPP /Os +# ADD BASE RSC /l 0x409 +# ADD RSC /l 0x409 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"z.lib" + +!ELSEIF "$(CFG)" == "zlib - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /GX /Zi /Od /I "../visualc" /I "../zlib" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c +# ADD BASE RSC /l 0x409 +# ADD RSC /l 0x409 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"zd.lib" + +!ENDIF + +# Begin Target + +# Name "zlib - Win32 Release" +# Name "zlib - Win32 Debug" +# Begin Source File + +SOURCE=..\zlib\adler32.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\compress.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\crc32.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\deflate.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\gzio.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\infblock.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\infcodes.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\inffast.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\inflate.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\inftrees.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\infutil.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\trees.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\uncompr.c +# End Source File +# Begin Source File + +SOURCE=..\zlib\zutil.c +# End Source File +# End Target +# End Project -- cgit v1.2.3