Fossil SCM
Add the ability to restrict CPU-intensive web pages when the server load average gets too high. This feature is turned off by default.
Commit
5e26a1b9b297c83c1eecb8e637351c175e31a745
Parent
840b762206b3ebe…
11 files changed
+1
+3
+11
-1
+1
+13
-1
+1
+1
+1
+10
-4
+12
+10
+1
| --- src/diff.c | ||
| +++ src/diff.c | ||
| @@ -2203,10 +2203,11 @@ | ||
| 2203 | 2203 | /* Gather query parameters */ |
| 2204 | 2204 | showLog = atoi(PD("log","1")); |
| 2205 | 2205 | login_check_credentials(); |
| 2206 | 2206 | if( !g.perm.Read ){ login_needed(); return; } |
| 2207 | 2207 | if( exclude_spiders("annotate") ) return; |
| 2208 | + load_control(); | |
| 2208 | 2209 | mid = name_to_typed_rid(PD("checkin","0"),"ci"); |
| 2209 | 2210 | zFilename = P("filename"); |
| 2210 | 2211 | fnid = db_int(0, "SELECT fnid FROM filename WHERE name=%Q", zFilename); |
| 2211 | 2212 | if( mid==0 || fnid==0 ){ fossil_redirect_home(); } |
| 2212 | 2213 | iLimit = atoi(PD("limit","20")); |
| 2213 | 2214 | |
| 2214 | 2215 | ADDED src/loadctrl.c |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -2203,10 +2203,11 @@ | |
| 2203 | /* Gather query parameters */ |
| 2204 | showLog = atoi(PD("log","1")); |
| 2205 | login_check_credentials(); |
| 2206 | if( !g.perm.Read ){ login_needed(); return; } |
| 2207 | if( exclude_spiders("annotate") ) return; |
| 2208 | mid = name_to_typed_rid(PD("checkin","0"),"ci"); |
| 2209 | zFilename = P("filename"); |
| 2210 | fnid = db_int(0, "SELECT fnid FROM filename WHERE name=%Q", zFilename); |
| 2211 | if( mid==0 || fnid==0 ){ fossil_redirect_home(); } |
| 2212 | iLimit = atoi(PD("limit","20")); |
| 2213 | |
| 2214 | DDED src/loadctrl.c |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -2203,10 +2203,11 @@ | |
| 2203 | /* Gather query parameters */ |
| 2204 | showLog = atoi(PD("log","1")); |
| 2205 | login_check_credentials(); |
| 2206 | if( !g.perm.Read ){ login_needed(); return; } |
| 2207 | if( exclude_spiders("annotate") ) return; |
| 2208 | load_control(); |
| 2209 | mid = name_to_typed_rid(PD("checkin","0"),"ci"); |
| 2210 | zFilename = P("filename"); |
| 2211 | fnid = db_int(0, "SELECT fnid FROM filename WHERE name=%Q", zFilename); |
| 2212 | if( mid==0 || fnid==0 ){ fossil_redirect_home(); } |
| 2213 | iLimit = atoi(PD("limit","20")); |
| 2214 | |
| 2215 | DDED src/loadctrl.c |
+3
| --- a/src/loadctrl.c | ||
| +++ b/src/loadctrl.c | ||
| @@ -0,0 +1,3 @@ | ||
| 1 | +header(test_loadavgooter(loadavg_test"0" def _WIN32 | |
| 2 | + return 0.0; | |
| 3 | +#elif header(test_loadap |
| --- a/src/loadctrl.c | |
| +++ b/src/loadctrl.c | |
| @@ -0,0 +1,3 @@ | |
| --- a/src/loadctrl.c | |
| +++ b/src/loadctrl.c | |
| @@ -0,0 +1,3 @@ | |
| 1 | header(test_loadavgooter(loadavg_test"0" def _WIN32 |
| 2 | return 0.0; |
| 3 | #elif header(test_loadap |
+11
-1
| --- src/main.mk | ||
| +++ src/main.mk | ||
| @@ -66,10 +66,11 @@ | ||
| 66 | 66 | $(SRCDIR)/json_tag.c \ |
| 67 | 67 | $(SRCDIR)/json_timeline.c \ |
| 68 | 68 | $(SRCDIR)/json_user.c \ |
| 69 | 69 | $(SRCDIR)/json_wiki.c \ |
| 70 | 70 | $(SRCDIR)/leaf.c \ |
| 71 | + $(SRCDIR)/loadctrl.c \ | |
| 71 | 72 | $(SRCDIR)/login.c \ |
| 72 | 73 | $(SRCDIR)/lookslike.c \ |
| 73 | 74 | $(SRCDIR)/main.c \ |
| 74 | 75 | $(SRCDIR)/manifest.c \ |
| 75 | 76 | $(SRCDIR)/markdown.c \ |
| @@ -176,10 +177,11 @@ | ||
| 176 | 177 | $(OBJDIR)/json_tag_.c \ |
| 177 | 178 | $(OBJDIR)/json_timeline_.c \ |
| 178 | 179 | $(OBJDIR)/json_user_.c \ |
| 179 | 180 | $(OBJDIR)/json_wiki_.c \ |
| 180 | 181 | $(OBJDIR)/leaf_.c \ |
| 182 | + $(OBJDIR)/loadctrl_.c \ | |
| 181 | 183 | $(OBJDIR)/login_.c \ |
| 182 | 184 | $(OBJDIR)/lookslike_.c \ |
| 183 | 185 | $(OBJDIR)/main_.c \ |
| 184 | 186 | $(OBJDIR)/manifest_.c \ |
| 185 | 187 | $(OBJDIR)/markdown_.c \ |
| @@ -286,10 +288,11 @@ | ||
| 286 | 288 | $(OBJDIR)/json_tag.o \ |
| 287 | 289 | $(OBJDIR)/json_timeline.o \ |
| 288 | 290 | $(OBJDIR)/json_user.o \ |
| 289 | 291 | $(OBJDIR)/json_wiki.o \ |
| 290 | 292 | $(OBJDIR)/leaf.o \ |
| 293 | + $(OBJDIR)/loadctrl.o \ | |
| 291 | 294 | $(OBJDIR)/login.o \ |
| 292 | 295 | $(OBJDIR)/lookslike.o \ |
| 293 | 296 | $(OBJDIR)/main.o \ |
| 294 | 297 | $(OBJDIR)/manifest.o \ |
| 295 | 298 | $(OBJDIR)/markdown.o \ |
| @@ -422,11 +425,11 @@ | ||
| 422 | 425 | |
| 423 | 426 | |
| 424 | 427 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 425 | 428 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 426 | 429 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 427 | - $(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)/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)/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 | + $(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)/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 | |
| 428 | 431 | touch $(OBJDIR)/headers |
| 429 | 432 | $(OBJDIR)/headers: Makefile |
| 430 | 433 | $(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 |
| 431 | 434 | Makefile: |
| 432 | 435 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -805,10 +808,17 @@ | ||
| 805 | 808 | |
| 806 | 809 | $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h |
| 807 | 810 | $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c |
| 808 | 811 | |
| 809 | 812 | $(OBJDIR)/leaf.h: $(OBJDIR)/headers |
| 813 | +$(OBJDIR)/loadctrl_.c: $(SRCDIR)/loadctrl.c $(OBJDIR)/translate | |
| 814 | + $(OBJDIR)/translate $(SRCDIR)/loadctrl.c >$(OBJDIR)/loadctrl_.c | |
| 815 | + | |
| 816 | +$(OBJDIR)/loadctrl.o: $(OBJDIR)/loadctrl_.c $(OBJDIR)/loadctrl.h $(SRCDIR)/config.h | |
| 817 | + $(XTCC) -o $(OBJDIR)/loadctrl.o -c $(OBJDIR)/loadctrl_.c | |
| 818 | + | |
| 819 | +$(OBJDIR)/loadctrl.h: $(OBJDIR)/headers | |
| 810 | 820 | $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate |
| 811 | 821 | $(OBJDIR)/translate $(SRCDIR)/login.c >$(OBJDIR)/login_.c |
| 812 | 822 | |
| 813 | 823 | $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h |
| 814 | 824 | $(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c |
| 815 | 825 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -66,10 +66,11 @@ | |
| 66 | $(SRCDIR)/json_tag.c \ |
| 67 | $(SRCDIR)/json_timeline.c \ |
| 68 | $(SRCDIR)/json_user.c \ |
| 69 | $(SRCDIR)/json_wiki.c \ |
| 70 | $(SRCDIR)/leaf.c \ |
| 71 | $(SRCDIR)/login.c \ |
| 72 | $(SRCDIR)/lookslike.c \ |
| 73 | $(SRCDIR)/main.c \ |
| 74 | $(SRCDIR)/manifest.c \ |
| 75 | $(SRCDIR)/markdown.c \ |
| @@ -176,10 +177,11 @@ | |
| 176 | $(OBJDIR)/json_tag_.c \ |
| 177 | $(OBJDIR)/json_timeline_.c \ |
| 178 | $(OBJDIR)/json_user_.c \ |
| 179 | $(OBJDIR)/json_wiki_.c \ |
| 180 | $(OBJDIR)/leaf_.c \ |
| 181 | $(OBJDIR)/login_.c \ |
| 182 | $(OBJDIR)/lookslike_.c \ |
| 183 | $(OBJDIR)/main_.c \ |
| 184 | $(OBJDIR)/manifest_.c \ |
| 185 | $(OBJDIR)/markdown_.c \ |
| @@ -286,10 +288,11 @@ | |
| 286 | $(OBJDIR)/json_tag.o \ |
| 287 | $(OBJDIR)/json_timeline.o \ |
| 288 | $(OBJDIR)/json_user.o \ |
| 289 | $(OBJDIR)/json_wiki.o \ |
| 290 | $(OBJDIR)/leaf.o \ |
| 291 | $(OBJDIR)/login.o \ |
| 292 | $(OBJDIR)/lookslike.o \ |
| 293 | $(OBJDIR)/main.o \ |
| 294 | $(OBJDIR)/manifest.o \ |
| 295 | $(OBJDIR)/markdown.o \ |
| @@ -422,11 +425,11 @@ | |
| 422 | |
| 423 | |
| 424 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 425 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 426 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 427 | $(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)/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)/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 |
| 428 | touch $(OBJDIR)/headers |
| 429 | $(OBJDIR)/headers: Makefile |
| 430 | $(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 |
| 431 | Makefile: |
| 432 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -805,10 +808,17 @@ | |
| 805 | |
| 806 | $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h |
| 807 | $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c |
| 808 | |
| 809 | $(OBJDIR)/leaf.h: $(OBJDIR)/headers |
| 810 | $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate |
| 811 | $(OBJDIR)/translate $(SRCDIR)/login.c >$(OBJDIR)/login_.c |
| 812 | |
| 813 | $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h |
| 814 | $(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c |
| 815 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -66,10 +66,11 @@ | |
| 66 | $(SRCDIR)/json_tag.c \ |
| 67 | $(SRCDIR)/json_timeline.c \ |
| 68 | $(SRCDIR)/json_user.c \ |
| 69 | $(SRCDIR)/json_wiki.c \ |
| 70 | $(SRCDIR)/leaf.c \ |
| 71 | $(SRCDIR)/loadctrl.c \ |
| 72 | $(SRCDIR)/login.c \ |
| 73 | $(SRCDIR)/lookslike.c \ |
| 74 | $(SRCDIR)/main.c \ |
| 75 | $(SRCDIR)/manifest.c \ |
| 76 | $(SRCDIR)/markdown.c \ |
| @@ -176,10 +177,11 @@ | |
| 177 | $(OBJDIR)/json_tag_.c \ |
| 178 | $(OBJDIR)/json_timeline_.c \ |
| 179 | $(OBJDIR)/json_user_.c \ |
| 180 | $(OBJDIR)/json_wiki_.c \ |
| 181 | $(OBJDIR)/leaf_.c \ |
| 182 | $(OBJDIR)/loadctrl_.c \ |
| 183 | $(OBJDIR)/login_.c \ |
| 184 | $(OBJDIR)/lookslike_.c \ |
| 185 | $(OBJDIR)/main_.c \ |
| 186 | $(OBJDIR)/manifest_.c \ |
| 187 | $(OBJDIR)/markdown_.c \ |
| @@ -286,10 +288,11 @@ | |
| 288 | $(OBJDIR)/json_tag.o \ |
| 289 | $(OBJDIR)/json_timeline.o \ |
| 290 | $(OBJDIR)/json_user.o \ |
| 291 | $(OBJDIR)/json_wiki.o \ |
| 292 | $(OBJDIR)/leaf.o \ |
| 293 | $(OBJDIR)/loadctrl.o \ |
| 294 | $(OBJDIR)/login.o \ |
| 295 | $(OBJDIR)/lookslike.o \ |
| 296 | $(OBJDIR)/main.o \ |
| 297 | $(OBJDIR)/manifest.o \ |
| 298 | $(OBJDIR)/markdown.o \ |
| @@ -422,11 +425,11 @@ | |
| 425 | |
| 426 | |
| 427 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 428 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 429 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 430 | $(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)/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 |
| 431 | touch $(OBJDIR)/headers |
| 432 | $(OBJDIR)/headers: Makefile |
| 433 | $(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 |
| 434 | Makefile: |
| 435 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -805,10 +808,17 @@ | |
| 808 | |
| 809 | $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h |
| 810 | $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c |
| 811 | |
| 812 | $(OBJDIR)/leaf.h: $(OBJDIR)/headers |
| 813 | $(OBJDIR)/loadctrl_.c: $(SRCDIR)/loadctrl.c $(OBJDIR)/translate |
| 814 | $(OBJDIR)/translate $(SRCDIR)/loadctrl.c >$(OBJDIR)/loadctrl_.c |
| 815 | |
| 816 | $(OBJDIR)/loadctrl.o: $(OBJDIR)/loadctrl_.c $(OBJDIR)/loadctrl.h $(SRCDIR)/config.h |
| 817 | $(XTCC) -o $(OBJDIR)/loadctrl.o -c $(OBJDIR)/loadctrl_.c |
| 818 | |
| 819 | $(OBJDIR)/loadctrl.h: $(OBJDIR)/headers |
| 820 | $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate |
| 821 | $(OBJDIR)/translate $(SRCDIR)/login.c >$(OBJDIR)/login_.c |
| 822 | |
| 823 | $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h |
| 824 | $(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c |
| 825 |
+1
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -69,10 +69,11 @@ | ||
| 69 | 69 | json_tag |
| 70 | 70 | json_timeline |
| 71 | 71 | json_user |
| 72 | 72 | json_wiki |
| 73 | 73 | leaf |
| 74 | + loadctrl | |
| 74 | 75 | login |
| 75 | 76 | lookslike |
| 76 | 77 | main |
| 77 | 78 | manifest |
| 78 | 79 | markdown |
| 79 | 80 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -69,10 +69,11 @@ | |
| 69 | json_tag |
| 70 | json_timeline |
| 71 | json_user |
| 72 | json_wiki |
| 73 | leaf |
| 74 | login |
| 75 | lookslike |
| 76 | main |
| 77 | manifest |
| 78 | markdown |
| 79 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -69,10 +69,11 @@ | |
| 69 | json_tag |
| 70 | json_timeline |
| 71 | json_user |
| 72 | json_wiki |
| 73 | leaf |
| 74 | loadctrl |
| 75 | login |
| 76 | lookslike |
| 77 | main |
| 78 | manifest |
| 79 | markdown |
| 80 |
+13
-1
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -962,10 +962,21 @@ | ||
| 962 | 962 | @ <p>Fossil tries to spend less than this many seconds gathering |
| 963 | 963 | @ the out-bound data of sync, clone, and pull packets. |
| 964 | 964 | @ If the client request takes longer, a partial reply is given similar |
| 965 | 965 | @ to the download packet limit. 30s is a reasonable default.</p> |
| 966 | 966 | |
| 967 | + @ <hr /> | |
| 968 | + entry_attribute("Server Load Average Limit", 11, "max-loadavg", "mxldavg", | |
| 969 | + "0.0", 0); | |
| 970 | + @ <p>Some expensive operations (such as computing tarballs, zip archives, | |
| 971 | + @ or annotation/blame pages) are prohibited if the load average on the host | |
| 972 | + @ computer is too large. Set the threshold for disallowing expensive | |
| 973 | + @ computations here. Set this to 0.0 to disable the load average limit. | |
| 974 | + @ This limit is only enforced on Unix servers. On Linux systems, | |
| 975 | + @ access to the /proc virtual filesystem is required, which means this limit | |
| 976 | + @ might not work inside a chroot() jail.</p> | |
| 977 | + | |
| 967 | 978 | @ <hr /> |
| 968 | 979 | onoff_attribute( |
| 969 | 980 | "Enable hyperlinks for \"nobody\" based on User-Agent and Javascript", |
| 970 | 981 | "auto-hyperlink", "autohyperlink", 1, 0); |
| 971 | 982 | @ <p>Enable hyperlinks (the equivalent of the "h" permission) for all users |
| @@ -973,11 +984,12 @@ | ||
| 973 | 984 | @ HTTP header indicates that the request is coming from an actual human |
| 974 | 985 | @ being and not a a robot or spider and (2) the user agent is able to |
| 975 | 986 | @ run Javascript in order to set the href= attribute of hyperlinks. Bots |
| 976 | 987 | @ and spiders can forge a User-Agent string that makes them seem to be a |
| 977 | 988 | @ normal browser and they can run javascript just like browsers. But most |
| 978 | - @ bots do not go to that much trouble so this is normally an effective defense.</p> | |
| 989 | + @ bots do not go to that much trouble so this is normally an effective | |
| 990 | + @ defense.</p> | |
| 979 | 991 | @ |
| 980 | 992 | @ <p>You do not normally want a bot to walk your entire repository because |
| 981 | 993 | @ if it does, your server will end up computing diffs and annotations for |
| 982 | 994 | @ every historical version of every file and creating ZIPs and tarballs of |
| 983 | 995 | @ every historical check-in, which can use a lot of CPU and bandwidth |
| 984 | 996 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -962,10 +962,21 @@ | |
| 962 | @ <p>Fossil tries to spend less than this many seconds gathering |
| 963 | @ the out-bound data of sync, clone, and pull packets. |
| 964 | @ If the client request takes longer, a partial reply is given similar |
| 965 | @ to the download packet limit. 30s is a reasonable default.</p> |
| 966 | |
| 967 | @ <hr /> |
| 968 | onoff_attribute( |
| 969 | "Enable hyperlinks for \"nobody\" based on User-Agent and Javascript", |
| 970 | "auto-hyperlink", "autohyperlink", 1, 0); |
| 971 | @ <p>Enable hyperlinks (the equivalent of the "h" permission) for all users |
| @@ -973,11 +984,12 @@ | |
| 973 | @ HTTP header indicates that the request is coming from an actual human |
| 974 | @ being and not a a robot or spider and (2) the user agent is able to |
| 975 | @ run Javascript in order to set the href= attribute of hyperlinks. Bots |
| 976 | @ and spiders can forge a User-Agent string that makes them seem to be a |
| 977 | @ normal browser and they can run javascript just like browsers. But most |
| 978 | @ bots do not go to that much trouble so this is normally an effective defense.</p> |
| 979 | @ |
| 980 | @ <p>You do not normally want a bot to walk your entire repository because |
| 981 | @ if it does, your server will end up computing diffs and annotations for |
| 982 | @ every historical version of every file and creating ZIPs and tarballs of |
| 983 | @ every historical check-in, which can use a lot of CPU and bandwidth |
| 984 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -962,10 +962,21 @@ | |
| 962 | @ <p>Fossil tries to spend less than this many seconds gathering |
| 963 | @ the out-bound data of sync, clone, and pull packets. |
| 964 | @ If the client request takes longer, a partial reply is given similar |
| 965 | @ to the download packet limit. 30s is a reasonable default.</p> |
| 966 | |
| 967 | @ <hr /> |
| 968 | entry_attribute("Server Load Average Limit", 11, "max-loadavg", "mxldavg", |
| 969 | "0.0", 0); |
| 970 | @ <p>Some expensive operations (such as computing tarballs, zip archives, |
| 971 | @ or annotation/blame pages) are prohibited if the load average on the host |
| 972 | @ computer is too large. Set the threshold for disallowing expensive |
| 973 | @ computations here. Set this to 0.0 to disable the load average limit. |
| 974 | @ This limit is only enforced on Unix servers. On Linux systems, |
| 975 | @ access to the /proc virtual filesystem is required, which means this limit |
| 976 | @ might not work inside a chroot() jail.</p> |
| 977 | |
| 978 | @ <hr /> |
| 979 | onoff_attribute( |
| 980 | "Enable hyperlinks for \"nobody\" based on User-Agent and Javascript", |
| 981 | "auto-hyperlink", "autohyperlink", 1, 0); |
| 982 | @ <p>Enable hyperlinks (the equivalent of the "h" permission) for all users |
| @@ -973,11 +984,12 @@ | |
| 984 | @ HTTP header indicates that the request is coming from an actual human |
| 985 | @ being and not a a robot or spider and (2) the user agent is able to |
| 986 | @ run Javascript in order to set the href= attribute of hyperlinks. Bots |
| 987 | @ and spiders can forge a User-Agent string that makes them seem to be a |
| 988 | @ normal browser and they can run javascript just like browsers. But most |
| 989 | @ bots do not go to that much trouble so this is normally an effective |
| 990 | @ defense.</p> |
| 991 | @ |
| 992 | @ <p>You do not normally want a bot to walk your entire repository because |
| 993 | @ if it does, your server will end up computing diffs and annotations for |
| 994 | @ every historical version of every file and creating ZIPs and tarballs of |
| 995 | @ every historical check-in, which can use a lot of CPU and bandwidth |
| 996 |
+1
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -1300,10 +1300,11 @@ | ||
| 1300 | 1300 | zCap[i] = 0; |
| 1301 | 1301 | @ g.userUid = %d(g.userUid)<br /> |
| 1302 | 1302 | @ g.zLogin = %h(g.zLogin)<br /> |
| 1303 | 1303 | @ g.isHuman = %d(g.isHuman)<br /> |
| 1304 | 1304 | @ capabilities = %s(zCap)<br /> |
| 1305 | + @ host-load-avg = %f(load_average())<br /> | |
| 1305 | 1306 | @ <hr> |
| 1306 | 1307 | P("HTTP_USER_AGENT"); |
| 1307 | 1308 | cgi_print_all(showAll); |
| 1308 | 1309 | if( showAll && blob_size(&g.httpHeader)>0 ){ |
| 1309 | 1310 | @ <hr> |
| 1310 | 1311 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -1300,10 +1300,11 @@ | |
| 1300 | zCap[i] = 0; |
| 1301 | @ g.userUid = %d(g.userUid)<br /> |
| 1302 | @ g.zLogin = %h(g.zLogin)<br /> |
| 1303 | @ g.isHuman = %d(g.isHuman)<br /> |
| 1304 | @ capabilities = %s(zCap)<br /> |
| 1305 | @ <hr> |
| 1306 | P("HTTP_USER_AGENT"); |
| 1307 | cgi_print_all(showAll); |
| 1308 | if( showAll && blob_size(&g.httpHeader)>0 ){ |
| 1309 | @ <hr> |
| 1310 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -1300,10 +1300,11 @@ | |
| 1300 | zCap[i] = 0; |
| 1301 | @ g.userUid = %d(g.userUid)<br /> |
| 1302 | @ g.zLogin = %h(g.zLogin)<br /> |
| 1303 | @ g.isHuman = %d(g.isHuman)<br /> |
| 1304 | @ capabilities = %s(zCap)<br /> |
| 1305 | @ host-load-avg = %f(load_average())<br /> |
| 1306 | @ <hr> |
| 1307 | P("HTTP_USER_AGENT"); |
| 1308 | cgi_print_all(showAll); |
| 1309 | if( showAll && blob_size(&g.httpHeader)>0 ){ |
| 1310 | @ <hr> |
| 1311 |
+1
| --- src/tar.c | ||
| +++ src/tar.c | ||
| @@ -580,10 +580,11 @@ | ||
| 580 | 580 | int nName, nRid; |
| 581 | 581 | Blob tarball; |
| 582 | 582 | |
| 583 | 583 | login_check_credentials(); |
| 584 | 584 | if( !g.perm.Zip ){ login_needed(); return; } |
| 585 | + load_control(); | |
| 585 | 586 | zName = mprintf("%s", PD("name","")); |
| 586 | 587 | nName = strlen(zName); |
| 587 | 588 | zRid = mprintf("%s", PD("uuid","trunk")); |
| 588 | 589 | nRid = strlen(zRid); |
| 589 | 590 | if( nName>7 && fossil_strcmp(&zName[nName-7], ".tar.gz")==0 ){ |
| 590 | 591 |
| --- src/tar.c | |
| +++ src/tar.c | |
| @@ -580,10 +580,11 @@ | |
| 580 | int nName, nRid; |
| 581 | Blob tarball; |
| 582 | |
| 583 | login_check_credentials(); |
| 584 | if( !g.perm.Zip ){ login_needed(); return; } |
| 585 | zName = mprintf("%s", PD("name","")); |
| 586 | nName = strlen(zName); |
| 587 | zRid = mprintf("%s", PD("uuid","trunk")); |
| 588 | nRid = strlen(zRid); |
| 589 | if( nName>7 && fossil_strcmp(&zName[nName-7], ".tar.gz")==0 ){ |
| 590 |
| --- src/tar.c | |
| +++ src/tar.c | |
| @@ -580,10 +580,11 @@ | |
| 580 | int nName, nRid; |
| 581 | Blob tarball; |
| 582 | |
| 583 | login_check_credentials(); |
| 584 | if( !g.perm.Zip ){ login_needed(); return; } |
| 585 | load_control(); |
| 586 | zName = mprintf("%s", PD("name","")); |
| 587 | nName = strlen(zName); |
| 588 | zRid = mprintf("%s", PD("uuid","trunk")); |
| 589 | nRid = strlen(zRid); |
| 590 | if( nName>7 && fossil_strcmp(&zName[nName-7], ".tar.gz")==0 ){ |
| 591 |
+1
| --- src/zip.c | ||
| +++ src/zip.c | ||
| @@ -427,10 +427,11 @@ | ||
| 427 | 427 | int nName, nRid; |
| 428 | 428 | Blob zip; |
| 429 | 429 | |
| 430 | 430 | login_check_credentials(); |
| 431 | 431 | if( !g.perm.Zip ){ login_needed(); return; } |
| 432 | + load_control(); | |
| 432 | 433 | zName = mprintf("%s", PD("name","")); |
| 433 | 434 | nName = strlen(zName); |
| 434 | 435 | zRid = mprintf("%s", PD("uuid","trunk")); |
| 435 | 436 | nRid = strlen(zRid); |
| 436 | 437 | for(nName=strlen(zName)-1; nName>5; nName--){ |
| 437 | 438 |
| --- src/zip.c | |
| +++ src/zip.c | |
| @@ -427,10 +427,11 @@ | |
| 427 | int nName, nRid; |
| 428 | Blob zip; |
| 429 | |
| 430 | login_check_credentials(); |
| 431 | if( !g.perm.Zip ){ login_needed(); return; } |
| 432 | zName = mprintf("%s", PD("name","")); |
| 433 | nName = strlen(zName); |
| 434 | zRid = mprintf("%s", PD("uuid","trunk")); |
| 435 | nRid = strlen(zRid); |
| 436 | for(nName=strlen(zName)-1; nName>5; nName--){ |
| 437 |
| --- src/zip.c | |
| +++ src/zip.c | |
| @@ -427,10 +427,11 @@ | |
| 427 | int nName, nRid; |
| 428 | Blob zip; |
| 429 | |
| 430 | login_check_credentials(); |
| 431 | if( !g.perm.Zip ){ login_needed(); return; } |
| 432 | load_control(); |
| 433 | zName = mprintf("%s", PD("name","")); |
| 434 | nName = strlen(zName); |
| 435 | zRid = mprintf("%s", PD("uuid","trunk")); |
| 436 | nRid = strlen(zRid); |
| 437 | for(nName=strlen(zName)-1; nName>5; nName--){ |
| 438 |
+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=win32_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 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 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 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 | 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)\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)\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)\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 | 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 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 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 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 | 54 | +echo fossil >> $@ |
| 55 | 55 | +echo fossil >> $@ |
| 56 | 56 | +echo $(LIBS) >> $@ |
| 57 | 57 | +echo. >> $@ |
| 58 | 58 | +echo fossil >> $@ |
| @@ -436,10 +436,16 @@ | ||
| 436 | 436 | $(OBJDIR)\leaf$O : leaf_.c leaf.h |
| 437 | 437 | $(TCC) -o$@ -c leaf_.c |
| 438 | 438 | |
| 439 | 439 | leaf_.c : $(SRCDIR)\leaf.c |
| 440 | 440 | +translate$E $** > $@ |
| 441 | + | |
| 442 | +$(OBJDIR)\loadctrl$O : loadctrl_.c loadctrl.h | |
| 443 | + $(TCC) -o$@ -c loadctrl_.c | |
| 444 | + | |
| 445 | +loadctrl_.c : $(SRCDIR)\loadctrl.c | |
| 446 | + +translate$E $** > $@ | |
| 441 | 447 | |
| 442 | 448 | $(OBJDIR)\login$O : login_.c login.h |
| 443 | 449 | $(TCC) -o$@ -c login_.c |
| 444 | 450 | |
| 445 | 451 | login_.c : $(SRCDIR)\login.c |
| @@ -762,7 +768,7 @@ | ||
| 762 | 768 | |
| 763 | 769 | zip_.c : $(SRCDIR)\zip.c |
| 764 | 770 | +translate$E $** > $@ |
| 765 | 771 | |
| 766 | 772 | headers: makeheaders$E page_index.h VERSION.h |
| 767 | - +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 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 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 | |
| 773 | + +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 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 | |
| 768 | 774 | @copy /Y nul: headers |
| 769 | 775 |
| --- 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=win32_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 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 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)\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)\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 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 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 >> $@ |
| @@ -436,10 +436,16 @@ | |
| 436 | $(OBJDIR)\leaf$O : leaf_.c leaf.h |
| 437 | $(TCC) -o$@ -c leaf_.c |
| 438 | |
| 439 | leaf_.c : $(SRCDIR)\leaf.c |
| 440 | +translate$E $** > $@ |
| 441 | |
| 442 | $(OBJDIR)\login$O : login_.c login.h |
| 443 | $(TCC) -o$@ -c login_.c |
| 444 | |
| 445 | login_.c : $(SRCDIR)\login.c |
| @@ -762,7 +768,7 @@ | |
| 762 | |
| 763 | zip_.c : $(SRCDIR)\zip.c |
| 764 | +translate$E $** > $@ |
| 765 | |
| 766 | headers: makeheaders$E page_index.h VERSION.h |
| 767 | +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 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 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 |
| 768 | @copy /Y nul: headers |
| 769 |
| --- 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=win32_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 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)\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 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 >> $@ |
| @@ -436,10 +436,16 @@ | |
| 436 | $(OBJDIR)\leaf$O : leaf_.c leaf.h |
| 437 | $(TCC) -o$@ -c leaf_.c |
| 438 | |
| 439 | leaf_.c : $(SRCDIR)\leaf.c |
| 440 | +translate$E $** > $@ |
| 441 | |
| 442 | $(OBJDIR)\loadctrl$O : loadctrl_.c loadctrl.h |
| 443 | $(TCC) -o$@ -c loadctrl_.c |
| 444 | |
| 445 | loadctrl_.c : $(SRCDIR)\loadctrl.c |
| 446 | +translate$E $** > $@ |
| 447 | |
| 448 | $(OBJDIR)\login$O : login_.c login.h |
| 449 | $(TCC) -o$@ -c login_.c |
| 450 | |
| 451 | login_.c : $(SRCDIR)\login.c |
| @@ -762,7 +768,7 @@ | |
| 768 | |
| 769 | zip_.c : $(SRCDIR)\zip.c |
| 770 | +translate$E $** > $@ |
| 771 | |
| 772 | headers: makeheaders$E page_index.h VERSION.h |
| 773 | +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 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 |
| 774 | @copy /Y nul: headers |
| 775 |
+12
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -309,10 +309,11 @@ | ||
| 309 | 309 | $(SRCDIR)/json_tag.c \ |
| 310 | 310 | $(SRCDIR)/json_timeline.c \ |
| 311 | 311 | $(SRCDIR)/json_user.c \ |
| 312 | 312 | $(SRCDIR)/json_wiki.c \ |
| 313 | 313 | $(SRCDIR)/leaf.c \ |
| 314 | + $(SRCDIR)/loadctrl.c \ | |
| 314 | 315 | $(SRCDIR)/login.c \ |
| 315 | 316 | $(SRCDIR)/lookslike.c \ |
| 316 | 317 | $(SRCDIR)/main.c \ |
| 317 | 318 | $(SRCDIR)/manifest.c \ |
| 318 | 319 | $(SRCDIR)/markdown.c \ |
| @@ -419,10 +420,11 @@ | ||
| 419 | 420 | $(OBJDIR)/json_tag_.c \ |
| 420 | 421 | $(OBJDIR)/json_timeline_.c \ |
| 421 | 422 | $(OBJDIR)/json_user_.c \ |
| 422 | 423 | $(OBJDIR)/json_wiki_.c \ |
| 423 | 424 | $(OBJDIR)/leaf_.c \ |
| 425 | + $(OBJDIR)/loadctrl_.c \ | |
| 424 | 426 | $(OBJDIR)/login_.c \ |
| 425 | 427 | $(OBJDIR)/lookslike_.c \ |
| 426 | 428 | $(OBJDIR)/main_.c \ |
| 427 | 429 | $(OBJDIR)/manifest_.c \ |
| 428 | 430 | $(OBJDIR)/markdown_.c \ |
| @@ -529,10 +531,11 @@ | ||
| 529 | 531 | $(OBJDIR)/json_tag.o \ |
| 530 | 532 | $(OBJDIR)/json_timeline.o \ |
| 531 | 533 | $(OBJDIR)/json_user.o \ |
| 532 | 534 | $(OBJDIR)/json_wiki.o \ |
| 533 | 535 | $(OBJDIR)/leaf.o \ |
| 536 | + $(OBJDIR)/loadctrl.o \ | |
| 534 | 537 | $(OBJDIR)/login.o \ |
| 535 | 538 | $(OBJDIR)/lookslike.o \ |
| 536 | 539 | $(OBJDIR)/main.o \ |
| 537 | 540 | $(OBJDIR)/manifest.o \ |
| 538 | 541 | $(OBJDIR)/markdown.o \ |
| @@ -771,10 +774,11 @@ | ||
| 771 | 774 | $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h \ |
| 772 | 775 | $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h \ |
| 773 | 776 | $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h \ |
| 774 | 777 | $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h \ |
| 775 | 778 | $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h \ |
| 779 | + $(OBJDIR)/loadctrl_.c:$(OBJDIR)/loadctrl.h \ | |
| 776 | 780 | $(OBJDIR)/login_.c:$(OBJDIR)/login.h \ |
| 777 | 781 | $(OBJDIR)/lookslike_.c:$(OBJDIR)/lookslike.h \ |
| 778 | 782 | $(OBJDIR)/main_.c:$(OBJDIR)/main.h \ |
| 779 | 783 | $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h \ |
| 780 | 784 | $(OBJDIR)/markdown_.c:$(OBJDIR)/markdown.h \ |
| @@ -1265,10 +1269,18 @@ | ||
| 1265 | 1269 | |
| 1266 | 1270 | $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h |
| 1267 | 1271 | $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c |
| 1268 | 1272 | |
| 1269 | 1273 | $(OBJDIR)/leaf.h: $(OBJDIR)/headers |
| 1274 | + | |
| 1275 | +$(OBJDIR)/loadctrl_.c: $(SRCDIR)/loadctrl.c $(OBJDIR)/translate | |
| 1276 | + $(TRANSLATE) $(SRCDIR)/loadctrl.c >$(OBJDIR)/loadctrl_.c | |
| 1277 | + | |
| 1278 | +$(OBJDIR)/loadctrl.o: $(OBJDIR)/loadctrl_.c $(OBJDIR)/loadctrl.h $(SRCDIR)/config.h | |
| 1279 | + $(XTCC) -o $(OBJDIR)/loadctrl.o -c $(OBJDIR)/loadctrl_.c | |
| 1280 | + | |
| 1281 | +$(OBJDIR)/loadctrl.h: $(OBJDIR)/headers | |
| 1270 | 1282 | |
| 1271 | 1283 | $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate |
| 1272 | 1284 | $(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c |
| 1273 | 1285 | |
| 1274 | 1286 | $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h |
| 1275 | 1287 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -309,10 +309,11 @@ | |
| 309 | $(SRCDIR)/json_tag.c \ |
| 310 | $(SRCDIR)/json_timeline.c \ |
| 311 | $(SRCDIR)/json_user.c \ |
| 312 | $(SRCDIR)/json_wiki.c \ |
| 313 | $(SRCDIR)/leaf.c \ |
| 314 | $(SRCDIR)/login.c \ |
| 315 | $(SRCDIR)/lookslike.c \ |
| 316 | $(SRCDIR)/main.c \ |
| 317 | $(SRCDIR)/manifest.c \ |
| 318 | $(SRCDIR)/markdown.c \ |
| @@ -419,10 +420,11 @@ | |
| 419 | $(OBJDIR)/json_tag_.c \ |
| 420 | $(OBJDIR)/json_timeline_.c \ |
| 421 | $(OBJDIR)/json_user_.c \ |
| 422 | $(OBJDIR)/json_wiki_.c \ |
| 423 | $(OBJDIR)/leaf_.c \ |
| 424 | $(OBJDIR)/login_.c \ |
| 425 | $(OBJDIR)/lookslike_.c \ |
| 426 | $(OBJDIR)/main_.c \ |
| 427 | $(OBJDIR)/manifest_.c \ |
| 428 | $(OBJDIR)/markdown_.c \ |
| @@ -529,10 +531,11 @@ | |
| 529 | $(OBJDIR)/json_tag.o \ |
| 530 | $(OBJDIR)/json_timeline.o \ |
| 531 | $(OBJDIR)/json_user.o \ |
| 532 | $(OBJDIR)/json_wiki.o \ |
| 533 | $(OBJDIR)/leaf.o \ |
| 534 | $(OBJDIR)/login.o \ |
| 535 | $(OBJDIR)/lookslike.o \ |
| 536 | $(OBJDIR)/main.o \ |
| 537 | $(OBJDIR)/manifest.o \ |
| 538 | $(OBJDIR)/markdown.o \ |
| @@ -771,10 +774,11 @@ | |
| 771 | $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h \ |
| 772 | $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h \ |
| 773 | $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h \ |
| 774 | $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h \ |
| 775 | $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h \ |
| 776 | $(OBJDIR)/login_.c:$(OBJDIR)/login.h \ |
| 777 | $(OBJDIR)/lookslike_.c:$(OBJDIR)/lookslike.h \ |
| 778 | $(OBJDIR)/main_.c:$(OBJDIR)/main.h \ |
| 779 | $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h \ |
| 780 | $(OBJDIR)/markdown_.c:$(OBJDIR)/markdown.h \ |
| @@ -1265,10 +1269,18 @@ | |
| 1265 | |
| 1266 | $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h |
| 1267 | $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c |
| 1268 | |
| 1269 | $(OBJDIR)/leaf.h: $(OBJDIR)/headers |
| 1270 | |
| 1271 | $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate |
| 1272 | $(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c |
| 1273 | |
| 1274 | $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h |
| 1275 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -309,10 +309,11 @@ | |
| 309 | $(SRCDIR)/json_tag.c \ |
| 310 | $(SRCDIR)/json_timeline.c \ |
| 311 | $(SRCDIR)/json_user.c \ |
| 312 | $(SRCDIR)/json_wiki.c \ |
| 313 | $(SRCDIR)/leaf.c \ |
| 314 | $(SRCDIR)/loadctrl.c \ |
| 315 | $(SRCDIR)/login.c \ |
| 316 | $(SRCDIR)/lookslike.c \ |
| 317 | $(SRCDIR)/main.c \ |
| 318 | $(SRCDIR)/manifest.c \ |
| 319 | $(SRCDIR)/markdown.c \ |
| @@ -419,10 +420,11 @@ | |
| 420 | $(OBJDIR)/json_tag_.c \ |
| 421 | $(OBJDIR)/json_timeline_.c \ |
| 422 | $(OBJDIR)/json_user_.c \ |
| 423 | $(OBJDIR)/json_wiki_.c \ |
| 424 | $(OBJDIR)/leaf_.c \ |
| 425 | $(OBJDIR)/loadctrl_.c \ |
| 426 | $(OBJDIR)/login_.c \ |
| 427 | $(OBJDIR)/lookslike_.c \ |
| 428 | $(OBJDIR)/main_.c \ |
| 429 | $(OBJDIR)/manifest_.c \ |
| 430 | $(OBJDIR)/markdown_.c \ |
| @@ -529,10 +531,11 @@ | |
| 531 | $(OBJDIR)/json_tag.o \ |
| 532 | $(OBJDIR)/json_timeline.o \ |
| 533 | $(OBJDIR)/json_user.o \ |
| 534 | $(OBJDIR)/json_wiki.o \ |
| 535 | $(OBJDIR)/leaf.o \ |
| 536 | $(OBJDIR)/loadctrl.o \ |
| 537 | $(OBJDIR)/login.o \ |
| 538 | $(OBJDIR)/lookslike.o \ |
| 539 | $(OBJDIR)/main.o \ |
| 540 | $(OBJDIR)/manifest.o \ |
| 541 | $(OBJDIR)/markdown.o \ |
| @@ -771,10 +774,11 @@ | |
| 774 | $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h \ |
| 775 | $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h \ |
| 776 | $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h \ |
| 777 | $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h \ |
| 778 | $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h \ |
| 779 | $(OBJDIR)/loadctrl_.c:$(OBJDIR)/loadctrl.h \ |
| 780 | $(OBJDIR)/login_.c:$(OBJDIR)/login.h \ |
| 781 | $(OBJDIR)/lookslike_.c:$(OBJDIR)/lookslike.h \ |
| 782 | $(OBJDIR)/main_.c:$(OBJDIR)/main.h \ |
| 783 | $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h \ |
| 784 | $(OBJDIR)/markdown_.c:$(OBJDIR)/markdown.h \ |
| @@ -1265,10 +1269,18 @@ | |
| 1269 | |
| 1270 | $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h |
| 1271 | $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c |
| 1272 | |
| 1273 | $(OBJDIR)/leaf.h: $(OBJDIR)/headers |
| 1274 | |
| 1275 | $(OBJDIR)/loadctrl_.c: $(SRCDIR)/loadctrl.c $(OBJDIR)/translate |
| 1276 | $(TRANSLATE) $(SRCDIR)/loadctrl.c >$(OBJDIR)/loadctrl_.c |
| 1277 | |
| 1278 | $(OBJDIR)/loadctrl.o: $(OBJDIR)/loadctrl_.c $(OBJDIR)/loadctrl.h $(SRCDIR)/config.h |
| 1279 | $(XTCC) -o $(OBJDIR)/loadctrl.o -c $(OBJDIR)/loadctrl_.c |
| 1280 | |
| 1281 | $(OBJDIR)/loadctrl.h: $(OBJDIR)/headers |
| 1282 | |
| 1283 | $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate |
| 1284 | $(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c |
| 1285 | |
| 1286 | $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h |
| 1287 |
+10
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -160,10 +160,11 @@ | ||
| 160 | 160 | json_tag_.c \ |
| 161 | 161 | json_timeline_.c \ |
| 162 | 162 | json_user_.c \ |
| 163 | 163 | json_wiki_.c \ |
| 164 | 164 | leaf_.c \ |
| 165 | + loadctrl_.c \ | |
| 165 | 166 | login_.c \ |
| 166 | 167 | lookslike_.c \ |
| 167 | 168 | main_.c \ |
| 168 | 169 | manifest_.c \ |
| 169 | 170 | markdown_.c \ |
| @@ -270,10 +271,11 @@ | ||
| 270 | 271 | $(OX)\json_tag$O \ |
| 271 | 272 | $(OX)\json_timeline$O \ |
| 272 | 273 | $(OX)\json_user$O \ |
| 273 | 274 | $(OX)\json_wiki$O \ |
| 274 | 275 | $(OX)\leaf$O \ |
| 276 | + $(OX)\loadctrl$O \ | |
| 275 | 277 | $(OX)\login$O \ |
| 276 | 278 | $(OX)\lookslike$O \ |
| 277 | 279 | $(OX)\main$O \ |
| 278 | 280 | $(OX)\manifest$O \ |
| 279 | 281 | $(OX)\markdown$O \ |
| @@ -403,10 +405,11 @@ | ||
| 403 | 405 | echo $(OX)\json_tag.obj >> $@ |
| 404 | 406 | echo $(OX)\json_timeline.obj >> $@ |
| 405 | 407 | echo $(OX)\json_user.obj >> $@ |
| 406 | 408 | echo $(OX)\json_wiki.obj >> $@ |
| 407 | 409 | echo $(OX)\leaf.obj >> $@ |
| 410 | + echo $(OX)\loadctrl.obj >> $@ | |
| 408 | 411 | echo $(OX)\login.obj >> $@ |
| 409 | 412 | echo $(OX)\lookslike.obj >> $@ |
| 410 | 413 | echo $(OX)\main.obj >> $@ |
| 411 | 414 | echo $(OX)\manifest.obj >> $@ |
| 412 | 415 | echo $(OX)\markdown.obj >> $@ |
| @@ -864,10 +867,16 @@ | ||
| 864 | 867 | $(OX)\leaf$O : leaf_.c leaf.h |
| 865 | 868 | $(TCC) /Fo$@ -c leaf_.c |
| 866 | 869 | |
| 867 | 870 | leaf_.c : $(SRCDIR)\leaf.c |
| 868 | 871 | translate$E $** > $@ |
| 872 | + | |
| 873 | +$(OX)\loadctrl$O : loadctrl_.c loadctrl.h | |
| 874 | + $(TCC) /Fo$@ -c loadctrl_.c | |
| 875 | + | |
| 876 | +loadctrl_.c : $(SRCDIR)\loadctrl.c | |
| 877 | + translate$E $** > $@ | |
| 869 | 878 | |
| 870 | 879 | $(OX)\login$O : login_.c login.h |
| 871 | 880 | $(TCC) /Fo$@ -c login_.c |
| 872 | 881 | |
| 873 | 882 | login_.c : $(SRCDIR)\login.c |
| @@ -1247,10 +1256,11 @@ | ||
| 1247 | 1256 | json_tag_.c:json_tag.h \ |
| 1248 | 1257 | json_timeline_.c:json_timeline.h \ |
| 1249 | 1258 | json_user_.c:json_user.h \ |
| 1250 | 1259 | json_wiki_.c:json_wiki.h \ |
| 1251 | 1260 | leaf_.c:leaf.h \ |
| 1261 | + loadctrl_.c:loadctrl.h \ | |
| 1252 | 1262 | login_.c:login.h \ |
| 1253 | 1263 | lookslike_.c:lookslike.h \ |
| 1254 | 1264 | main_.c:main.h \ |
| 1255 | 1265 | manifest_.c:manifest.h \ |
| 1256 | 1266 | markdown_.c:markdown.h \ |
| 1257 | 1267 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -160,10 +160,11 @@ | |
| 160 | json_tag_.c \ |
| 161 | json_timeline_.c \ |
| 162 | json_user_.c \ |
| 163 | json_wiki_.c \ |
| 164 | leaf_.c \ |
| 165 | login_.c \ |
| 166 | lookslike_.c \ |
| 167 | main_.c \ |
| 168 | manifest_.c \ |
| 169 | markdown_.c \ |
| @@ -270,10 +271,11 @@ | |
| 270 | $(OX)\json_tag$O \ |
| 271 | $(OX)\json_timeline$O \ |
| 272 | $(OX)\json_user$O \ |
| 273 | $(OX)\json_wiki$O \ |
| 274 | $(OX)\leaf$O \ |
| 275 | $(OX)\login$O \ |
| 276 | $(OX)\lookslike$O \ |
| 277 | $(OX)\main$O \ |
| 278 | $(OX)\manifest$O \ |
| 279 | $(OX)\markdown$O \ |
| @@ -403,10 +405,11 @@ | |
| 403 | echo $(OX)\json_tag.obj >> $@ |
| 404 | echo $(OX)\json_timeline.obj >> $@ |
| 405 | echo $(OX)\json_user.obj >> $@ |
| 406 | echo $(OX)\json_wiki.obj >> $@ |
| 407 | echo $(OX)\leaf.obj >> $@ |
| 408 | echo $(OX)\login.obj >> $@ |
| 409 | echo $(OX)\lookslike.obj >> $@ |
| 410 | echo $(OX)\main.obj >> $@ |
| 411 | echo $(OX)\manifest.obj >> $@ |
| 412 | echo $(OX)\markdown.obj >> $@ |
| @@ -864,10 +867,16 @@ | |
| 864 | $(OX)\leaf$O : leaf_.c leaf.h |
| 865 | $(TCC) /Fo$@ -c leaf_.c |
| 866 | |
| 867 | leaf_.c : $(SRCDIR)\leaf.c |
| 868 | translate$E $** > $@ |
| 869 | |
| 870 | $(OX)\login$O : login_.c login.h |
| 871 | $(TCC) /Fo$@ -c login_.c |
| 872 | |
| 873 | login_.c : $(SRCDIR)\login.c |
| @@ -1247,10 +1256,11 @@ | |
| 1247 | json_tag_.c:json_tag.h \ |
| 1248 | json_timeline_.c:json_timeline.h \ |
| 1249 | json_user_.c:json_user.h \ |
| 1250 | json_wiki_.c:json_wiki.h \ |
| 1251 | leaf_.c:leaf.h \ |
| 1252 | login_.c:login.h \ |
| 1253 | lookslike_.c:lookslike.h \ |
| 1254 | main_.c:main.h \ |
| 1255 | manifest_.c:manifest.h \ |
| 1256 | markdown_.c:markdown.h \ |
| 1257 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -160,10 +160,11 @@ | |
| 160 | json_tag_.c \ |
| 161 | json_timeline_.c \ |
| 162 | json_user_.c \ |
| 163 | json_wiki_.c \ |
| 164 | leaf_.c \ |
| 165 | loadctrl_.c \ |
| 166 | login_.c \ |
| 167 | lookslike_.c \ |
| 168 | main_.c \ |
| 169 | manifest_.c \ |
| 170 | markdown_.c \ |
| @@ -270,10 +271,11 @@ | |
| 271 | $(OX)\json_tag$O \ |
| 272 | $(OX)\json_timeline$O \ |
| 273 | $(OX)\json_user$O \ |
| 274 | $(OX)\json_wiki$O \ |
| 275 | $(OX)\leaf$O \ |
| 276 | $(OX)\loadctrl$O \ |
| 277 | $(OX)\login$O \ |
| 278 | $(OX)\lookslike$O \ |
| 279 | $(OX)\main$O \ |
| 280 | $(OX)\manifest$O \ |
| 281 | $(OX)\markdown$O \ |
| @@ -403,10 +405,11 @@ | |
| 405 | echo $(OX)\json_tag.obj >> $@ |
| 406 | echo $(OX)\json_timeline.obj >> $@ |
| 407 | echo $(OX)\json_user.obj >> $@ |
| 408 | echo $(OX)\json_wiki.obj >> $@ |
| 409 | echo $(OX)\leaf.obj >> $@ |
| 410 | echo $(OX)\loadctrl.obj >> $@ |
| 411 | echo $(OX)\login.obj >> $@ |
| 412 | echo $(OX)\lookslike.obj >> $@ |
| 413 | echo $(OX)\main.obj >> $@ |
| 414 | echo $(OX)\manifest.obj >> $@ |
| 415 | echo $(OX)\markdown.obj >> $@ |
| @@ -864,10 +867,16 @@ | |
| 867 | $(OX)\leaf$O : leaf_.c leaf.h |
| 868 | $(TCC) /Fo$@ -c leaf_.c |
| 869 | |
| 870 | leaf_.c : $(SRCDIR)\leaf.c |
| 871 | translate$E $** > $@ |
| 872 | |
| 873 | $(OX)\loadctrl$O : loadctrl_.c loadctrl.h |
| 874 | $(TCC) /Fo$@ -c loadctrl_.c |
| 875 | |
| 876 | loadctrl_.c : $(SRCDIR)\loadctrl.c |
| 877 | translate$E $** > $@ |
| 878 | |
| 879 | $(OX)\login$O : login_.c login.h |
| 880 | $(TCC) /Fo$@ -c login_.c |
| 881 | |
| 882 | login_.c : $(SRCDIR)\login.c |
| @@ -1247,10 +1256,11 @@ | |
| 1256 | json_tag_.c:json_tag.h \ |
| 1257 | json_timeline_.c:json_timeline.h \ |
| 1258 | json_user_.c:json_user.h \ |
| 1259 | json_wiki_.c:json_wiki.h \ |
| 1260 | leaf_.c:leaf.h \ |
| 1261 | loadctrl_.c:loadctrl.h \ |
| 1262 | login_.c:login.h \ |
| 1263 | lookslike_.c:lookslike.h \ |
| 1264 | main_.c:main.h \ |
| 1265 | manifest_.c:manifest.h \ |
| 1266 | markdown_.c:markdown.h \ |
| 1267 |