Fossil SCM
Add the "fossil fusefs DIRECTORY" command that mounts a Fuse Filesystem at the given DIRECTORY and populates it with read-only copies of all historical check-ins. This only works on systems that support FuseFS.
Commit
4bf670e612504ff89022aac2fcce5724b8ae2847
Parent
40d5560f22f5e8d…
8 files changed
+9
+16
+11
-1
+1
+19
-14
+10
-4
+12
+10
M
auto.def
+9
| --- auto.def | ||
| +++ auto.def | ||
| @@ -11,10 +11,11 @@ | ||
| 11 | 11 | with-tcl-private-stubs=0 |
| 12 | 12 | => {Enable Tcl integration via private stubs mechanism} |
| 13 | 13 | internal-sqlite=1 => {Don't use the internal SQLite, use the system one} |
| 14 | 14 | static=0 => {Link a static executable} |
| 15 | 15 | lineedit=1 => {Disable line editing} |
| 16 | + fusefs=1 => {Disable the Fuse Filesystem} | |
| 16 | 17 | fossil-debug=0 => {Build with fossil debugging enabled} |
| 17 | 18 | json=0 => {Build with fossil JSON API enabled} |
| 18 | 19 | } |
| 19 | 20 | |
| 20 | 21 | # sqlite wants these types if possible |
| @@ -260,8 +261,16 @@ | ||
| 260 | 261 | if {![cc-check-functions getpassphrase]} { |
| 261 | 262 | # Haiku needs this |
| 262 | 263 | cc-check-function-in-lib getpass bsd |
| 263 | 264 | } |
| 264 | 265 | cc-check-function-in-lib dlopen dl |
| 266 | + | |
| 267 | +# Check for the FuseFS library | |
| 268 | +if {[opt-bool fusefs]} { | |
| 269 | + if {[cc-check-function-in-lib fuse_mount fuse]} { | |
| 270 | + define FOSSIL_HAVE_FUSEFS 1 | |
| 271 | + define-append LIBS -lfuse | |
| 272 | + } | |
| 273 | +} | |
| 265 | 274 | |
| 266 | 275 | make-template Makefile.in |
| 267 | 276 | make-config-header autoconfig.h -auto {USE_* FOSSIL_*} |
| 268 | 277 | |
| 269 | 278 | ADDED src/fusefs.c |
| --- auto.def | |
| +++ auto.def | |
| @@ -11,10 +11,11 @@ | |
| 11 | with-tcl-private-stubs=0 |
| 12 | => {Enable Tcl integration via private stubs mechanism} |
| 13 | internal-sqlite=1 => {Don't use the internal SQLite, use the system one} |
| 14 | static=0 => {Link a static executable} |
| 15 | lineedit=1 => {Disable line editing} |
| 16 | fossil-debug=0 => {Build with fossil debugging enabled} |
| 17 | json=0 => {Build with fossil JSON API enabled} |
| 18 | } |
| 19 | |
| 20 | # sqlite wants these types if possible |
| @@ -260,8 +261,16 @@ | |
| 260 | if {![cc-check-functions getpassphrase]} { |
| 261 | # Haiku needs this |
| 262 | cc-check-function-in-lib getpass bsd |
| 263 | } |
| 264 | cc-check-function-in-lib dlopen dl |
| 265 | |
| 266 | make-template Makefile.in |
| 267 | make-config-header autoconfig.h -auto {USE_* FOSSIL_*} |
| 268 | |
| 269 | DDED src/fusefs.c |
| --- auto.def | |
| +++ auto.def | |
| @@ -11,10 +11,11 @@ | |
| 11 | with-tcl-private-stubs=0 |
| 12 | => {Enable Tcl integration via private stubs mechanism} |
| 13 | internal-sqlite=1 => {Don't use the internal SQLite, use the system one} |
| 14 | static=0 => {Link a static executable} |
| 15 | lineedit=1 => {Disable line editing} |
| 16 | fusefs=1 => {Disable the Fuse Filesystem} |
| 17 | fossil-debug=0 => {Build with fossil debugging enabled} |
| 18 | json=0 => {Build with fossil JSON API enabled} |
| 19 | } |
| 20 | |
| 21 | # sqlite wants these types if possible |
| @@ -260,8 +261,16 @@ | |
| 261 | if {![cc-check-functions getpassphrase]} { |
| 262 | # Haiku needs this |
| 263 | cc-check-function-in-lib getpass bsd |
| 264 | } |
| 265 | cc-check-function-in-lib dlopen dl |
| 266 | |
| 267 | # Check for the FuseFS library |
| 268 | if {[opt-bool fusefs]} { |
| 269 | if {[cc-check-function-in-lib fuse_mount fuse]} { |
| 270 | define FOSSIL_HAVE_FUSEFS 1 |
| 271 | define-append LIBS -lfuse |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | make-template Makefile.in |
| 276 | make-config-header autoconfig.h -auto {USE_* FOSSIL_*} |
| 277 | |
| 278 | DDED src/fusefs.c |
+16
| --- a/src/fusefs.c | ||
| +++ b/src/fusefs.c | ||
| @@ -0,0 +1,16 @@ | ||
| 1 | +/*the versiondef | |
| 2 | +# define STRINGIFY_(X) #X | |
| 3 | +# define STRINGIFY(X) STRINGIFY_(X) | |
| 4 | + return 0; | |
| 5 | +#endif | |
| 6 | +} | |
| 7 | +#ifdef#ifndef | |
| 8 | + fossil_fatal("this build of fossil dofusefs.az[2], 1/*the versiondef | |
| 9 | +# define STRINGIFY_(X) #X | |
| 10 | +# define ST2], pFile->zName)==0File = 0; | |
| 11 | + az[i]); | |
| 12 | + memset(&fusefs, 0,#endif | |
| 13 | +} | |
| 14 | + STRINGIFY_(X) | |
| 15 | + re/*the'%s'", | |
| 16 | + pFile->zUuid |
| --- a/src/fusefs.c | |
| +++ b/src/fusefs.c | |
| @@ -0,0 +1,16 @@ | |
| --- a/src/fusefs.c | |
| +++ b/src/fusefs.c | |
| @@ -0,0 +1,16 @@ | |
| 1 | /*the versiondef |
| 2 | # define STRINGIFY_(X) #X |
| 3 | # define STRINGIFY(X) STRINGIFY_(X) |
| 4 | return 0; |
| 5 | #endif |
| 6 | } |
| 7 | #ifdef#ifndef |
| 8 | fossil_fatal("this build of fossil dofusefs.az[2], 1/*the versiondef |
| 9 | # define STRINGIFY_(X) #X |
| 10 | # define ST2], pFile->zName)==0File = 0; |
| 11 | az[i]); |
| 12 | memset(&fusefs, 0,#endif |
| 13 | } |
| 14 | STRINGIFY_(X) |
| 15 | re/*the'%s'", |
| 16 | pFile->zUuid |
+11
-1
| --- src/main.mk | ||
| +++ src/main.mk | ||
| @@ -42,10 +42,11 @@ | ||
| 42 | 42 | $(SRCDIR)/encode.c \ |
| 43 | 43 | $(SRCDIR)/event.c \ |
| 44 | 44 | $(SRCDIR)/export.c \ |
| 45 | 45 | $(SRCDIR)/file.c \ |
| 46 | 46 | $(SRCDIR)/finfo.c \ |
| 47 | + $(SRCDIR)/fusefs.c \ | |
| 47 | 48 | $(SRCDIR)/glob.c \ |
| 48 | 49 | $(SRCDIR)/graph.c \ |
| 49 | 50 | $(SRCDIR)/gzip.c \ |
| 50 | 51 | $(SRCDIR)/http.c \ |
| 51 | 52 | $(SRCDIR)/http_socket.c \ |
| @@ -154,10 +155,11 @@ | ||
| 154 | 155 | $(OBJDIR)/encode_.c \ |
| 155 | 156 | $(OBJDIR)/event_.c \ |
| 156 | 157 | $(OBJDIR)/export_.c \ |
| 157 | 158 | $(OBJDIR)/file_.c \ |
| 158 | 159 | $(OBJDIR)/finfo_.c \ |
| 160 | + $(OBJDIR)/fusefs_.c \ | |
| 159 | 161 | $(OBJDIR)/glob_.c \ |
| 160 | 162 | $(OBJDIR)/graph_.c \ |
| 161 | 163 | $(OBJDIR)/gzip_.c \ |
| 162 | 164 | $(OBJDIR)/http_.c \ |
| 163 | 165 | $(OBJDIR)/http_socket_.c \ |
| @@ -266,10 +268,11 @@ | ||
| 266 | 268 | $(OBJDIR)/encode.o \ |
| 267 | 269 | $(OBJDIR)/event.o \ |
| 268 | 270 | $(OBJDIR)/export.o \ |
| 269 | 271 | $(OBJDIR)/file.o \ |
| 270 | 272 | $(OBJDIR)/finfo.o \ |
| 273 | + $(OBJDIR)/fusefs.o \ | |
| 271 | 274 | $(OBJDIR)/glob.o \ |
| 272 | 275 | $(OBJDIR)/graph.o \ |
| 273 | 276 | $(OBJDIR)/gzip.o \ |
| 274 | 277 | $(OBJDIR)/http.o \ |
| 275 | 278 | $(OBJDIR)/http_socket.o \ |
| @@ -421,11 +424,11 @@ | ||
| 421 | 424 | |
| 422 | 425 | |
| 423 | 426 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 424 | 427 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 425 | 428 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 426 | - $(OBJDIR)/makeheaders $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/cache_.c:$(OBJDIR)/cache.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_status_.c:$(OBJDIR)/json_status.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/loadctrl_.c:$(OBJDIR)/loadctrl.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/lookslike_.c:$(OBJDIR)/lookslike.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/markdown_.c:$(OBJDIR)/markdown.h $(OBJDIR)/markdown_html_.c:$(OBJDIR)/markdown_html.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/moderate_.c:$(OBJDIR)/moderate.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/regexp_.c:$(OBJDIR)/regexp.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/unicode_.c:$(OBJDIR)/unicode.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/utf8_.c:$(OBJDIR)/utf8.h $(OBJDIR)/util_.c:$(OBJDIR)/util.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winfile_.c:$(OBJDIR)/winfile.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h | |
| 429 | + $(OBJDIR)/makeheaders $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/cache_.c:$(OBJDIR)/cache.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/fusefs_.c:$(OBJDIR)/fusefs.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_status_.c:$(OBJDIR)/json_status.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/loadctrl_.c:$(OBJDIR)/loadctrl.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/lookslike_.c:$(OBJDIR)/lookslike.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/markdown_.c:$(OBJDIR)/markdown.h $(OBJDIR)/markdown_html_.c:$(OBJDIR)/markdown_html.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/moderate_.c:$(OBJDIR)/moderate.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/regexp_.c:$(OBJDIR)/regexp.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/unicode_.c:$(OBJDIR)/unicode.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/utf8_.c:$(OBJDIR)/utf8.h $(OBJDIR)/util_.c:$(OBJDIR)/util.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winfile_.c:$(OBJDIR)/winfile.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h | |
| 427 | 430 | touch $(OBJDIR)/headers |
| 428 | 431 | $(OBJDIR)/headers: Makefile |
| 429 | 432 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/json_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 430 | 433 | Makefile: |
| 431 | 434 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -636,10 +639,17 @@ | ||
| 636 | 639 | |
| 637 | 640 | $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h |
| 638 | 641 | $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c |
| 639 | 642 | |
| 640 | 643 | $(OBJDIR)/finfo.h: $(OBJDIR)/headers |
| 644 | +$(OBJDIR)/fusefs_.c: $(SRCDIR)/fusefs.c $(OBJDIR)/translate | |
| 645 | + $(OBJDIR)/translate $(SRCDIR)/fusefs.c >$(OBJDIR)/fusefs_.c | |
| 646 | + | |
| 647 | +$(OBJDIR)/fusefs.o: $(OBJDIR)/fusefs_.c $(OBJDIR)/fusefs.h $(SRCDIR)/config.h | |
| 648 | + $(XTCC) -o $(OBJDIR)/fusefs.o -c $(OBJDIR)/fusefs_.c | |
| 649 | + | |
| 650 | +$(OBJDIR)/fusefs.h: $(OBJDIR)/headers | |
| 641 | 651 | $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate |
| 642 | 652 | $(OBJDIR)/translate $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c |
| 643 | 653 | |
| 644 | 654 | $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h |
| 645 | 655 | $(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c |
| 646 | 656 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -42,10 +42,11 @@ | |
| 42 | $(SRCDIR)/encode.c \ |
| 43 | $(SRCDIR)/event.c \ |
| 44 | $(SRCDIR)/export.c \ |
| 45 | $(SRCDIR)/file.c \ |
| 46 | $(SRCDIR)/finfo.c \ |
| 47 | $(SRCDIR)/glob.c \ |
| 48 | $(SRCDIR)/graph.c \ |
| 49 | $(SRCDIR)/gzip.c \ |
| 50 | $(SRCDIR)/http.c \ |
| 51 | $(SRCDIR)/http_socket.c \ |
| @@ -154,10 +155,11 @@ | |
| 154 | $(OBJDIR)/encode_.c \ |
| 155 | $(OBJDIR)/event_.c \ |
| 156 | $(OBJDIR)/export_.c \ |
| 157 | $(OBJDIR)/file_.c \ |
| 158 | $(OBJDIR)/finfo_.c \ |
| 159 | $(OBJDIR)/glob_.c \ |
| 160 | $(OBJDIR)/graph_.c \ |
| 161 | $(OBJDIR)/gzip_.c \ |
| 162 | $(OBJDIR)/http_.c \ |
| 163 | $(OBJDIR)/http_socket_.c \ |
| @@ -266,10 +268,11 @@ | |
| 266 | $(OBJDIR)/encode.o \ |
| 267 | $(OBJDIR)/event.o \ |
| 268 | $(OBJDIR)/export.o \ |
| 269 | $(OBJDIR)/file.o \ |
| 270 | $(OBJDIR)/finfo.o \ |
| 271 | $(OBJDIR)/glob.o \ |
| 272 | $(OBJDIR)/graph.o \ |
| 273 | $(OBJDIR)/gzip.o \ |
| 274 | $(OBJDIR)/http.o \ |
| 275 | $(OBJDIR)/http_socket.o \ |
| @@ -421,11 +424,11 @@ | |
| 421 | |
| 422 | |
| 423 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 424 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 425 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 426 | $(OBJDIR)/makeheaders $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/cache_.c:$(OBJDIR)/cache.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_status_.c:$(OBJDIR)/json_status.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/loadctrl_.c:$(OBJDIR)/loadctrl.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/lookslike_.c:$(OBJDIR)/lookslike.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/markdown_.c:$(OBJDIR)/markdown.h $(OBJDIR)/markdown_html_.c:$(OBJDIR)/markdown_html.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/moderate_.c:$(OBJDIR)/moderate.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/regexp_.c:$(OBJDIR)/regexp.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/unicode_.c:$(OBJDIR)/unicode.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/utf8_.c:$(OBJDIR)/utf8.h $(OBJDIR)/util_.c:$(OBJDIR)/util.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winfile_.c:$(OBJDIR)/winfile.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 427 | touch $(OBJDIR)/headers |
| 428 | $(OBJDIR)/headers: Makefile |
| 429 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/json_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 430 | Makefile: |
| 431 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -636,10 +639,17 @@ | |
| 636 | |
| 637 | $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h |
| 638 | $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c |
| 639 | |
| 640 | $(OBJDIR)/finfo.h: $(OBJDIR)/headers |
| 641 | $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate |
| 642 | $(OBJDIR)/translate $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c |
| 643 | |
| 644 | $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h |
| 645 | $(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c |
| 646 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -42,10 +42,11 @@ | |
| 42 | $(SRCDIR)/encode.c \ |
| 43 | $(SRCDIR)/event.c \ |
| 44 | $(SRCDIR)/export.c \ |
| 45 | $(SRCDIR)/file.c \ |
| 46 | $(SRCDIR)/finfo.c \ |
| 47 | $(SRCDIR)/fusefs.c \ |
| 48 | $(SRCDIR)/glob.c \ |
| 49 | $(SRCDIR)/graph.c \ |
| 50 | $(SRCDIR)/gzip.c \ |
| 51 | $(SRCDIR)/http.c \ |
| 52 | $(SRCDIR)/http_socket.c \ |
| @@ -154,10 +155,11 @@ | |
| 155 | $(OBJDIR)/encode_.c \ |
| 156 | $(OBJDIR)/event_.c \ |
| 157 | $(OBJDIR)/export_.c \ |
| 158 | $(OBJDIR)/file_.c \ |
| 159 | $(OBJDIR)/finfo_.c \ |
| 160 | $(OBJDIR)/fusefs_.c \ |
| 161 | $(OBJDIR)/glob_.c \ |
| 162 | $(OBJDIR)/graph_.c \ |
| 163 | $(OBJDIR)/gzip_.c \ |
| 164 | $(OBJDIR)/http_.c \ |
| 165 | $(OBJDIR)/http_socket_.c \ |
| @@ -266,10 +268,11 @@ | |
| 268 | $(OBJDIR)/encode.o \ |
| 269 | $(OBJDIR)/event.o \ |
| 270 | $(OBJDIR)/export.o \ |
| 271 | $(OBJDIR)/file.o \ |
| 272 | $(OBJDIR)/finfo.o \ |
| 273 | $(OBJDIR)/fusefs.o \ |
| 274 | $(OBJDIR)/glob.o \ |
| 275 | $(OBJDIR)/graph.o \ |
| 276 | $(OBJDIR)/gzip.o \ |
| 277 | $(OBJDIR)/http.o \ |
| 278 | $(OBJDIR)/http_socket.o \ |
| @@ -421,11 +424,11 @@ | |
| 424 | |
| 425 | |
| 426 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 427 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 428 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 429 | $(OBJDIR)/makeheaders $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/cache_.c:$(OBJDIR)/cache.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/fusefs_.c:$(OBJDIR)/fusefs.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_status_.c:$(OBJDIR)/json_status.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/loadctrl_.c:$(OBJDIR)/loadctrl.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/lookslike_.c:$(OBJDIR)/lookslike.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/markdown_.c:$(OBJDIR)/markdown.h $(OBJDIR)/markdown_html_.c:$(OBJDIR)/markdown_html.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/moderate_.c:$(OBJDIR)/moderate.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/regexp_.c:$(OBJDIR)/regexp.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/unicode_.c:$(OBJDIR)/unicode.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/utf8_.c:$(OBJDIR)/utf8.h $(OBJDIR)/util_.c:$(OBJDIR)/util.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winfile_.c:$(OBJDIR)/winfile.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 430 | touch $(OBJDIR)/headers |
| 431 | $(OBJDIR)/headers: Makefile |
| 432 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/json_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 433 | Makefile: |
| 434 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -636,10 +639,17 @@ | |
| 639 | |
| 640 | $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h |
| 641 | $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c |
| 642 | |
| 643 | $(OBJDIR)/finfo.h: $(OBJDIR)/headers |
| 644 | $(OBJDIR)/fusefs_.c: $(SRCDIR)/fusefs.c $(OBJDIR)/translate |
| 645 | $(OBJDIR)/translate $(SRCDIR)/fusefs.c >$(OBJDIR)/fusefs_.c |
| 646 | |
| 647 | $(OBJDIR)/fusefs.o: $(OBJDIR)/fusefs_.c $(OBJDIR)/fusefs.h $(SRCDIR)/config.h |
| 648 | $(XTCC) -o $(OBJDIR)/fusefs.o -c $(OBJDIR)/fusefs_.c |
| 649 | |
| 650 | $(OBJDIR)/fusefs.h: $(OBJDIR)/headers |
| 651 | $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate |
| 652 | $(OBJDIR)/translate $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c |
| 653 | |
| 654 | $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h |
| 655 | $(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c |
| 656 |
+1
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -46,10 +46,11 @@ | ||
| 46 | 46 | encode |
| 47 | 47 | event |
| 48 | 48 | export |
| 49 | 49 | file |
| 50 | 50 | finfo |
| 51 | + fusefs | |
| 51 | 52 | glob |
| 52 | 53 | graph |
| 53 | 54 | gzip |
| 54 | 55 | http |
| 55 | 56 | http_socket |
| 56 | 57 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -46,10 +46,11 @@ | |
| 46 | encode |
| 47 | event |
| 48 | export |
| 49 | file |
| 50 | finfo |
| 51 | glob |
| 52 | graph |
| 53 | gzip |
| 54 | http |
| 55 | http_socket |
| 56 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -46,10 +46,11 @@ | |
| 46 | encode |
| 47 | event |
| 48 | export |
| 49 | file |
| 50 | finfo |
| 51 | fusefs |
| 52 | glob |
| 53 | graph |
| 54 | gzip |
| 55 | http |
| 56 | http_socket |
| 57 |
+19
-14
| --- src/manifest.c | ||
| +++ src/manifest.c | ||
| @@ -1161,14 +1161,15 @@ | ||
| 1161 | 1161 | ** of a file. |
| 1162 | 1162 | */ |
| 1163 | 1163 | int manifest_file_mperm(ManifestFile *pFile){ |
| 1164 | 1164 | int mperm = PERM_REG; |
| 1165 | 1165 | if( pFile && pFile->zPerm){ |
| 1166 | - if( strstr(pFile->zPerm,"x")!=0 ) | |
| 1166 | + if( strstr(pFile->zPerm,"x")!=0 ){ | |
| 1167 | 1167 | mperm = PERM_EXE; |
| 1168 | - else if( strstr(pFile->zPerm,"l")!=0 ) | |
| 1168 | + }else if( strstr(pFile->zPerm,"l")!=0 ){ | |
| 1169 | 1169 | mperm = PERM_LNK; |
| 1170 | + } | |
| 1170 | 1171 | } |
| 1171 | 1172 | return mperm; |
| 1172 | 1173 | } |
| 1173 | 1174 | |
| 1174 | 1175 | /* |
| @@ -1227,11 +1228,15 @@ | ||
| 1227 | 1228 | ** That will usually be the case. If it is not found there, then do the |
| 1228 | 1229 | ** actual binary search. |
| 1229 | 1230 | ** |
| 1230 | 1231 | ** Update p->iFile to be the index of the file that is found. |
| 1231 | 1232 | */ |
| 1232 | -static ManifestFile *manifest_file_seek_base(Manifest *p, const char *zName){ | |
| 1233 | +static ManifestFile *manifest_file_seek_base( | |
| 1234 | + Manifest *p, /* Manifest to search */ | |
| 1235 | + const char *zName, /* Name of the file we are looking for */ | |
| 1236 | + int bBest /* 0: exact match only. 1: closest match */ | |
| 1237 | +){ | |
| 1233 | 1238 | int lwr, upr; |
| 1234 | 1239 | int c; |
| 1235 | 1240 | int i; |
| 1236 | 1241 | lwr = 0; |
| 1237 | 1242 | upr = p->nFile - 1; |
| @@ -1255,11 +1260,11 @@ | ||
| 1255 | 1260 | }else{ |
| 1256 | 1261 | p->iFile = i; |
| 1257 | 1262 | return &p->aFile[i]; |
| 1258 | 1263 | } |
| 1259 | 1264 | } |
| 1260 | - return 0; | |
| 1265 | + return bBest ? &p->aFile[lwr] : 0; | |
| 1261 | 1266 | } |
| 1262 | 1267 | |
| 1263 | 1268 | /* |
| 1264 | 1269 | ** Locate a file named zName in the aFile[] array of the given manifest. |
| 1265 | 1270 | ** Return a pointer to the appropriate ManifestFile object. Return NULL |
| @@ -1268,18 +1273,18 @@ | ||
| 1268 | 1273 | ** This routine works even if p is a delta-manifest. The pointer |
| 1269 | 1274 | ** returned might be to the baseline. |
| 1270 | 1275 | ** |
| 1271 | 1276 | ** We assume that filenames are in sorted order and use a binary search. |
| 1272 | 1277 | */ |
| 1273 | -ManifestFile *manifest_file_seek(Manifest *p, const char *zName){ | |
| 1278 | +ManifestFile *manifest_file_seek(Manifest *p, const char *zName, int bBest){ | |
| 1274 | 1279 | ManifestFile *pFile; |
| 1275 | 1280 | |
| 1276 | - pFile = manifest_file_seek_base(p, zName); | |
| 1281 | + pFile = manifest_file_seek_base(p, zName, p->zBaseline ? 0 : bBest); | |
| 1277 | 1282 | if( pFile && pFile->zUuid==0 ) return 0; |
| 1278 | 1283 | if( pFile==0 && p->zBaseline ){ |
| 1279 | 1284 | fetch_baseline(p, 1); |
| 1280 | - pFile = manifest_file_seek_base(p->pBaseline, zName); | |
| 1285 | + pFile = manifest_file_seek_base(p->pBaseline, zName,bBest); | |
| 1281 | 1286 | } |
| 1282 | 1287 | return pFile; |
| 1283 | 1288 | } |
| 1284 | 1289 | |
| 1285 | 1290 | /* |
| @@ -1289,11 +1294,11 @@ | ||
| 1289 | 1294 | */ |
| 1290 | 1295 | ManifestFile *manifest_file_find(Manifest *p, const char *zName){ |
| 1291 | 1296 | int i; |
| 1292 | 1297 | Manifest *pBase; |
| 1293 | 1298 | if( filenames_are_case_sensitive() ){ |
| 1294 | - return manifest_file_seek(p, zName); | |
| 1299 | + return manifest_file_seek(p, zName, 0); | |
| 1295 | 1300 | } |
| 1296 | 1301 | for(i=0; i<p->nFile; i++){ |
| 1297 | 1302 | if( fossil_stricmp(zName, p->aFile[i].zName)==0 ){ |
| 1298 | 1303 | return &p->aFile[i]; |
| 1299 | 1304 | } |
| @@ -1389,11 +1394,11 @@ | ||
| 1389 | 1394 | ** is where most of the changes will be found. |
| 1390 | 1395 | */ |
| 1391 | 1396 | for(i=0, pChildFile=pChild->aFile; i<pChild->nFile; i++, pChildFile++){ |
| 1392 | 1397 | int mperm = manifest_file_mperm(pChildFile); |
| 1393 | 1398 | if( pChildFile->zPrior ){ |
| 1394 | - pParentFile = manifest_file_seek(pParent, pChildFile->zPrior); | |
| 1399 | + pParentFile = manifest_file_seek(pParent, pChildFile->zPrior, 0); | |
| 1395 | 1400 | if( pParentFile ){ |
| 1396 | 1401 | /* File with name change */ |
| 1397 | 1402 | add_one_mlink(cid, pParentFile->zUuid, pChildFile->zUuid, |
| 1398 | 1403 | pChildFile->zName, pChildFile->zPrior, isPublic, mperm); |
| 1399 | 1404 | }else{ |
| @@ -1401,11 +1406,11 @@ | ||
| 1401 | 1406 | ** Treat this like a new file. */ |
| 1402 | 1407 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1403 | 1408 | isPublic, mperm); |
| 1404 | 1409 | } |
| 1405 | 1410 | }else{ |
| 1406 | - pParentFile = manifest_file_seek(pParent, pChildFile->zName); | |
| 1411 | + pParentFile = manifest_file_seek(pParent, pChildFile->zName, 0); | |
| 1407 | 1412 | if( pParentFile==0 ){ |
| 1408 | 1413 | if( pChildFile->zUuid ){ |
| 1409 | 1414 | /* A new file */ |
| 1410 | 1415 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1411 | 1416 | isPublic, mperm); |
| @@ -1423,22 +1428,22 @@ | ||
| 1423 | 1428 | ** are deleted or modified in the parent but which reappear or revert |
| 1424 | 1429 | ** to baseline in the child and show such files as being added or changed |
| 1425 | 1430 | ** in the child. */ |
| 1426 | 1431 | for(i=0, pParentFile=pParent->aFile; i<pParent->nFile; i++, pParentFile++){ |
| 1427 | 1432 | if( pParentFile->zUuid ){ |
| 1428 | - pChildFile = manifest_file_seek_base(pChild, pParentFile->zName); | |
| 1433 | + pChildFile = manifest_file_seek_base(pChild, pParentFile->zName, 0); | |
| 1429 | 1434 | if( pChildFile==0 ){ |
| 1430 | 1435 | /* The child file reverts to baseline. Show this as a change */ |
| 1431 | - pChildFile = manifest_file_seek(pChild, pParentFile->zName); | |
| 1436 | + pChildFile = manifest_file_seek(pChild, pParentFile->zName, 0); | |
| 1432 | 1437 | if( pChildFile ){ |
| 1433 | 1438 | add_one_mlink(cid, pParentFile->zUuid, pChildFile->zUuid, |
| 1434 | 1439 | pChildFile->zName, 0, isPublic, |
| 1435 | 1440 | manifest_file_mperm(pChildFile)); |
| 1436 | 1441 | } |
| 1437 | 1442 | } |
| 1438 | 1443 | }else{ |
| 1439 | - pChildFile = manifest_file_seek(pChild, pParentFile->zName); | |
| 1444 | + pChildFile = manifest_file_seek(pChild, pParentFile->zName, 0); | |
| 1440 | 1445 | if( pChildFile ){ |
| 1441 | 1446 | /* File resurrected in the child after having been deleted in |
| 1442 | 1447 | ** the parent. Show this as an added file. */ |
| 1443 | 1448 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1444 | 1449 | isPublic, manifest_file_mperm(pChildFile)); |
| @@ -1448,11 +1453,11 @@ | ||
| 1448 | 1453 | }else if( pChild->zBaseline==0 ){ |
| 1449 | 1454 | /* pChild is a baseline. Look for files that are present in pParent |
| 1450 | 1455 | ** but are missing from pChild and mark them as having been deleted. */ |
| 1451 | 1456 | manifest_file_rewind(pParent); |
| 1452 | 1457 | while( (pParentFile = manifest_file_next(pParent,0))!=0 ){ |
| 1453 | - pChildFile = manifest_file_seek(pChild, pParentFile->zName); | |
| 1458 | + pChildFile = manifest_file_seek(pChild, pParentFile->zName, 0); | |
| 1454 | 1459 | if( pChildFile==0 && pParentFile->zUuid!=0 ){ |
| 1455 | 1460 | add_one_mlink(cid, pParentFile->zUuid, 0, pParentFile->zName, 0, |
| 1456 | 1461 | isPublic, 0); |
| 1457 | 1462 | } |
| 1458 | 1463 | } |
| 1459 | 1464 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -1161,14 +1161,15 @@ | |
| 1161 | ** of a file. |
| 1162 | */ |
| 1163 | int manifest_file_mperm(ManifestFile *pFile){ |
| 1164 | int mperm = PERM_REG; |
| 1165 | if( pFile && pFile->zPerm){ |
| 1166 | if( strstr(pFile->zPerm,"x")!=0 ) |
| 1167 | mperm = PERM_EXE; |
| 1168 | else if( strstr(pFile->zPerm,"l")!=0 ) |
| 1169 | mperm = PERM_LNK; |
| 1170 | } |
| 1171 | return mperm; |
| 1172 | } |
| 1173 | |
| 1174 | /* |
| @@ -1227,11 +1228,15 @@ | |
| 1227 | ** That will usually be the case. If it is not found there, then do the |
| 1228 | ** actual binary search. |
| 1229 | ** |
| 1230 | ** Update p->iFile to be the index of the file that is found. |
| 1231 | */ |
| 1232 | static ManifestFile *manifest_file_seek_base(Manifest *p, const char *zName){ |
| 1233 | int lwr, upr; |
| 1234 | int c; |
| 1235 | int i; |
| 1236 | lwr = 0; |
| 1237 | upr = p->nFile - 1; |
| @@ -1255,11 +1260,11 @@ | |
| 1255 | }else{ |
| 1256 | p->iFile = i; |
| 1257 | return &p->aFile[i]; |
| 1258 | } |
| 1259 | } |
| 1260 | return 0; |
| 1261 | } |
| 1262 | |
| 1263 | /* |
| 1264 | ** Locate a file named zName in the aFile[] array of the given manifest. |
| 1265 | ** Return a pointer to the appropriate ManifestFile object. Return NULL |
| @@ -1268,18 +1273,18 @@ | |
| 1268 | ** This routine works even if p is a delta-manifest. The pointer |
| 1269 | ** returned might be to the baseline. |
| 1270 | ** |
| 1271 | ** We assume that filenames are in sorted order and use a binary search. |
| 1272 | */ |
| 1273 | ManifestFile *manifest_file_seek(Manifest *p, const char *zName){ |
| 1274 | ManifestFile *pFile; |
| 1275 | |
| 1276 | pFile = manifest_file_seek_base(p, zName); |
| 1277 | if( pFile && pFile->zUuid==0 ) return 0; |
| 1278 | if( pFile==0 && p->zBaseline ){ |
| 1279 | fetch_baseline(p, 1); |
| 1280 | pFile = manifest_file_seek_base(p->pBaseline, zName); |
| 1281 | } |
| 1282 | return pFile; |
| 1283 | } |
| 1284 | |
| 1285 | /* |
| @@ -1289,11 +1294,11 @@ | |
| 1289 | */ |
| 1290 | ManifestFile *manifest_file_find(Manifest *p, const char *zName){ |
| 1291 | int i; |
| 1292 | Manifest *pBase; |
| 1293 | if( filenames_are_case_sensitive() ){ |
| 1294 | return manifest_file_seek(p, zName); |
| 1295 | } |
| 1296 | for(i=0; i<p->nFile; i++){ |
| 1297 | if( fossil_stricmp(zName, p->aFile[i].zName)==0 ){ |
| 1298 | return &p->aFile[i]; |
| 1299 | } |
| @@ -1389,11 +1394,11 @@ | |
| 1389 | ** is where most of the changes will be found. |
| 1390 | */ |
| 1391 | for(i=0, pChildFile=pChild->aFile; i<pChild->nFile; i++, pChildFile++){ |
| 1392 | int mperm = manifest_file_mperm(pChildFile); |
| 1393 | if( pChildFile->zPrior ){ |
| 1394 | pParentFile = manifest_file_seek(pParent, pChildFile->zPrior); |
| 1395 | if( pParentFile ){ |
| 1396 | /* File with name change */ |
| 1397 | add_one_mlink(cid, pParentFile->zUuid, pChildFile->zUuid, |
| 1398 | pChildFile->zName, pChildFile->zPrior, isPublic, mperm); |
| 1399 | }else{ |
| @@ -1401,11 +1406,11 @@ | |
| 1401 | ** Treat this like a new file. */ |
| 1402 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1403 | isPublic, mperm); |
| 1404 | } |
| 1405 | }else{ |
| 1406 | pParentFile = manifest_file_seek(pParent, pChildFile->zName); |
| 1407 | if( pParentFile==0 ){ |
| 1408 | if( pChildFile->zUuid ){ |
| 1409 | /* A new file */ |
| 1410 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1411 | isPublic, mperm); |
| @@ -1423,22 +1428,22 @@ | |
| 1423 | ** are deleted or modified in the parent but which reappear or revert |
| 1424 | ** to baseline in the child and show such files as being added or changed |
| 1425 | ** in the child. */ |
| 1426 | for(i=0, pParentFile=pParent->aFile; i<pParent->nFile; i++, pParentFile++){ |
| 1427 | if( pParentFile->zUuid ){ |
| 1428 | pChildFile = manifest_file_seek_base(pChild, pParentFile->zName); |
| 1429 | if( pChildFile==0 ){ |
| 1430 | /* The child file reverts to baseline. Show this as a change */ |
| 1431 | pChildFile = manifest_file_seek(pChild, pParentFile->zName); |
| 1432 | if( pChildFile ){ |
| 1433 | add_one_mlink(cid, pParentFile->zUuid, pChildFile->zUuid, |
| 1434 | pChildFile->zName, 0, isPublic, |
| 1435 | manifest_file_mperm(pChildFile)); |
| 1436 | } |
| 1437 | } |
| 1438 | }else{ |
| 1439 | pChildFile = manifest_file_seek(pChild, pParentFile->zName); |
| 1440 | if( pChildFile ){ |
| 1441 | /* File resurrected in the child after having been deleted in |
| 1442 | ** the parent. Show this as an added file. */ |
| 1443 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1444 | isPublic, manifest_file_mperm(pChildFile)); |
| @@ -1448,11 +1453,11 @@ | |
| 1448 | }else if( pChild->zBaseline==0 ){ |
| 1449 | /* pChild is a baseline. Look for files that are present in pParent |
| 1450 | ** but are missing from pChild and mark them as having been deleted. */ |
| 1451 | manifest_file_rewind(pParent); |
| 1452 | while( (pParentFile = manifest_file_next(pParent,0))!=0 ){ |
| 1453 | pChildFile = manifest_file_seek(pChild, pParentFile->zName); |
| 1454 | if( pChildFile==0 && pParentFile->zUuid!=0 ){ |
| 1455 | add_one_mlink(cid, pParentFile->zUuid, 0, pParentFile->zName, 0, |
| 1456 | isPublic, 0); |
| 1457 | } |
| 1458 | } |
| 1459 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -1161,14 +1161,15 @@ | |
| 1161 | ** of a file. |
| 1162 | */ |
| 1163 | int manifest_file_mperm(ManifestFile *pFile){ |
| 1164 | int mperm = PERM_REG; |
| 1165 | if( pFile && pFile->zPerm){ |
| 1166 | if( strstr(pFile->zPerm,"x")!=0 ){ |
| 1167 | mperm = PERM_EXE; |
| 1168 | }else if( strstr(pFile->zPerm,"l")!=0 ){ |
| 1169 | mperm = PERM_LNK; |
| 1170 | } |
| 1171 | } |
| 1172 | return mperm; |
| 1173 | } |
| 1174 | |
| 1175 | /* |
| @@ -1227,11 +1228,15 @@ | |
| 1228 | ** That will usually be the case. If it is not found there, then do the |
| 1229 | ** actual binary search. |
| 1230 | ** |
| 1231 | ** Update p->iFile to be the index of the file that is found. |
| 1232 | */ |
| 1233 | static ManifestFile *manifest_file_seek_base( |
| 1234 | Manifest *p, /* Manifest to search */ |
| 1235 | const char *zName, /* Name of the file we are looking for */ |
| 1236 | int bBest /* 0: exact match only. 1: closest match */ |
| 1237 | ){ |
| 1238 | int lwr, upr; |
| 1239 | int c; |
| 1240 | int i; |
| 1241 | lwr = 0; |
| 1242 | upr = p->nFile - 1; |
| @@ -1255,11 +1260,11 @@ | |
| 1260 | }else{ |
| 1261 | p->iFile = i; |
| 1262 | return &p->aFile[i]; |
| 1263 | } |
| 1264 | } |
| 1265 | return bBest ? &p->aFile[lwr] : 0; |
| 1266 | } |
| 1267 | |
| 1268 | /* |
| 1269 | ** Locate a file named zName in the aFile[] array of the given manifest. |
| 1270 | ** Return a pointer to the appropriate ManifestFile object. Return NULL |
| @@ -1268,18 +1273,18 @@ | |
| 1273 | ** This routine works even if p is a delta-manifest. The pointer |
| 1274 | ** returned might be to the baseline. |
| 1275 | ** |
| 1276 | ** We assume that filenames are in sorted order and use a binary search. |
| 1277 | */ |
| 1278 | ManifestFile *manifest_file_seek(Manifest *p, const char *zName, int bBest){ |
| 1279 | ManifestFile *pFile; |
| 1280 | |
| 1281 | pFile = manifest_file_seek_base(p, zName, p->zBaseline ? 0 : bBest); |
| 1282 | if( pFile && pFile->zUuid==0 ) return 0; |
| 1283 | if( pFile==0 && p->zBaseline ){ |
| 1284 | fetch_baseline(p, 1); |
| 1285 | pFile = manifest_file_seek_base(p->pBaseline, zName,bBest); |
| 1286 | } |
| 1287 | return pFile; |
| 1288 | } |
| 1289 | |
| 1290 | /* |
| @@ -1289,11 +1294,11 @@ | |
| 1294 | */ |
| 1295 | ManifestFile *manifest_file_find(Manifest *p, const char *zName){ |
| 1296 | int i; |
| 1297 | Manifest *pBase; |
| 1298 | if( filenames_are_case_sensitive() ){ |
| 1299 | return manifest_file_seek(p, zName, 0); |
| 1300 | } |
| 1301 | for(i=0; i<p->nFile; i++){ |
| 1302 | if( fossil_stricmp(zName, p->aFile[i].zName)==0 ){ |
| 1303 | return &p->aFile[i]; |
| 1304 | } |
| @@ -1389,11 +1394,11 @@ | |
| 1394 | ** is where most of the changes will be found. |
| 1395 | */ |
| 1396 | for(i=0, pChildFile=pChild->aFile; i<pChild->nFile; i++, pChildFile++){ |
| 1397 | int mperm = manifest_file_mperm(pChildFile); |
| 1398 | if( pChildFile->zPrior ){ |
| 1399 | pParentFile = manifest_file_seek(pParent, pChildFile->zPrior, 0); |
| 1400 | if( pParentFile ){ |
| 1401 | /* File with name change */ |
| 1402 | add_one_mlink(cid, pParentFile->zUuid, pChildFile->zUuid, |
| 1403 | pChildFile->zName, pChildFile->zPrior, isPublic, mperm); |
| 1404 | }else{ |
| @@ -1401,11 +1406,11 @@ | |
| 1406 | ** Treat this like a new file. */ |
| 1407 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1408 | isPublic, mperm); |
| 1409 | } |
| 1410 | }else{ |
| 1411 | pParentFile = manifest_file_seek(pParent, pChildFile->zName, 0); |
| 1412 | if( pParentFile==0 ){ |
| 1413 | if( pChildFile->zUuid ){ |
| 1414 | /* A new file */ |
| 1415 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1416 | isPublic, mperm); |
| @@ -1423,22 +1428,22 @@ | |
| 1428 | ** are deleted or modified in the parent but which reappear or revert |
| 1429 | ** to baseline in the child and show such files as being added or changed |
| 1430 | ** in the child. */ |
| 1431 | for(i=0, pParentFile=pParent->aFile; i<pParent->nFile; i++, pParentFile++){ |
| 1432 | if( pParentFile->zUuid ){ |
| 1433 | pChildFile = manifest_file_seek_base(pChild, pParentFile->zName, 0); |
| 1434 | if( pChildFile==0 ){ |
| 1435 | /* The child file reverts to baseline. Show this as a change */ |
| 1436 | pChildFile = manifest_file_seek(pChild, pParentFile->zName, 0); |
| 1437 | if( pChildFile ){ |
| 1438 | add_one_mlink(cid, pParentFile->zUuid, pChildFile->zUuid, |
| 1439 | pChildFile->zName, 0, isPublic, |
| 1440 | manifest_file_mperm(pChildFile)); |
| 1441 | } |
| 1442 | } |
| 1443 | }else{ |
| 1444 | pChildFile = manifest_file_seek(pChild, pParentFile->zName, 0); |
| 1445 | if( pChildFile ){ |
| 1446 | /* File resurrected in the child after having been deleted in |
| 1447 | ** the parent. Show this as an added file. */ |
| 1448 | add_one_mlink(cid, 0, pChildFile->zUuid, pChildFile->zName, 0, |
| 1449 | isPublic, manifest_file_mperm(pChildFile)); |
| @@ -1448,11 +1453,11 @@ | |
| 1453 | }else if( pChild->zBaseline==0 ){ |
| 1454 | /* pChild is a baseline. Look for files that are present in pParent |
| 1455 | ** but are missing from pChild and mark them as having been deleted. */ |
| 1456 | manifest_file_rewind(pParent); |
| 1457 | while( (pParentFile = manifest_file_next(pParent,0))!=0 ){ |
| 1458 | pChildFile = manifest_file_seek(pChild, pParentFile->zName, 0); |
| 1459 | if( pChildFile==0 && pParentFile->zUuid!=0 ){ |
| 1460 | add_one_mlink(cid, pParentFile->zUuid, 0, pParentFile->zName, 0, |
| 1461 | isPublic, 0); |
| 1462 | } |
| 1463 | } |
| 1464 |
+10
-4
| --- win/Makefile.dmc | ||
| +++ win/Makefile.dmc | ||
| @@ -28,13 +28,13 @@ | ||
| 28 | 28 | |
| 29 | 29 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED -DSQLITE_ENABLE_EXPLAIN_COMMENTS |
| 30 | 30 | |
| 31 | 31 | SHELL_OPTIONS = -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_SYSTEM_SQLITE=$(USE_SYSTEM_SQLITE) -DSQLITE_SHELL_DBNAME_PROC=fossil_open -Daccess=file_access -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | 32 | |
| 33 | -SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c cache_.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 event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c loadctrl_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c | |
| 33 | +SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c cache_.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 event_.c export_.c file_.c finfo_.c fusefs_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c loadctrl_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c | |
| 34 | 34 | |
| 35 | -OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\cache$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)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_status$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\loadctrl$O $(OBJDIR)\login$O $(OBJDIR)\lookslike$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\markdown$O $(OBJDIR)\markdown_html$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\moderate$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\regexp$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)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\unicode$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\utf8$O $(OBJDIR)\util$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winfile$O $(OBJDIR)\winhttp$O $(OBJDIR)\wysiwyg$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O | |
| 35 | +OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\cache$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)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\fusefs$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_status$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\loadctrl$O $(OBJDIR)\login$O $(OBJDIR)\lookslike$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\markdown$O $(OBJDIR)\markdown_html$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\moderate$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\regexp$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)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\unicode$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\utf8$O $(OBJDIR)\util$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winfile$O $(OBJDIR)\winhttp$O $(OBJDIR)\wysiwyg$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O | |
| 36 | 36 | |
| 37 | 37 | |
| 38 | 38 | RC=$(DMDIR)\bin\rcc |
| 39 | 39 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 40 | 40 | |
| @@ -48,11 +48,11 @@ | ||
| 48 | 48 | |
| 49 | 49 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 50 | 50 | $(RC) $(RCFLAGS) -o$@ $** |
| 51 | 51 | |
| 52 | 52 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 53 | - +echo add allrepo attach bag bisect blob branch browse cache captcha cgi checkin checkout clearsign clone comformat configure content db delta deltacmd descendants diff diffcmd doc encode event export file finfo glob graph gzip http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_status json_tag json_timeline json_user json_wiki leaf loadctrl login lookslike main manifest markdown markdown_html md5 merge merge3 moderate name path pivot popen pqueue printf rebuild regexp report rss schema search setup sha1 shun skins sqlcmd stash stat style sync tag tar th_main timeline tkt tktsetup undo unicode update url user utf8 util verify vfile wiki wikiformat winfile winhttp wysiwyg xfer xfersetup zip shell sqlite3 th th_lang > $@ | |
| 53 | + +echo add allrepo attach bag bisect blob branch browse cache captcha cgi checkin checkout clearsign clone comformat configure content db delta deltacmd descendants diff diffcmd doc encode event export file finfo fusefs glob graph gzip http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_status json_tag json_timeline json_user json_wiki leaf loadctrl login lookslike main manifest markdown markdown_html md5 merge merge3 moderate name path pivot popen pqueue printf rebuild regexp report rss schema search setup sha1 shun skins sqlcmd stash stat style sync tag tar th_main timeline tkt tktsetup undo unicode update url user utf8 util verify vfile wiki wikiformat winfile winhttp wysiwyg xfer xfersetup zip shell sqlite3 th th_lang > $@ | |
| 54 | 54 | +echo fossil >> $@ |
| 55 | 55 | +echo fossil >> $@ |
| 56 | 56 | +echo $(LIBS) >> $@ |
| 57 | 57 | +echo. >> $@ |
| 58 | 58 | +echo fossil >> $@ |
| @@ -292,10 +292,16 @@ | ||
| 292 | 292 | $(OBJDIR)\finfo$O : finfo_.c finfo.h |
| 293 | 293 | $(TCC) -o$@ -c finfo_.c |
| 294 | 294 | |
| 295 | 295 | finfo_.c : $(SRCDIR)\finfo.c |
| 296 | 296 | +translate$E $** > $@ |
| 297 | + | |
| 298 | +$(OBJDIR)\fusefs$O : fusefs_.c fusefs.h | |
| 299 | + $(TCC) -o$@ -c fusefs_.c | |
| 300 | + | |
| 301 | +fusefs_.c : $(SRCDIR)\fusefs.c | |
| 302 | + +translate$E $** > $@ | |
| 297 | 303 | |
| 298 | 304 | $(OBJDIR)\glob$O : glob_.c glob.h |
| 299 | 305 | $(TCC) -o$@ -c glob_.c |
| 300 | 306 | |
| 301 | 307 | glob_.c : $(SRCDIR)\glob.c |
| @@ -774,7 +780,7 @@ | ||
| 774 | 780 | |
| 775 | 781 | zip_.c : $(SRCDIR)\zip.c |
| 776 | 782 | +translate$E $** > $@ |
| 777 | 783 | |
| 778 | 784 | headers: makeheaders$E page_index.h VERSION.h |
| 779 | - +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h cache_.c:cache.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_status_.c:json_status.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.h loadctrl_.c:loadctrl.h login_.c:login.h lookslike_.c:lookslike.h main_.c:main.h manifest_.c:manifest.h markdown_.c:markdown.h markdown_html_.c:markdown_html.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h moderate_.c:moderate.h name_.c:name.h path_.c:path.h pivot_.c:pivot.h popen_.c:popen.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h regexp_.c:regexp.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h unicode_.c:unicode.h update_.c:update.h url_.c:url.h user_.c:user.h utf8_.c:utf8.h util_.c:util.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winfile_.c:winfile.h winhttp_.c:winhttp.h wysiwyg_.c:wysiwyg.h xfer_.c:xfer.h xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h | |
| 785 | + +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h cache_.c:cache.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h fusefs_.c:fusefs.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_status_.c:json_status.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.h loadctrl_.c:loadctrl.h login_.c:login.h lookslike_.c:lookslike.h main_.c:main.h manifest_.c:manifest.h markdown_.c:markdown.h markdown_html_.c:markdown_html.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h moderate_.c:moderate.h name_.c:name.h path_.c:path.h pivot_.c:pivot.h popen_.c:popen.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h regexp_.c:regexp.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h unicode_.c:unicode.h update_.c:update.h url_.c:url.h user_.c:user.h utf8_.c:utf8.h util_.c:util.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winfile_.c:winfile.h winhttp_.c:winhttp.h wysiwyg_.c:wysiwyg.h xfer_.c:xfer.h xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h | |
| 780 | 786 | @copy /Y nul: headers |
| 781 | 787 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -28,13 +28,13 @@ | |
| 28 | |
| 29 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED -DSQLITE_ENABLE_EXPLAIN_COMMENTS |
| 30 | |
| 31 | SHELL_OPTIONS = -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_SYSTEM_SQLITE=$(USE_SYSTEM_SQLITE) -DSQLITE_SHELL_DBNAME_PROC=fossil_open -Daccess=file_access -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | |
| 33 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c cache_.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 event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c loadctrl_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c |
| 34 | |
| 35 | OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\cache$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)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_status$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\loadctrl$O $(OBJDIR)\login$O $(OBJDIR)\lookslike$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\markdown$O $(OBJDIR)\markdown_html$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\moderate$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\regexp$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)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\unicode$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\utf8$O $(OBJDIR)\util$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winfile$O $(OBJDIR)\winhttp$O $(OBJDIR)\wysiwyg$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O |
| 36 | |
| 37 | |
| 38 | RC=$(DMDIR)\bin\rcc |
| 39 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 40 | |
| @@ -48,11 +48,11 @@ | |
| 48 | |
| 49 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 50 | $(RC) $(RCFLAGS) -o$@ $** |
| 51 | |
| 52 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 53 | +echo add allrepo attach bag bisect blob branch browse cache captcha cgi checkin checkout clearsign clone comformat configure content db delta deltacmd descendants diff diffcmd doc encode event export file finfo glob graph gzip http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_status json_tag json_timeline json_user json_wiki leaf loadctrl login lookslike main manifest markdown markdown_html md5 merge merge3 moderate name path pivot popen pqueue printf rebuild regexp report rss schema search setup sha1 shun skins sqlcmd stash stat style sync tag tar th_main timeline tkt tktsetup undo unicode update url user utf8 util verify vfile wiki wikiformat winfile winhttp wysiwyg xfer xfersetup zip shell sqlite3 th th_lang > $@ |
| 54 | +echo fossil >> $@ |
| 55 | +echo fossil >> $@ |
| 56 | +echo $(LIBS) >> $@ |
| 57 | +echo. >> $@ |
| 58 | +echo fossil >> $@ |
| @@ -292,10 +292,16 @@ | |
| 292 | $(OBJDIR)\finfo$O : finfo_.c finfo.h |
| 293 | $(TCC) -o$@ -c finfo_.c |
| 294 | |
| 295 | finfo_.c : $(SRCDIR)\finfo.c |
| 296 | +translate$E $** > $@ |
| 297 | |
| 298 | $(OBJDIR)\glob$O : glob_.c glob.h |
| 299 | $(TCC) -o$@ -c glob_.c |
| 300 | |
| 301 | glob_.c : $(SRCDIR)\glob.c |
| @@ -774,7 +780,7 @@ | |
| 774 | |
| 775 | zip_.c : $(SRCDIR)\zip.c |
| 776 | +translate$E $** > $@ |
| 777 | |
| 778 | headers: makeheaders$E page_index.h VERSION.h |
| 779 | +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h cache_.c:cache.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_status_.c:json_status.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.h loadctrl_.c:loadctrl.h login_.c:login.h lookslike_.c:lookslike.h main_.c:main.h manifest_.c:manifest.h markdown_.c:markdown.h markdown_html_.c:markdown_html.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h moderate_.c:moderate.h name_.c:name.h path_.c:path.h pivot_.c:pivot.h popen_.c:popen.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h regexp_.c:regexp.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h unicode_.c:unicode.h update_.c:update.h url_.c:url.h user_.c:user.h utf8_.c:utf8.h util_.c:util.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winfile_.c:winfile.h winhttp_.c:winhttp.h wysiwyg_.c:wysiwyg.h xfer_.c:xfer.h xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h |
| 780 | @copy /Y nul: headers |
| 781 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -28,13 +28,13 @@ | |
| 28 | |
| 29 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED -DSQLITE_ENABLE_EXPLAIN_COMMENTS |
| 30 | |
| 31 | SHELL_OPTIONS = -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_SYSTEM_SQLITE=$(USE_SYSTEM_SQLITE) -DSQLITE_SHELL_DBNAME_PROC=fossil_open -Daccess=file_access -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | |
| 33 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c cache_.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 event_.c export_.c file_.c finfo_.c fusefs_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c loadctrl_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c |
| 34 | |
| 35 | OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\cache$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)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\fusefs$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_status$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\loadctrl$O $(OBJDIR)\login$O $(OBJDIR)\lookslike$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\markdown$O $(OBJDIR)\markdown_html$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\moderate$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\regexp$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)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\unicode$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\utf8$O $(OBJDIR)\util$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winfile$O $(OBJDIR)\winhttp$O $(OBJDIR)\wysiwyg$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O |
| 36 | |
| 37 | |
| 38 | RC=$(DMDIR)\bin\rcc |
| 39 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 40 | |
| @@ -48,11 +48,11 @@ | |
| 48 | |
| 49 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 50 | $(RC) $(RCFLAGS) -o$@ $** |
| 51 | |
| 52 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 53 | +echo add allrepo attach bag bisect blob branch browse cache captcha cgi checkin checkout clearsign clone comformat configure content db delta deltacmd descendants diff diffcmd doc encode event export file finfo fusefs glob graph gzip http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_status json_tag json_timeline json_user json_wiki leaf loadctrl login lookslike main manifest markdown markdown_html md5 merge merge3 moderate name path pivot popen pqueue printf rebuild regexp report rss schema search setup sha1 shun skins sqlcmd stash stat style sync tag tar th_main timeline tkt tktsetup undo unicode update url user utf8 util verify vfile wiki wikiformat winfile winhttp wysiwyg xfer xfersetup zip shell sqlite3 th th_lang > $@ |
| 54 | +echo fossil >> $@ |
| 55 | +echo fossil >> $@ |
| 56 | +echo $(LIBS) >> $@ |
| 57 | +echo. >> $@ |
| 58 | +echo fossil >> $@ |
| @@ -292,10 +292,16 @@ | |
| 292 | $(OBJDIR)\finfo$O : finfo_.c finfo.h |
| 293 | $(TCC) -o$@ -c finfo_.c |
| 294 | |
| 295 | finfo_.c : $(SRCDIR)\finfo.c |
| 296 | +translate$E $** > $@ |
| 297 | |
| 298 | $(OBJDIR)\fusefs$O : fusefs_.c fusefs.h |
| 299 | $(TCC) -o$@ -c fusefs_.c |
| 300 | |
| 301 | fusefs_.c : $(SRCDIR)\fusefs.c |
| 302 | +translate$E $** > $@ |
| 303 | |
| 304 | $(OBJDIR)\glob$O : glob_.c glob.h |
| 305 | $(TCC) -o$@ -c glob_.c |
| 306 | |
| 307 | glob_.c : $(SRCDIR)\glob.c |
| @@ -774,7 +780,7 @@ | |
| 780 | |
| 781 | zip_.c : $(SRCDIR)\zip.c |
| 782 | +translate$E $** > $@ |
| 783 | |
| 784 | headers: makeheaders$E page_index.h VERSION.h |
| 785 | +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h cache_.c:cache.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h fusefs_.c:fusefs.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_status_.c:json_status.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.h loadctrl_.c:loadctrl.h login_.c:login.h lookslike_.c:lookslike.h main_.c:main.h manifest_.c:manifest.h markdown_.c:markdown.h markdown_html_.c:markdown_html.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h moderate_.c:moderate.h name_.c:name.h path_.c:path.h pivot_.c:pivot.h popen_.c:popen.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h regexp_.c:regexp.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h unicode_.c:unicode.h update_.c:update.h url_.c:url.h user_.c:user.h utf8_.c:utf8.h util_.c:util.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winfile_.c:winfile.h winhttp_.c:winhttp.h wysiwyg_.c:wysiwyg.h xfer_.c:xfer.h xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h |
| 786 | @copy /Y nul: headers |
| 787 |
+12
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -293,10 +293,11 @@ | ||
| 293 | 293 | $(SRCDIR)/encode.c \ |
| 294 | 294 | $(SRCDIR)/event.c \ |
| 295 | 295 | $(SRCDIR)/export.c \ |
| 296 | 296 | $(SRCDIR)/file.c \ |
| 297 | 297 | $(SRCDIR)/finfo.c \ |
| 298 | + $(SRCDIR)/fusefs.c \ | |
| 298 | 299 | $(SRCDIR)/glob.c \ |
| 299 | 300 | $(SRCDIR)/graph.c \ |
| 300 | 301 | $(SRCDIR)/gzip.c \ |
| 301 | 302 | $(SRCDIR)/http.c \ |
| 302 | 303 | $(SRCDIR)/http_socket.c \ |
| @@ -405,10 +406,11 @@ | ||
| 405 | 406 | $(OBJDIR)/encode_.c \ |
| 406 | 407 | $(OBJDIR)/event_.c \ |
| 407 | 408 | $(OBJDIR)/export_.c \ |
| 408 | 409 | $(OBJDIR)/file_.c \ |
| 409 | 410 | $(OBJDIR)/finfo_.c \ |
| 411 | + $(OBJDIR)/fusefs_.c \ | |
| 410 | 412 | $(OBJDIR)/glob_.c \ |
| 411 | 413 | $(OBJDIR)/graph_.c \ |
| 412 | 414 | $(OBJDIR)/gzip_.c \ |
| 413 | 415 | $(OBJDIR)/http_.c \ |
| 414 | 416 | $(OBJDIR)/http_socket_.c \ |
| @@ -517,10 +519,11 @@ | ||
| 517 | 519 | $(OBJDIR)/encode.o \ |
| 518 | 520 | $(OBJDIR)/event.o \ |
| 519 | 521 | $(OBJDIR)/export.o \ |
| 520 | 522 | $(OBJDIR)/file.o \ |
| 521 | 523 | $(OBJDIR)/finfo.o \ |
| 524 | + $(OBJDIR)/fusefs.o \ | |
| 522 | 525 | $(OBJDIR)/glob.o \ |
| 523 | 526 | $(OBJDIR)/graph.o \ |
| 524 | 527 | $(OBJDIR)/gzip.o \ |
| 525 | 528 | $(OBJDIR)/http.o \ |
| 526 | 529 | $(OBJDIR)/http_socket.o \ |
| @@ -765,10 +768,11 @@ | ||
| 765 | 768 | $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h \ |
| 766 | 769 | $(OBJDIR)/event_.c:$(OBJDIR)/event.h \ |
| 767 | 770 | $(OBJDIR)/export_.c:$(OBJDIR)/export.h \ |
| 768 | 771 | $(OBJDIR)/file_.c:$(OBJDIR)/file.h \ |
| 769 | 772 | $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h \ |
| 773 | + $(OBJDIR)/fusefs_.c:$(OBJDIR)/fusefs.h \ | |
| 770 | 774 | $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h \ |
| 771 | 775 | $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h \ |
| 772 | 776 | $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h \ |
| 773 | 777 | $(OBJDIR)/http_.c:$(OBJDIR)/http.h \ |
| 774 | 778 | $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h \ |
| @@ -1093,10 +1097,18 @@ | ||
| 1093 | 1097 | |
| 1094 | 1098 | $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h |
| 1095 | 1099 | $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c |
| 1096 | 1100 | |
| 1097 | 1101 | $(OBJDIR)/finfo.h: $(OBJDIR)/headers |
| 1102 | + | |
| 1103 | +$(OBJDIR)/fusefs_.c: $(SRCDIR)/fusefs.c $(OBJDIR)/translate | |
| 1104 | + $(TRANSLATE) $(SRCDIR)/fusefs.c >$(OBJDIR)/fusefs_.c | |
| 1105 | + | |
| 1106 | +$(OBJDIR)/fusefs.o: $(OBJDIR)/fusefs_.c $(OBJDIR)/fusefs.h $(SRCDIR)/config.h | |
| 1107 | + $(XTCC) -o $(OBJDIR)/fusefs.o -c $(OBJDIR)/fusefs_.c | |
| 1108 | + | |
| 1109 | +$(OBJDIR)/fusefs.h: $(OBJDIR)/headers | |
| 1098 | 1110 | |
| 1099 | 1111 | $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate |
| 1100 | 1112 | $(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c |
| 1101 | 1113 | |
| 1102 | 1114 | $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h |
| 1103 | 1115 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -293,10 +293,11 @@ | |
| 293 | $(SRCDIR)/encode.c \ |
| 294 | $(SRCDIR)/event.c \ |
| 295 | $(SRCDIR)/export.c \ |
| 296 | $(SRCDIR)/file.c \ |
| 297 | $(SRCDIR)/finfo.c \ |
| 298 | $(SRCDIR)/glob.c \ |
| 299 | $(SRCDIR)/graph.c \ |
| 300 | $(SRCDIR)/gzip.c \ |
| 301 | $(SRCDIR)/http.c \ |
| 302 | $(SRCDIR)/http_socket.c \ |
| @@ -405,10 +406,11 @@ | |
| 405 | $(OBJDIR)/encode_.c \ |
| 406 | $(OBJDIR)/event_.c \ |
| 407 | $(OBJDIR)/export_.c \ |
| 408 | $(OBJDIR)/file_.c \ |
| 409 | $(OBJDIR)/finfo_.c \ |
| 410 | $(OBJDIR)/glob_.c \ |
| 411 | $(OBJDIR)/graph_.c \ |
| 412 | $(OBJDIR)/gzip_.c \ |
| 413 | $(OBJDIR)/http_.c \ |
| 414 | $(OBJDIR)/http_socket_.c \ |
| @@ -517,10 +519,11 @@ | |
| 517 | $(OBJDIR)/encode.o \ |
| 518 | $(OBJDIR)/event.o \ |
| 519 | $(OBJDIR)/export.o \ |
| 520 | $(OBJDIR)/file.o \ |
| 521 | $(OBJDIR)/finfo.o \ |
| 522 | $(OBJDIR)/glob.o \ |
| 523 | $(OBJDIR)/graph.o \ |
| 524 | $(OBJDIR)/gzip.o \ |
| 525 | $(OBJDIR)/http.o \ |
| 526 | $(OBJDIR)/http_socket.o \ |
| @@ -765,10 +768,11 @@ | |
| 765 | $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h \ |
| 766 | $(OBJDIR)/event_.c:$(OBJDIR)/event.h \ |
| 767 | $(OBJDIR)/export_.c:$(OBJDIR)/export.h \ |
| 768 | $(OBJDIR)/file_.c:$(OBJDIR)/file.h \ |
| 769 | $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h \ |
| 770 | $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h \ |
| 771 | $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h \ |
| 772 | $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h \ |
| 773 | $(OBJDIR)/http_.c:$(OBJDIR)/http.h \ |
| 774 | $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h \ |
| @@ -1093,10 +1097,18 @@ | |
| 1093 | |
| 1094 | $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h |
| 1095 | $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c |
| 1096 | |
| 1097 | $(OBJDIR)/finfo.h: $(OBJDIR)/headers |
| 1098 | |
| 1099 | $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate |
| 1100 | $(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c |
| 1101 | |
| 1102 | $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h |
| 1103 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -293,10 +293,11 @@ | |
| 293 | $(SRCDIR)/encode.c \ |
| 294 | $(SRCDIR)/event.c \ |
| 295 | $(SRCDIR)/export.c \ |
| 296 | $(SRCDIR)/file.c \ |
| 297 | $(SRCDIR)/finfo.c \ |
| 298 | $(SRCDIR)/fusefs.c \ |
| 299 | $(SRCDIR)/glob.c \ |
| 300 | $(SRCDIR)/graph.c \ |
| 301 | $(SRCDIR)/gzip.c \ |
| 302 | $(SRCDIR)/http.c \ |
| 303 | $(SRCDIR)/http_socket.c \ |
| @@ -405,10 +406,11 @@ | |
| 406 | $(OBJDIR)/encode_.c \ |
| 407 | $(OBJDIR)/event_.c \ |
| 408 | $(OBJDIR)/export_.c \ |
| 409 | $(OBJDIR)/file_.c \ |
| 410 | $(OBJDIR)/finfo_.c \ |
| 411 | $(OBJDIR)/fusefs_.c \ |
| 412 | $(OBJDIR)/glob_.c \ |
| 413 | $(OBJDIR)/graph_.c \ |
| 414 | $(OBJDIR)/gzip_.c \ |
| 415 | $(OBJDIR)/http_.c \ |
| 416 | $(OBJDIR)/http_socket_.c \ |
| @@ -517,10 +519,11 @@ | |
| 519 | $(OBJDIR)/encode.o \ |
| 520 | $(OBJDIR)/event.o \ |
| 521 | $(OBJDIR)/export.o \ |
| 522 | $(OBJDIR)/file.o \ |
| 523 | $(OBJDIR)/finfo.o \ |
| 524 | $(OBJDIR)/fusefs.o \ |
| 525 | $(OBJDIR)/glob.o \ |
| 526 | $(OBJDIR)/graph.o \ |
| 527 | $(OBJDIR)/gzip.o \ |
| 528 | $(OBJDIR)/http.o \ |
| 529 | $(OBJDIR)/http_socket.o \ |
| @@ -765,10 +768,11 @@ | |
| 768 | $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h \ |
| 769 | $(OBJDIR)/event_.c:$(OBJDIR)/event.h \ |
| 770 | $(OBJDIR)/export_.c:$(OBJDIR)/export.h \ |
| 771 | $(OBJDIR)/file_.c:$(OBJDIR)/file.h \ |
| 772 | $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h \ |
| 773 | $(OBJDIR)/fusefs_.c:$(OBJDIR)/fusefs.h \ |
| 774 | $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h \ |
| 775 | $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h \ |
| 776 | $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h \ |
| 777 | $(OBJDIR)/http_.c:$(OBJDIR)/http.h \ |
| 778 | $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h \ |
| @@ -1093,10 +1097,18 @@ | |
| 1097 | |
| 1098 | $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h |
| 1099 | $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c |
| 1100 | |
| 1101 | $(OBJDIR)/finfo.h: $(OBJDIR)/headers |
| 1102 | |
| 1103 | $(OBJDIR)/fusefs_.c: $(SRCDIR)/fusefs.c $(OBJDIR)/translate |
| 1104 | $(TRANSLATE) $(SRCDIR)/fusefs.c >$(OBJDIR)/fusefs_.c |
| 1105 | |
| 1106 | $(OBJDIR)/fusefs.o: $(OBJDIR)/fusefs_.c $(OBJDIR)/fusefs.h $(SRCDIR)/config.h |
| 1107 | $(XTCC) -o $(OBJDIR)/fusefs.o -c $(OBJDIR)/fusefs_.c |
| 1108 | |
| 1109 | $(OBJDIR)/fusefs.h: $(OBJDIR)/headers |
| 1110 | |
| 1111 | $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate |
| 1112 | $(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c |
| 1113 | |
| 1114 | $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h |
| 1115 |
+10
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -136,10 +136,11 @@ | ||
| 136 | 136 | encode_.c \ |
| 137 | 137 | event_.c \ |
| 138 | 138 | export_.c \ |
| 139 | 139 | file_.c \ |
| 140 | 140 | finfo_.c \ |
| 141 | + fusefs_.c \ | |
| 141 | 142 | glob_.c \ |
| 142 | 143 | graph_.c \ |
| 143 | 144 | gzip_.c \ |
| 144 | 145 | http_.c \ |
| 145 | 146 | http_socket_.c \ |
| @@ -248,10 +249,11 @@ | ||
| 248 | 249 | $(OX)\encode$O \ |
| 249 | 250 | $(OX)\event$O \ |
| 250 | 251 | $(OX)\export$O \ |
| 251 | 252 | $(OX)\file$O \ |
| 252 | 253 | $(OX)\finfo$O \ |
| 254 | + $(OX)\fusefs$O \ | |
| 253 | 255 | $(OX)\glob$O \ |
| 254 | 256 | $(OX)\graph$O \ |
| 255 | 257 | $(OX)\gzip$O \ |
| 256 | 258 | $(OX)\http$O \ |
| 257 | 259 | $(OX)\http_socket$O \ |
| @@ -381,10 +383,11 @@ | ||
| 381 | 383 | echo $(OX)\encode.obj >> $@ |
| 382 | 384 | echo $(OX)\event.obj >> $@ |
| 383 | 385 | echo $(OX)\export.obj >> $@ |
| 384 | 386 | echo $(OX)\file.obj >> $@ |
| 385 | 387 | echo $(OX)\finfo.obj >> $@ |
| 388 | + echo $(OX)\fusefs.obj >> $@ | |
| 386 | 389 | echo $(OX)\glob.obj >> $@ |
| 387 | 390 | echo $(OX)\graph.obj >> $@ |
| 388 | 391 | echo $(OX)\gzip.obj >> $@ |
| 389 | 392 | echo $(OX)\http.obj >> $@ |
| 390 | 393 | echo $(OX)\http_socket.obj >> $@ |
| @@ -720,10 +723,16 @@ | ||
| 720 | 723 | $(OX)\finfo$O : finfo_.c finfo.h |
| 721 | 724 | $(TCC) /Fo$@ -c finfo_.c |
| 722 | 725 | |
| 723 | 726 | finfo_.c : $(SRCDIR)\finfo.c |
| 724 | 727 | translate$E $** > $@ |
| 728 | + | |
| 729 | +$(OX)\fusefs$O : fusefs_.c fusefs.h | |
| 730 | + $(TCC) /Fo$@ -c fusefs_.c | |
| 731 | + | |
| 732 | +fusefs_.c : $(SRCDIR)\fusefs.c | |
| 733 | + translate$E $** > $@ | |
| 725 | 734 | |
| 726 | 735 | $(OX)\glob$O : glob_.c glob.h |
| 727 | 736 | $(TCC) /Fo$@ -c glob_.c |
| 728 | 737 | |
| 729 | 738 | glob_.c : $(SRCDIR)\glob.c |
| @@ -1235,10 +1244,11 @@ | ||
| 1235 | 1244 | encode_.c:encode.h \ |
| 1236 | 1245 | event_.c:event.h \ |
| 1237 | 1246 | export_.c:export.h \ |
| 1238 | 1247 | file_.c:file.h \ |
| 1239 | 1248 | finfo_.c:finfo.h \ |
| 1249 | + fusefs_.c:fusefs.h \ | |
| 1240 | 1250 | glob_.c:glob.h \ |
| 1241 | 1251 | graph_.c:graph.h \ |
| 1242 | 1252 | gzip_.c:gzip.h \ |
| 1243 | 1253 | http_.c:http.h \ |
| 1244 | 1254 | http_socket_.c:http_socket.h \ |
| 1245 | 1255 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -136,10 +136,11 @@ | |
| 136 | encode_.c \ |
| 137 | event_.c \ |
| 138 | export_.c \ |
| 139 | file_.c \ |
| 140 | finfo_.c \ |
| 141 | glob_.c \ |
| 142 | graph_.c \ |
| 143 | gzip_.c \ |
| 144 | http_.c \ |
| 145 | http_socket_.c \ |
| @@ -248,10 +249,11 @@ | |
| 248 | $(OX)\encode$O \ |
| 249 | $(OX)\event$O \ |
| 250 | $(OX)\export$O \ |
| 251 | $(OX)\file$O \ |
| 252 | $(OX)\finfo$O \ |
| 253 | $(OX)\glob$O \ |
| 254 | $(OX)\graph$O \ |
| 255 | $(OX)\gzip$O \ |
| 256 | $(OX)\http$O \ |
| 257 | $(OX)\http_socket$O \ |
| @@ -381,10 +383,11 @@ | |
| 381 | echo $(OX)\encode.obj >> $@ |
| 382 | echo $(OX)\event.obj >> $@ |
| 383 | echo $(OX)\export.obj >> $@ |
| 384 | echo $(OX)\file.obj >> $@ |
| 385 | echo $(OX)\finfo.obj >> $@ |
| 386 | echo $(OX)\glob.obj >> $@ |
| 387 | echo $(OX)\graph.obj >> $@ |
| 388 | echo $(OX)\gzip.obj >> $@ |
| 389 | echo $(OX)\http.obj >> $@ |
| 390 | echo $(OX)\http_socket.obj >> $@ |
| @@ -720,10 +723,16 @@ | |
| 720 | $(OX)\finfo$O : finfo_.c finfo.h |
| 721 | $(TCC) /Fo$@ -c finfo_.c |
| 722 | |
| 723 | finfo_.c : $(SRCDIR)\finfo.c |
| 724 | translate$E $** > $@ |
| 725 | |
| 726 | $(OX)\glob$O : glob_.c glob.h |
| 727 | $(TCC) /Fo$@ -c glob_.c |
| 728 | |
| 729 | glob_.c : $(SRCDIR)\glob.c |
| @@ -1235,10 +1244,11 @@ | |
| 1235 | encode_.c:encode.h \ |
| 1236 | event_.c:event.h \ |
| 1237 | export_.c:export.h \ |
| 1238 | file_.c:file.h \ |
| 1239 | finfo_.c:finfo.h \ |
| 1240 | glob_.c:glob.h \ |
| 1241 | graph_.c:graph.h \ |
| 1242 | gzip_.c:gzip.h \ |
| 1243 | http_.c:http.h \ |
| 1244 | http_socket_.c:http_socket.h \ |
| 1245 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -136,10 +136,11 @@ | |
| 136 | encode_.c \ |
| 137 | event_.c \ |
| 138 | export_.c \ |
| 139 | file_.c \ |
| 140 | finfo_.c \ |
| 141 | fusefs_.c \ |
| 142 | glob_.c \ |
| 143 | graph_.c \ |
| 144 | gzip_.c \ |
| 145 | http_.c \ |
| 146 | http_socket_.c \ |
| @@ -248,10 +249,11 @@ | |
| 249 | $(OX)\encode$O \ |
| 250 | $(OX)\event$O \ |
| 251 | $(OX)\export$O \ |
| 252 | $(OX)\file$O \ |
| 253 | $(OX)\finfo$O \ |
| 254 | $(OX)\fusefs$O \ |
| 255 | $(OX)\glob$O \ |
| 256 | $(OX)\graph$O \ |
| 257 | $(OX)\gzip$O \ |
| 258 | $(OX)\http$O \ |
| 259 | $(OX)\http_socket$O \ |
| @@ -381,10 +383,11 @@ | |
| 383 | echo $(OX)\encode.obj >> $@ |
| 384 | echo $(OX)\event.obj >> $@ |
| 385 | echo $(OX)\export.obj >> $@ |
| 386 | echo $(OX)\file.obj >> $@ |
| 387 | echo $(OX)\finfo.obj >> $@ |
| 388 | echo $(OX)\fusefs.obj >> $@ |
| 389 | echo $(OX)\glob.obj >> $@ |
| 390 | echo $(OX)\graph.obj >> $@ |
| 391 | echo $(OX)\gzip.obj >> $@ |
| 392 | echo $(OX)\http.obj >> $@ |
| 393 | echo $(OX)\http_socket.obj >> $@ |
| @@ -720,10 +723,16 @@ | |
| 723 | $(OX)\finfo$O : finfo_.c finfo.h |
| 724 | $(TCC) /Fo$@ -c finfo_.c |
| 725 | |
| 726 | finfo_.c : $(SRCDIR)\finfo.c |
| 727 | translate$E $** > $@ |
| 728 | |
| 729 | $(OX)\fusefs$O : fusefs_.c fusefs.h |
| 730 | $(TCC) /Fo$@ -c fusefs_.c |
| 731 | |
| 732 | fusefs_.c : $(SRCDIR)\fusefs.c |
| 733 | translate$E $** > $@ |
| 734 | |
| 735 | $(OX)\glob$O : glob_.c glob.h |
| 736 | $(TCC) /Fo$@ -c glob_.c |
| 737 | |
| 738 | glob_.c : $(SRCDIR)\glob.c |
| @@ -1235,10 +1244,11 @@ | |
| 1244 | encode_.c:encode.h \ |
| 1245 | event_.c:event.h \ |
| 1246 | export_.c:export.h \ |
| 1247 | file_.c:file.h \ |
| 1248 | finfo_.c:finfo.h \ |
| 1249 | fusefs_.c:fusefs.h \ |
| 1250 | glob_.c:glob.h \ |
| 1251 | graph_.c:graph.h \ |
| 1252 | gzip_.c:gzip.h \ |
| 1253 | http_.c:http.h \ |
| 1254 | http_socket_.c:http_socket.h \ |
| 1255 |