| | @@ -15,10 +15,11 @@ |
| 15 | 15 | SRC = \ |
| 16 | 16 | $(SRCDIR)/add.c \ |
| 17 | 17 | $(SRCDIR)/allrepo.c \ |
| 18 | 18 | $(SRCDIR)/attach.c \ |
| 19 | 19 | $(SRCDIR)/bag.c \ |
| 20 | + $(SRCDIR)/bisect.c \ |
| 20 | 21 | $(SRCDIR)/blob.c \ |
| 21 | 22 | $(SRCDIR)/branch.c \ |
| 22 | 23 | $(SRCDIR)/browse.c \ |
| 23 | 24 | $(SRCDIR)/captcha.c \ |
| 24 | 25 | $(SRCDIR)/cgi.c \ |
| | @@ -92,10 +93,11 @@ |
| 92 | 93 | TRANS_SRC = \ |
| 93 | 94 | add_.c \ |
| 94 | 95 | allrepo_.c \ |
| 95 | 96 | attach_.c \ |
| 96 | 97 | bag_.c \ |
| 98 | + bisect_.c \ |
| 97 | 99 | blob_.c \ |
| 98 | 100 | branch_.c \ |
| 99 | 101 | browse_.c \ |
| 100 | 102 | captcha_.c \ |
| 101 | 103 | cgi_.c \ |
| | @@ -169,10 +171,11 @@ |
| 169 | 171 | OBJ = \ |
| 170 | 172 | $(OBJDIR)/add.o \ |
| 171 | 173 | $(OBJDIR)/allrepo.o \ |
| 172 | 174 | $(OBJDIR)/attach.o \ |
| 173 | 175 | $(OBJDIR)/bag.o \ |
| 176 | + $(OBJDIR)/bisect.o \ |
| 174 | 177 | $(OBJDIR)/blob.o \ |
| 175 | 178 | $(OBJDIR)/branch.o \ |
| 176 | 179 | $(OBJDIR)/browse.o \ |
| 177 | 180 | $(OBJDIR)/captcha.o \ |
| 178 | 181 | $(OBJDIR)/cgi.o \ |
| | @@ -287,16 +290,16 @@ |
| 287 | 290 | # noop |
| 288 | 291 | |
| 289 | 292 | clean: |
| 290 | 293 | rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h |
| 291 | 294 | rm -f translate makeheaders mkindex page_index.h headers |
| 292 | | - rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h event.h export.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h import.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h popen.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h sqlcmd.h stat.h style.h sync.h tag.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 |
| 295 | + rm -f add.h allrepo.h attach.h bag.h bisect.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h event.h export.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h import.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h popen.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h sqlcmd.h stat.h style.h sync.h tag.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 |
| 293 | 296 | |
| 294 | 297 | page_index.h: $(TRANS_SRC) mkindex |
| 295 | 298 | ./mkindex $(TRANS_SRC) >$@ |
| 296 | 299 | headers: page_index.h makeheaders VERSION.h |
| 297 | | - ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.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 graph_.c:graph.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 login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h popen_.c:popen.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 search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h sqlcmd_.c:sqlcmd.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.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 |
| 300 | + ./makeheaders 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 graph_.c:graph.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 login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h popen_.c:popen.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 search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h sqlcmd_.c:sqlcmd.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.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 |
| 298 | 301 | touch headers |
| 299 | 302 | headers: Makefile |
| 300 | 303 | Makefile: |
| 301 | 304 | add_.c: $(SRCDIR)/add.c translate |
| 302 | 305 | ./translate $(SRCDIR)/add.c >add_.c |
| | @@ -324,10 +327,17 @@ |
| 324 | 327 | |
| 325 | 328 | $(OBJDIR)/bag.o: bag_.c bag.h $(SRCDIR)/config.h |
| 326 | 329 | $(XTCC) -o $(OBJDIR)/bag.o -c bag_.c |
| 327 | 330 | |
| 328 | 331 | bag.h: headers |
| 332 | +bisect_.c: $(SRCDIR)/bisect.c translate |
| 333 | + ./translate $(SRCDIR)/bisect.c >bisect_.c |
| 334 | + |
| 335 | +$(OBJDIR)/bisect.o: bisect_.c bisect.h $(SRCDIR)/config.h |
| 336 | + $(XTCC) -o $(OBJDIR)/bisect.o -c bisect_.c |
| 337 | + |
| 338 | +bisect.h: headers |
| 329 | 339 | blob_.c: $(SRCDIR)/blob.c translate |
| 330 | 340 | ./translate $(SRCDIR)/blob.c >blob_.c |
| 331 | 341 | |
| 332 | 342 | $(OBJDIR)/blob.o: blob_.c blob.h $(SRCDIR)/config.h |
| 333 | 343 | $(XTCC) -o $(OBJDIR)/blob.o -c blob_.c |
| 334 | 344 | |