Differences From:
File
src/main.mk
part of check-in
[cdbc3ab248]
- Moved new tcksetup.c into checkout dir before commit, added rstats
command to get stat page info from command line.
by
kejoki on
2008-12-14 22:54:52.
[view]
To:
File
src/main.mk
part of check-in
[737e76a69f]
- Refactor the HTTP client logic to make it much easier to add support for
"file:" and "https:" URLs on push, pull, sync, and clone.
by
drh on
2009-03-30 00:31:56.
[view]
@@ -38,8 +38,10 @@
$(SRCDIR)/doc.c \
$(SRCDIR)/encode.c \
$(SRCDIR)/file.c \
$(SRCDIR)/http.c \
+ $(SRCDIR)/http_socket.c \
+ $(SRCDIR)/http_transport.c \
$(SRCDIR)/info.c \
$(SRCDIR)/login.c \
$(SRCDIR)/main.c \
$(SRCDIR)/manifest.c \
@@ -106,8 +108,10 @@
doc_.c \
encode_.c \
file_.c \
http_.c \
+ http_socket_.c \
+ http_transport_.c \
info_.c \
login_.c \
main_.c \
manifest_.c \
@@ -174,8 +178,10 @@
doc.o \
encode.o \
file.o \
http.o \
+ http_socket.o \
+ http_transport.o \
info.o \
login.o \
main.o \
manifest.o \
@@ -256,14 +262,14 @@
clean:
rm -f *.o *_.c $(APPNAME) VERSION.h
rm -f translate makeheaders mkindex page_index.h headers
- 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
+ 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 http_socket.h http_transport.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
page_index.h: $(TRANS_SRC) mkindex
./mkindex $(TRANS_SRC) >$@
headers: page_index.h makeheaders VERSION.h
- ./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
+ ./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 http_socket_.c:http_socket.h http_transport_.c:http_transport.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
touch headers
headers: Makefile
Makefile:
add_.c: $(SRCDIR)/add.c $(SRCDIR)/VERSION translate
@@ -447,8 +453,22 @@
http.o: http_.c http.h $(SRCDIR)/config.h
$(XTCC) -o http.o -c http_.c
http.h: headers
+http_socket_.c: $(SRCDIR)/http_socket.c $(SRCDIR)/VERSION translate
+ ./translate $(SRCDIR)/http_socket.c | sed -f $(SRCDIR)/VERSION >http_socket_.c
+
+http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
+ $(XTCC) -o http_socket.o -c http_socket_.c
+
+http_socket.h: headers
+http_transport_.c: $(SRCDIR)/http_transport.c $(SRCDIR)/VERSION translate
+ ./translate $(SRCDIR)/http_transport.c | sed -f $(SRCDIR)/VERSION >http_transport_.c
+
+http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
+ $(XTCC) -o http_transport.o -c http_transport_.c
+
+http_transport.h: headers
info_.c: $(SRCDIR)/info.c $(SRCDIR)/VERSION translate
./translate $(SRCDIR)/info.c | sed -f $(SRCDIR)/VERSION >info_.c
info.o: info_.c info.h $(SRCDIR)/config.h