[AD] dll version resource script.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


just committed owen rudge's .rc script and updated makefile.mgw.
patch attached.

could you update makefile.vc accordingly eric?

-henrik
diff -urN ../allegro/makefile.mgw allegro/makefile.mgw
--- ../allegro/makefile.mgw	Sat Jul  7 17:56:14 2001
+++ allegro/makefile.mgw	Fri Jul 13 16:34:39 2001
@@ -147,7 +147,7 @@
 
 endif # ALLEGRO_USE_C
 
-OBJECT_LIST = $(COMMON_OBJECTS) $(MY_OBJECTS) $(basename $(notdir $(ALLEGRO_SRC_WIN_FILES)))
+OBJECT_LIST = $(COMMON_OBJECTS) $(MY_OBJECTS) dllver $(basename $(notdir $(ALLEGRO_SRC_WIN_FILES)))
 
 LIBRARIES = -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound
 
@@ -362,6 +362,9 @@
 
 $(OBJ_DIR)/scrsave.res: tests/win/scrsave.rc
 	$(WINDRES) -O coff -o $(OBJ_DIR)/scrsave.res -i tests/win/scrsave.rc
+
+$(OBJ_DIR)/dllver.o: src/win/dllver.rc
+	$(WINDRES) -O coff -o $(OBJ_DIR)/dllver.o -i src/win/dllver.rc --include-dir include
 
 LINK_CONSOLE_DEPS = $(IMPLIB_NAME)
 
diff -urN ../allegro/src/win/dllver.rc allegro/src/win/dllver.rc
--- ../allegro/src/win/dllver.rc	Thu Jan  1 01:00:00 1970
+++ allegro/src/win/dllver.rc	Fri Jul 13 16:31:31 2001
@@ -0,0 +1,30 @@
+#include "allegro.h"
+
+1 VERSIONINFO 
+FILEVERSION ALLEGRO_VERSION, ALLEGRO_SUB_VERSION, ALLEGRO_WIP_VERSION, 0
+PRODUCTVERSION ALLEGRO_VERSION, ALLEGRO_SUB_VERSION, ALLEGRO_WIP_VERSION, 0
+FILEOS 0x00000004L /* VOS__WINDOWS32 */
+FILETYPE 0x00000002L /* VFT_DLL */
+{
+ BLOCK "StringFileInfo"
+ {
+  BLOCK "040904E4"
+  {
+   VALUE "CompanyName", "Allegro programmers\000\000"
+   VALUE "FileDescription", "Allegro\000"
+   VALUE "FileVersion", ALLEGRO_VERSION_STR
+   VALUE "InternalName", "ALL3938\000"
+   VALUE "LegalCopyright", "Copyright © 1996-2001 Shawn Hargreaves and others\000\000"
+   VALUE "OriginalFilename", "ALL3938.DLL\000"
+   VALUE "ProductName", "Allegro\000"
+   VALUE "ProductVersion", ALLEGRO_VERSION_STR
+  }
+
+ }
+
+ BLOCK "VarFileInfo"
+ {
+  VALUE "Translation", 0x0809, 1252
+ }
+
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/