| | @@ -52,10 +52,11 @@ |
| 52 | 52 | $(SRCDIR)/pqueue.c \ |
| 53 | 53 | $(SRCDIR)/printf.c \ |
| 54 | 54 | $(SRCDIR)/rebuild.c \ |
| 55 | 55 | $(SRCDIR)/report.c \ |
| 56 | 56 | $(SRCDIR)/rss.c \ |
| 57 | + $(SRCDIR)/rstats.c \ |
| 57 | 58 | $(SRCDIR)/schema.c \ |
| 58 | 59 | $(SRCDIR)/setup.c \ |
| 59 | 60 | $(SRCDIR)/sha1.c \ |
| 60 | 61 | $(SRCDIR)/shun.c \ |
| 61 | 62 | $(SRCDIR)/stat.c \ |
| | @@ -119,10 +120,11 @@ |
| 119 | 120 | pqueue_.c \ |
| 120 | 121 | printf_.c \ |
| 121 | 122 | rebuild_.c \ |
| 122 | 123 | report_.c \ |
| 123 | 124 | rss_.c \ |
| 125 | + rstats_.c \ |
| 124 | 126 | schema_.c \ |
| 125 | 127 | setup_.c \ |
| 126 | 128 | sha1_.c \ |
| 127 | 129 | shun_.c \ |
| 128 | 130 | stat_.c \ |
| | @@ -186,10 +188,11 @@ |
| 186 | 188 | pqueue.o \ |
| 187 | 189 | printf.o \ |
| 188 | 190 | rebuild.o \ |
| 189 | 191 | report.o \ |
| 190 | 192 | rss.o \ |
| 193 | + rstats.o \ |
| 191 | 194 | schema.o \ |
| 192 | 195 | setup.o \ |
| 193 | 196 | sha1.o \ |
| 194 | 197 | shun.o \ |
| 195 | 198 | stat.o \ |
| | @@ -252,16 +255,16 @@ |
| 252 | 255 | # noop |
| 253 | 256 | |
| 254 | 257 | clean: |
| 255 | 258 | rm -f *.o *_.c $(APPNAME) VERSION.h |
| 256 | 259 | rm -f translate makeheaders mkindex page_index.h headers |
| 257 | | - rm -f add.h admin.h allrepo.h bag.h blob.h branch.h browse.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h construct.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h http.h info.h login.h main.h manifest.h md5.h merge.h merge3.h my_page.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h setup.h sha1.h shun.h stat.h style.h sync.h tag.h tagview.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h |
| 260 | + rm -f add.h admin.h allrepo.h bag.h blob.h branch.h browse.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h construct.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h http.h info.h login.h main.h manifest.h md5.h merge.h merge3.h my_page.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h rstats.h schema.h setup.h sha1.h shun.h stat.h style.h sync.h tag.h tagview.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h |
| 258 | 261 | |
| 259 | 262 | page_index.h: $(TRANS_SRC) mkindex |
| 260 | 263 | ./mkindex $(TRANS_SRC) >$@ |
| 261 | 264 | headers: page_index.h makeheaders VERSION.h |
| 262 | | - ./makeheaders add_.c:add.h admin_.c:admin.h allrepo_.c:allrepo.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.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 construct_.c:construct.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 file_.c:file.h http_.c:http.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h my_page_.c:my_page.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tagview_.c:tagview.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h |
| 265 | + ./makeheaders add_.c:add.h admin_.c:admin.h allrepo_.c:allrepo.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.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 construct_.c:construct.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 file_.c:file.h http_.c:http.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h my_page_.c:my_page.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h rstats_.c:rstats.h schema_.c:schema.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tagview_.c:tagview.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h |
| 263 | 266 | touch headers |
| 264 | 267 | headers: Makefile |
| 265 | 268 | Makefile: |
| 266 | 269 | add_.c: $(SRCDIR)/add.c $(SRCDIR)/VERSION translate |
| 267 | 270 | ./translate $(SRCDIR)/add.c | sed -f $(SRCDIR)/VERSION >add_.c |
| | @@ -548,10 +551,17 @@ |
| 548 | 551 | |
| 549 | 552 | rss.o: rss_.c rss.h $(SRCDIR)/config.h |
| 550 | 553 | $(XTCC) -o rss.o -c rss_.c |
| 551 | 554 | |
| 552 | 555 | rss.h: headers |
| 556 | +rstats_.c: $(SRCDIR)/rstats.c $(SRCDIR)/VERSION translate |
| 557 | + ./translate $(SRCDIR)/rstats.c | sed -f $(SRCDIR)/VERSION >rstats_.c |
| 558 | + |
| 559 | +rstats.o: rstats_.c rstats.h $(SRCDIR)/config.h |
| 560 | + $(XTCC) -o rstats.o -c rstats_.c |
| 561 | + |
| 562 | +rstats.h: headers |
| 553 | 563 | schema_.c: $(SRCDIR)/schema.c $(SRCDIR)/VERSION translate |
| 554 | 564 | ./translate $(SRCDIR)/schema.c | sed -f $(SRCDIR)/VERSION >schema_.c |
| 555 | 565 | |
| 556 | 566 | schema.o: schema_.c schema.h $(SRCDIR)/config.h |
| 557 | 567 | $(XTCC) -o schema.o -c schema_.c |
| 558 | 568 | |