Commits

Anonymous committed bf833c5

- has been moved

  • Participants
  • Parent commits ccc3e93
  • Branches GD-2.0

Comments (0)

Files changed (2)

File src/windows/Makefile

-# Makefile form Microsoft C++ nmake.exe
-# $Id$
-
-CC=cl.exe
-LD=link.exe
-BUILD=Release
-LIBGDCFLAGS= \
-   /D PATHSEPARATOR="\";\"" \
-   /D DEFAULT_FONTPATH="\"C:\\WINDOWS\\FONTS;C:\\WINNT\\FONTS\"" \
-   /D HAVE_FT2BUILD_H \
-   /D HAVE_LIBZ \
-   /D HAVE_GD_BUNDLED=1  \
-   /D HAVE_GD_GIF_READ=1  \
-   /D HAVE_GD_GIF_CREATE=1  \
-   /D HAVE_GD_IMAGESETBRUSH=1  \
-   /D HAVE_GD_IMAGESETTILE=1 \
-   /D HAVE_GD_JPG  \
-   /D HAVE_GD_PNG  \
-   /D HAVE_GD_STRINGFTEX=1  \
-   /D HAVE_GD_STRINGTTF=1  \
-   /D HAVE_GD_XBM  \
-   /D HAVE_LIBFREETYPE=1  \
-   /D HAVE_LIBJPEG  \
-   /D HAVE_LIBPNG  \
-   /D USE_GD_IMGSTRTTF
-
-CFLAGS=-I. -I.. -nologo -DWIN32 -D_WIN32 -DMSWIN32 -DBGDWIN32 $(LIBGDCFLAGS)
-LIBS=libjpeg.lib freetype2.lib libpng.lib zlib.lib kernel32.lib user32.lib advapi32.lib
-
-!if "$(BUILD)" == "Debug"
-CFLAGS=$(CFLAGS) /Od /Zi /MDd /D_DEBUG /LDd
-LDFLAGS=/DEBUG $(LDFLAGS) /nodefaultlib:msvcrt.lib
-LIBS=$(LIBS) msvcrtd.lib
-!else
-CFLAGS=$(CFLAGS) /Og /Oi /O2 /Oy /GF /MD /DNDEBUG /LD
-LDFLAGS=/nodefaultlib:msvcrtd.lib
-LIBS=$(LIBS) msvcrt.lib
-!endif
-
-CPPFLAGS=$(CFLAGS)
-
-!if "$(DLLNAME)" == ""
-DLLNAME=bgd.dll
-!endif
-DYNAMICLIB=$(DLLNAME:.dll=.lib)
-
-!if "$(STATICLIB)" == ""
-STATICLIB=bgd_a.lib
-!endif
-
-OBJS= \
-  gd.obj \
-  gdcache.obj \
-  gdfontg.obj \
-  gdfontl.obj \
-  gdfontmb.obj \
-  gdfonts.obj \
-  gdfontt.obj \
-  gdft.obj \
-  gdfx.obj \
-  gd_gd2.obj \
-  gd_gd.obj \
-  gd_gif_in.obj \
-  gd_gif_out.obj \
-  gdhelpers.obj \
-  gd_io.obj \
-  gd_io_dp.obj \
-  gd_io_file.obj \
-  gd_io_ss.obj \
-  gd_jpeg.obj \
-  gd_security.obj \
-  gdkanji.obj \
-  gd_png.obj \
-  gd_ss.obj \
-  gdtables.obj \
-  gd_topal.obj \
-  gd_wbmp.obj \
-  gdxpm.obj \
-  wbmp.obj
-
-
-EXE_OBJS= \
-  annotate.obj \
-  circletexttest.obj \
-  fontconfigtest.obj \
-  fontsizetest.obj \
-  fontwheeltest.obj \
-	gd2copypal.obj \
-	gd2togif.obj \
-	gd2topng.obj \
-	gdcmpgif.obj \
-
-all: $(DLLNAME) $(STATICLIB) tests
-
-$(EXE_OBJS:.obj=.exe): $*.obj $(DLLNAME)
-	link /out:$*.exe $*.obj $(DYNAMICLIB)
-	
-tests: $(EXE_OBJS:.obj=.exe)
-
-libgd.dll.res: libgd.rc
-	$(RC) /fo libgd.dll.res libgd.rc
-	
-{..}.c.obj:
-	$(CC) $(CFLAGS) -c $<
-	
-$(STATICLIB): $(OBJS)
-	$(LD) /lib /out:$(STATICLIB) $(OBJS)
-
-$(DLLNAME): $(OBJS) libgd.dll.res
-	$(LD) /dll /out:$(DLLNAME) \
-		$(LDFLAGS) \
-		$(OBJS) \
-		libgd.dll.res \
-		$(LIBS)
-
-dist: all
-	-rmdir /s /q distro
-	mkdir distro
-	mkdir distro\bin
-	copy *.exe distro\bin
-	copy *.dll distro\bin
-	mkdir distro\include
-	copy ..\*.h distro\include
-	mkdir distro\lib
-	copy *.lib distro\lib
-	copy ..\COPYING distro\COPYING.TXT
-	
-clean:
-	-del /q *.obj *.dll *.lib *.ilk *.pdb *.exp *.exe *.png
-	-rmdir /s /q distro

File src/windows/libgd.rc

-/* This is a template RC file.
- * $Id$
- * Do not edit with MSVC */
-#ifdef APSTUDIO_INVOKED
-# error dont edit with MSVC
-#endif
-
-#include "winres.h"
-#include "../gd.h"
-
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-
-#ifdef WANT_LOGO
-0 ICON gdlib.ico
-#endif
-
-//Version
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION GD_MAJOR_VERSION,GD_MINOR_VERSION,GD_RELEASE_VERSION,0
- PRODUCTVERSION GD_MAJOR_VERSION,GD_MINOR_VERSION,GD_RELEASE_VERSION,0
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS VS_FF_DEBUG
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS VOS__WINDOWS32
- FILETYPE VFT_DLL
- FILESUBTYPE VFT2_UNKNOWN
-BEGIN
-    BLOCK "StringFileInfo"
-    BEGIN
-        BLOCK "040904b0"
-        BEGIN
-            VALUE "Comments", "Thaks to Tom Boutell" "\0"
-            VALUE "CompanyName", "LIBGD Development Team\0"
-            VALUE "FileDescription", "LIBGD" "\0"
-            VALUE "FileVersion", GD_VERSION_STRING "\0"
-            VALUE "InternalName", "bgd.dll" "\0"
-            VALUE "LegalCopyright", "Copyright � 1997-2006 Thomas Boutell and contributors, see COPYING\0" 
-            VALUE "LegalTrademarks", "Thomas Boutell and contributors\0"
-            VALUE "OriginalFilename", "bgd.dll" "\0"
-            VALUE "PrivateBuild", "\0"
-            VALUE "ProductName", "LIBGD dynamic link library" "\0"
-            VALUE "SpecialBuild", "win32" "\0"
-			VALUE "URL", "http://www.libgd.org/"
-        END
-    END
-    BLOCK "VarFileInfo"
-    BEGIN
-        VALUE "Translation", 0x409, 1200
-    END
-END
-
-#ifdef MC_INCLUDE
-#include MC_INCLUDE
-#endif
-