Fossil SCM

extended resource info for windows compile

Ratte 2010-09-30 06:44 wolfgangFormat2CSS_2
Commit dd830ff82a4d7440f269baa8e8bed21a48607674
--- src/config.h
+++ src/config.h
@@ -16,10 +16,12 @@
1616
*******************************************************************************
1717
**
1818
** A common header file used by all modules.
1919
*/
2020
21
+#ifndef _RC_COMPILE_
22
+
2123
/* The following macros are necessary for large-file support under
2224
** some linux distributions, and possibly other unixes as well.
2325
*/
2426
#define _LARGE_FILE 1
2527
#ifndef _FILE_OFFSET_BITS
@@ -48,10 +50,12 @@
4850
#else
4951
# include <sys/types.h>
5052
# include <signal.h>
5153
# include <pwd.h>
5254
#endif
55
+
56
+#endif
5357
5458
#if !defined(COMPILE_VARIANT)
5559
# if defined(__MINGW32__)
5660
# define COMPILE_VARIANT "mingw32"
5761
# elif defined(__DMC__)
@@ -68,10 +72,12 @@
6872
# define COMPILE_VARIANT "win32"
6973
# else
7074
# define COMPILE_VARIANT "unx-std"
7175
# endif
7276
#endif
77
+
78
+#ifndef _RC_COMPILE_
7379
7480
#include "sqlite3.h"
7581
7682
/*
7783
** Typedef for a 64-bit integer
@@ -143,6 +149,8 @@
143149
# include <langinfo.h>
144150
#endif
145151
#ifndef CODESET
146152
# undef FOSSIL_I18N
147153
# define FOSSIL_I18N 0
154
+#endif
155
+
148156
#endif
149157
--- src/config.h
+++ src/config.h
@@ -16,10 +16,12 @@
16 *******************************************************************************
17 **
18 ** A common header file used by all modules.
19 */
20
 
 
21 /* The following macros are necessary for large-file support under
22 ** some linux distributions, and possibly other unixes as well.
23 */
24 #define _LARGE_FILE 1
25 #ifndef _FILE_OFFSET_BITS
@@ -48,10 +50,12 @@
48 #else
49 # include <sys/types.h>
50 # include <signal.h>
51 # include <pwd.h>
52 #endif
 
 
53
54 #if !defined(COMPILE_VARIANT)
55 # if defined(__MINGW32__)
56 # define COMPILE_VARIANT "mingw32"
57 # elif defined(__DMC__)
@@ -68,10 +72,12 @@
68 # define COMPILE_VARIANT "win32"
69 # else
70 # define COMPILE_VARIANT "unx-std"
71 # endif
72 #endif
 
 
73
74 #include "sqlite3.h"
75
76 /*
77 ** Typedef for a 64-bit integer
@@ -143,6 +149,8 @@
143 # include <langinfo.h>
144 #endif
145 #ifndef CODESET
146 # undef FOSSIL_I18N
147 # define FOSSIL_I18N 0
 
 
148 #endif
149
--- src/config.h
+++ src/config.h
@@ -16,10 +16,12 @@
16 *******************************************************************************
17 **
18 ** A common header file used by all modules.
19 */
20
21 #ifndef _RC_COMPILE_
22
23 /* The following macros are necessary for large-file support under
24 ** some linux distributions, and possibly other unixes as well.
25 */
26 #define _LARGE_FILE 1
27 #ifndef _FILE_OFFSET_BITS
@@ -48,10 +50,12 @@
50 #else
51 # include <sys/types.h>
52 # include <signal.h>
53 # include <pwd.h>
54 #endif
55
56 #endif
57
58 #if !defined(COMPILE_VARIANT)
59 # if defined(__MINGW32__)
60 # define COMPILE_VARIANT "mingw32"
61 # elif defined(__DMC__)
@@ -68,10 +72,12 @@
72 # define COMPILE_VARIANT "win32"
73 # else
74 # define COMPILE_VARIANT "unx-std"
75 # endif
76 #endif
77
78 #ifndef _RC_COMPILE_
79
80 #include "sqlite3.h"
81
82 /*
83 ** Typedef for a 64-bit integer
@@ -143,6 +149,8 @@
149 # include <langinfo.h>
150 #endif
151 #ifndef CODESET
152 # undef FOSSIL_I18N
153 # define FOSSIL_I18N 0
154 #endif
155
156 #endif
157
--- win/Makefile.dmc
+++ win/Makefile.dmc
@@ -29,11 +29,11 @@
2929
SRC = add_.c allrepo_.c attach_.c bag_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c file_.c finfo_.c graph_.c http_.c http_socket_.c http_ssl_.c http_transport_.c info_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c stat_.c style_.c sync_.c tag_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c zip_.c
3030
3131
OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\doc$O $(OBJDIR)\encode$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\graph$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\info$O $(OBJDIR)\login$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\name$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\shun$O $(OBJDIR)\skins$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winhttp$O $(OBJDIR)\xfer$O $(OBJDIR)\zip$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O
3232
3333
RC=$(DMDIR)\bin\rcc
34
-RCFLAGS=-32 -w1
34
+RCFLAGS=-32 -w1 -I$(SRCDIR)
3535
3636
APPNAME = $(OBJDIR)\fossil$(E)
3737
3838
all: $(APPNAME)
3939
4040
--- win/Makefile.dmc
+++ win/Makefile.dmc
@@ -29,11 +29,11 @@
29 SRC = add_.c allrepo_.c attach_.c bag_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c file_.c finfo_.c graph_.c http_.c http_socket_.c http_ssl_.c http_transport_.c info_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c stat_.c style_.c sync_.c tag_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c zip_.c
30
31 OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\doc$O $(OBJDIR)\encode$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\graph$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\info$O $(OBJDIR)\login$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\name$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\shun$O $(OBJDIR)\skins$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winhttp$O $(OBJDIR)\xfer$O $(OBJDIR)\zip$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O
32
33 RC=$(DMDIR)\bin\rcc
34 RCFLAGS=-32 -w1
35
36 APPNAME = $(OBJDIR)\fossil$(E)
37
38 all: $(APPNAME)
39
40
--- win/Makefile.dmc
+++ win/Makefile.dmc
@@ -29,11 +29,11 @@
29 SRC = add_.c allrepo_.c attach_.c bag_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c file_.c finfo_.c graph_.c http_.c http_socket_.c http_ssl_.c http_transport_.c info_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c stat_.c style_.c sync_.c tag_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c zip_.c
30
31 OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\doc$O $(OBJDIR)\encode$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\graph$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\info$O $(OBJDIR)\login$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\name$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\shun$O $(OBJDIR)\skins$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winhttp$O $(OBJDIR)\xfer$O $(OBJDIR)\zip$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O
32
33 RC=$(DMDIR)\bin\rcc
34 RCFLAGS=-32 -w1 -I$(SRCDIR)
35
36 APPNAME = $(OBJDIR)\fossil$(E)
37
38 all: $(APPNAME)
39
40
+5 -1
--- win/fossil.rc
+++ win/fossil.rc
@@ -1,7 +1,9 @@
11
#include <windows.h>
22
#include "VERSION.h"
3
+#define _RC_COMPILE_
4
+#include "config.h"
35
46
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
57
68
VS_VERSION_INFO VERSIONINFO
79
FILEVERSION 1,0,0,0
@@ -14,11 +16,13 @@
1416
BEGIN
1517
BLOCK "StringFileInfo"
1618
BEGIN
1719
BLOCK "040904B0"
1820
BEGIN
19
- VALUE "FileVersion", MANIFEST_UUID"\0"
21
+ VALUE "FileDescription", "distributed source code control system with integrated wiki and ticket-system\0"
22
+ VALUE "Comments", "compiler variant: "COMPILE_VARIANT"\0"
23
+ VALUE "FileVersion", MANIFEST_UUID"("COMPILE_VARIANT"\0"
2024
VALUE "InternalName", "fossil\0"
2125
VALUE "LegalCopyright", "Copyright (c) "MANIFEST_DATE" D. Richard Hipp\0"
2226
VALUE "OriginalFilename", "fossil.exe\0"
2327
VALUE "ProductName", "fossil\0"
2428
VALUE "ProductVersion", MANIFEST_VERSION" "MANIFEST_DATE" UTC\0"
2529
--- win/fossil.rc
+++ win/fossil.rc
@@ -1,7 +1,9 @@
1 #include <windows.h>
2 #include "VERSION.h"
 
 
3
4 LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
5
6 VS_VERSION_INFO VERSIONINFO
7 FILEVERSION 1,0,0,0
@@ -14,11 +16,13 @@
14 BEGIN
15 BLOCK "StringFileInfo"
16 BEGIN
17 BLOCK "040904B0"
18 BEGIN
19 VALUE "FileVersion", MANIFEST_UUID"\0"
 
 
20 VALUE "InternalName", "fossil\0"
21 VALUE "LegalCopyright", "Copyright (c) "MANIFEST_DATE" D. Richard Hipp\0"
22 VALUE "OriginalFilename", "fossil.exe\0"
23 VALUE "ProductName", "fossil\0"
24 VALUE "ProductVersion", MANIFEST_VERSION" "MANIFEST_DATE" UTC\0"
25
--- win/fossil.rc
+++ win/fossil.rc
@@ -1,7 +1,9 @@
1 #include <windows.h>
2 #include "VERSION.h"
3 #define _RC_COMPILE_
4 #include "config.h"
5
6 LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
7
8 VS_VERSION_INFO VERSIONINFO
9 FILEVERSION 1,0,0,0
@@ -14,11 +16,13 @@
16 BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904B0"
20 BEGIN
21 VALUE "FileDescription", "distributed source code control system with integrated wiki and ticket-system\0"
22 VALUE "Comments", "compiler variant: "COMPILE_VARIANT"\0"
23 VALUE "FileVersion", MANIFEST_UUID"("COMPILE_VARIANT"\0"
24 VALUE "InternalName", "fossil\0"
25 VALUE "LegalCopyright", "Copyright (c) "MANIFEST_DATE" D. Richard Hipp\0"
26 VALUE "OriginalFilename", "fossil.exe\0"
27 VALUE "ProductName", "fossil\0"
28 VALUE "ProductVersion", MANIFEST_VERSION" "MANIFEST_DATE" UTC\0"
29

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button